[kernel] format Kconfig

This commit is contained in:
Meco Man 2024-11-23 16:09:15 -05:00 committed by Rbb666
parent 8e10983c9b
commit fbcda2a788
1 changed files with 15 additions and 16 deletions

View File

@ -1,9 +1,8 @@
#include "rtconfig.h"
menu "RT-Thread Kernel"
config RT_NAME_MAX
int "The maximal size of kernel object name"
range 1 64
range 2 64
default 8
help
Each kernel object, such as thread, timer, semaphore etc, has a name,
@ -18,6 +17,13 @@ config RT_USING_ARCH_DATA_TYPE
Please re-define these data types in rtconfig_project.h file.
config RT_USING_NANO
bool "Enable RT-Thread Nano"
default n
help
RT-Thread Nano is a very small size and refined hard real-time kernel,
which is suited for the extremely resource-constrained MCU system.
config RT_USING_SMART
bool "Enable RT-Thread Smart (microkernel on kernel/userland)"
default n
@ -43,13 +49,6 @@ config RT_USING_SMART
help
RT-Thread Smart is a microkernel based operating system on RT-Thread.
config RT_USING_NANO
bool "Enable RT-Thread Nano"
default n
help
RT-Thread Nano with a very small size and refined hard real-time kernel,
which is very suited for the resource-constrained MCU system.
config RT_USING_AMP
bool "Enable AMP (Asymmetric Multi-Processing)"
default n
@ -115,6 +114,13 @@ config RT_TICK_PER_SECOND
help
System's tick frequency, Hz.
config RT_USING_OVERFLOW_CHECK
bool "Using stack overflow checking"
default y if RT_USING_DEBUG
help
Enable thread stack overflow checking. The stack overflow is checking when
each thread switch.
config RT_USING_HOOK
bool "Enable system hook"
default y
@ -348,13 +354,6 @@ menuconfig RT_USING_DEBUG
depends on RT_USING_SMP
default y if RT_USING_SMART
default n
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.
endif
config RT_USING_CI_ACTION