Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
BaiXuePrincess
rt-thread
提交
39d02361
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看板
提交
39d02361
编写于
7月 17, 2018
作者:
L
liang yongxiang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[kernel] add all RT_DEBUG_* options macro to menuconfig
上级
ec0e5489
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
97 addition
and
29 deletion
+97
-29
src/Kconfig
src/Kconfig
+97
-29
未找到文件。
src/Kconfig
浏览文件 @
39d02361
...
...
@@ -4,8 +4,8 @@ config RT_NAME_MAX
int "The maximal size of kernel object name"
range 2 32
default 8
help
Each kernel object, such as thread, timer, semaphore etc, has a name,
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.
config RT_ALIGN_SIZE
...
...
@@ -14,7 +14,7 @@ config RT_ALIGN_SIZE
help
Alignment size for CPU architecture data access
choice
choice
prompt "The maximal level value of priority of thread"
default RT_THREAD_PRIORITY_32
...
...
@@ -41,38 +41,18 @@ config RT_TICK_PER_SECOND
help
System's tick frequency, Hz.
config RT_DEBUG
bool "Enable debug features"
default y
if RT_DEBUG
config RT_USING_OVERFLOW_CHECK
bool "Using stack overflow checking"
default y
help
Enable thread stack overflow checking. The stack overflow is checking when
Enable thread stack overflow checking. The stack overflow is checking when
each thread switch.
config RT_DEBUG_INIT
int "Enable system initialization informat print"
default 0
help
print the procedure name of initialization
config RT_DEBUG_THREAD
int "Enable thread switch information dump"
default 0
help
print the switch to/from thread name when each thread context switch
endif
config RT_USING_HOOK
bool "Enable system hook"
default y
help
Enable the hook function when system running, such as idle thread hook,
Enable the hook function when system running, such as idle thread hook,
thread context switch etc.
if RT_USING_HOOK
...
...
@@ -92,7 +72,7 @@ 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
the timeout function context of soft-timer is under a high priority timer
thread.
if RT_USING_TIMER_SOFT
...
...
@@ -106,6 +86,94 @@ config RT_TIMER_THREAD_STACK_SIZE
endif
menuconfig RT_DEBUG
bool "Enable debugging features"
default y
if RT_DEBUG
config RT_DEBUG_INIT_CONFIG
bool "Enable debugging of components initialization"
default n
config RT_DEBUG_INIT
int
default 1 if RT_DEBUG_INIT_CONFIG
config RT_DEBUG_THREAD_CONFIG
bool "Enable debugging of Thread State Changes"
default n
config RT_DEBUG_THREAD
int
default 1 if RT_DEBUG_THREAD_CONFIG
config RT_DEBUG_SCHEDULER_CONFIG
bool "Enable debugging of Scheduler"
default n
config RT_DEBUG_SCHEDULER
int
default 1 if RT_DEBUG_SCHEDULER_CONFIG
config RT_DEBUG_IPC_CONFIG
bool "Enable debugging of IPC"
default n
config RT_DEBUG_IPC
int
default 1 if RT_DEBUG_IPC_CONFIG
config RT_DEBUG_TIMER_CONFIG
bool "Enable debugging of Timer"
default n
config RT_DEBUG_TIMER
int
default 1 if RT_DEBUG_TIMER_CONFIG
config RT_DEBUG_IRQ_CONFIG
bool "Enable debugging of IRQ(Interrupt Request)"
default n
config RT_DEBUG_IRQ
int
default 1 if RT_DEBUG_IRQ_CONFIG
config RT_DEBUG_MEM_CONFIG
bool "Enable debugging of Small Memory Algorithm"
default n
config RT_DEBUG_MEM
int
default 1 if RT_DEBUG_MEM_CONFIG
config RT_DEBUG_SLAB_CONFIG
bool "Enable debugging of SLAB Memory Algorithm"
default n
config RT_DEBUG_SLAB
int
default 1 if RT_DEBUG_SLAB_CONFIG
config RT_DEBUG_MEMHEAP_CONFIG
bool "Enable debugging of Memory Heap Algorithm"
default n
config RT_DEBUG_MEMHEAP
int
default 1 if RT_DEBUG_MEMHEAP_CONFIG
config RT_DEBUG_MODULE_CONFIG
bool "Enable debugging of Application Module"
default n
config RT_DEBUG_MODULE
int
default 1 if RT_DEBUG_MODULE_CONFIG
endif
menu "Inter-Thread communication"
config RT_USING_SEMAPHORE
...
...
@@ -133,7 +201,7 @@ config RT_USING_SIGNALS
select RT_USING_MEMPOOL
default n
help
A signal is an asynchronous notification sent to a specific thread
A signal is an asynchronous notification sent to a specific thread
in order to notify it of an event that occurred.
endmenu
...
...
@@ -151,7 +219,7 @@ menu "Memory Management"
help
Using memory heap object to manage dynamic memory heap.
choice
choice
prompt "Dynamic Memory Management"
default RT_USING_SMALL_MEM
...
...
@@ -187,7 +255,7 @@ menu "Memory Management"
endif
config RT_USING_HEAP
bool
bool
default n if RT_USING_NOHEAP
default y if RT_USING_SMALL_MEM
default y if RT_USING_SLAB
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录