@@ -3,7 +3,7 @@ menu "RT-Thread Kernel"
33
44config RT_NAME_MAX
55 int "The maximal size of kernel object name"
6- range 1 64
6+ range 2 64
77 default 8
88 help
99 Each kernel object, such as thread, timer, semaphore etc, has a name,
@@ -18,6 +18,13 @@ config RT_USING_ARCH_DATA_TYPE
1818
1919 Please re-define these data types in rtconfig_project.h file.
2020
21+ config RT_USING_NANO
22+ bool "Enable RT-Thread Nano"
23+ default n
24+ help
25+ RT-Thread Nano is a very small size and refined hard real-time kernel,
26+ which is suited for the extremely resource-constrained MCU system.
27+
2128config RT_USING_SMART
2229 bool "Enable RT-Thread Smart (microkernel on kernel/userland)"
2330 default n
@@ -43,13 +50,6 @@ config RT_USING_SMART
4350 help
4451 RT-Thread Smart is a microkernel based operating system on RT-Thread.
4552
46- config RT_USING_NANO
47- bool "Enable RT-Thread Nano"
48- default n
49- help
50- RT-Thread Nano with a very small size and refined hard real-time kernel,
51- which is very suited for the resource-constrained MCU system.
52-
5353config RT_USING_AMP
5454 bool "Enable AMP (Asymmetric Multi-Processing)"
5555 default n
@@ -115,6 +115,13 @@ config RT_TICK_PER_SECOND
115115 help
116116 System's tick frequency, Hz.
117117
118+ config RT_USING_OVERFLOW_CHECK
119+ bool "Using stack overflow checking"
120+ default y if RT_USING_DEBUG
121+ help
122+ Enable thread stack overflow checking. The stack overflow is checking when
123+ each thread switch.
124+
118125config RT_USING_HOOK
119126 bool "Enable system hook"
120127 default y
@@ -259,13 +266,6 @@ menuconfig RT_USING_DEBUG
259266 depends on RT_USING_SMP
260267 default y if RT_USING_SMART
261268 default n
262-
263- config RT_USING_OVERFLOW_CHECK
264- bool "Using stack overflow checking"
265- default y
266- help
267- Enable thread stack overflow checking. The stack overflow is checking when
268- each thread switch.
269269 endif
270270
271271menu "Inter-Thread communication"
0 commit comments