Skip to content

Commit fbcda2a

Browse files
mysterywolfRbb666
authored andcommitted
[kernel] format Kconfig
1 parent 8e10983 commit fbcda2a

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
@@ -348,13 +354,6 @@ menuconfig RT_USING_DEBUG
348354
depends on RT_USING_SMP
349355
default y if RT_USING_SMART
350356
default n
351-
352-
config RT_USING_OVERFLOW_CHECK
353-
bool "Using stack overflow checking"
354-
default y
355-
help
356-
Enable thread stack overflow checking. The stack overflow is checking when
357-
each thread switch.
358357
endif
359358

360359
config RT_USING_CI_ACTION

0 commit comments

Comments
 (0)