Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
BaiXuePrincess
rt-thread
提交
21cf0919
R
rt-thread
项目概览
BaiXuePrincess
/
rt-thread
与 Fork 源项目一致
Fork自
RT-Thread / rt-thread
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
rt-thread
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
21cf0919
编写于
11月 13, 2017
作者:
B
bernard
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[Kernel] Update Kconfig to fix memory heap option.
上级
3815ece6
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
45 addition
and
14 deletion
+45
-14
src/KConfig
src/KConfig
+45
-14
未找到文件。
src/KConfig
浏览文件 @
21cf0919
...
...
@@ -5,7 +5,8 @@ config RT_NAME_MAX
range 2 32
default 8
help
Each kernel object, such as thread, timer, semaphore etc, has a name, the RT_NAME_MAX is the maximal size of this object name.
Each kernel object, such as thread, timer, semaphore etc, has a name,
the RT_NAME_MAX is the maximal size of this object name.
config RT_ALIGN_SIZE
int "Alignment size for CPU architecture data access"
...
...
@@ -13,10 +14,25 @@ config RT_ALIGN_SIZE
help
Alignment size for CPU architecture data access
choice
prompt "The maximal level value of priority of thread"
default RT_THREAD_PRIORITY_32
config RT_THREAD_PRIORITY_8
bool "8"
config RT_THREAD_PRIORITY_32
bool "32"
config RT_THREAD_PRIORITY_256
bool "256"
endchoice
config RT_THREAD_PRIORITY_MAX
int "The maximal level value of priority of thread"
range 8 256
default 32
int
default 8 if RT_THREAD_PRIORITY_8
default 32 if RT_THREAD_PRIORITY_32
default 256 if RT_THREAD_PRIORITY_256
config RT_TICK_PER_SECOND
int "Tick frequency, Hz"
...
...
@@ -35,7 +51,8 @@ config RT_USING_OVERFLOW_CHECK
bool "Using stack overflow checking"
default y
help
Enable thread stack overflow checking. The stack overflow is checking when each thread switch.
Enable thread stack overflow checking. The stack overflow is checking when
each thread switch.
config RT_DEBUG_INIT
int "Enable system initialization informat print"
...
...
@@ -55,7 +72,8 @@ config RT_USING_HOOK
bool "Enable system hook"
default y
help
Enable the hook function when system running, such as idle thread hook, thread context switch etc.
Enable the hook function when system running, such as idle thread hook,
thread context switch etc.
config IDLE_THREAD_STACK_SIZE
int "The stack size of idle thread"
...
...
@@ -65,7 +83,8 @@ config RT_USING_TIMER_SOFT
bool "Enable software timer with a timer thread"
default n
help
the timeout function context of soft-timer is under a high priority timer thread.
the timeout function context of soft-timer is under a high priority timer
thread.
if RT_USING_TIMER_SOFT
config RT_TIMER_THREAD_PRIO
...
...
@@ -123,19 +142,31 @@ menu "Memory Management"
help
Using memory heap object to manage dynamic memory heap.
c
onfig RT_USING_HEAP
bool "Using dynamic memory m
anagement"
default
y
c
hoice
prompt "Dynamic Memory M
anagement"
default
RT_USING_SMALL_MEM
if RT_USING_HEAP
config RT_USING_NOHEAP
bool "Disable Heap"
config RT_USING_SMALL_MEM
bool "
The memory management for small memory
"
bool "
Small Memory Algorithm
"
config RT_USING_SLAB
bool "
Using SLAB memory management
for large memory"
bool "
SLAB Algorithm
for large memory"
endif
if RT_USING_MEMHEAP
config RT_USING_MEMHEAP_AS_HEAP
bool "Use all of memheap objects as heap"
endif
endchoice
config RT_USING_HEAP
bool
default n if RT_USING_NOHEAP
default y if RT_USING_SMALL_MEM
default y if RT_USING_SLAB
default y if RT_USING_MEMHEAP_AS_HEAP
endmenu
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录