Skip to content

Commit 264df6a

Browse files
committed
[kernel] format Kconfig
1 parent d9c16ef commit 264df6a

File tree

1 file changed

+15
-16
lines changed

1 file changed

+15
-16
lines changed

src/Kconfig

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
#include "rtconfig.h"
21
menu "RT-Thread Kernel"
32

43
config RT_NAME_MAX
54
int "The maximal size of kernel object name"
6-
range 1 64
5+
range 2 64
76
default 8
87
help
98
Each kernel object, such as thread, timer, semaphore etc, has a name,
@@ -18,6 +17,13 @@ config RT_USING_ARCH_DATA_TYPE
1817

1918
Please re-define these data types in rtconfig_project.h file.
2019

20+
config RT_USING_NANO
21+
bool "Enable RT-Thread Nano"
22+
default n
23+
help
24+
RT-Thread Nano is a very small size and refined hard real-time kernel,
25+
which is suited for the extremely resource-constrained MCU system.
26+
2127
config RT_USING_SMART
2228
bool "Enable RT-Thread Smart (microkernel on kernel/userland)"
2329
default n
@@ -43,13 +49,6 @@ config RT_USING_SMART
4349
help
4450
RT-Thread Smart is a microkernel based operating system on RT-Thread.
4551

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-
5352
config RT_USING_AMP
5453
bool "Enable AMP (Asymmetric Multi-Processing)"
5554
default n
@@ -115,6 +114,13 @@ config RT_TICK_PER_SECOND
115114
help
116115
System's tick frequency, Hz.
117116

117+
config RT_USING_OVERFLOW_CHECK
118+
bool "Using stack overflow checking"
119+
default y if RT_USING_DEBUG
120+
help
121+
Enable thread stack overflow checking. The stack overflow is checking when
122+
each thread switch.
123+
118124
config RT_USING_HOOK
119125
bool "Enable system hook"
120126
default y
@@ -259,13 +265,6 @@ menuconfig RT_USING_DEBUG
259265
depends on RT_USING_SMP
260266
default y if RT_USING_SMART
261267
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.
269268
endif
270269

271270
menu "Inter-Thread communication"

0 commit comments

Comments
 (0)