[kernel] format Kconfig
This commit is contained in:
parent
8e10983c9b
commit
fbcda2a788
31
src/Kconfig
31
src/Kconfig
|
@ -1,9 +1,8 @@
|
||||||
#include "rtconfig.h"
|
|
||||||
menu "RT-Thread Kernel"
|
menu "RT-Thread Kernel"
|
||||||
|
|
||||||
config RT_NAME_MAX
|
config RT_NAME_MAX
|
||||||
int "The maximal size of kernel object name"
|
int "The maximal size of kernel object name"
|
||||||
range 1 64
|
range 2 64
|
||||||
default 8
|
default 8
|
||||||
help
|
help
|
||||||
Each kernel object, such as thread, timer, semaphore etc, has a name,
|
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.
|
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
|
config RT_USING_SMART
|
||||||
bool "Enable RT-Thread Smart (microkernel on kernel/userland)"
|
bool "Enable RT-Thread Smart (microkernel on kernel/userland)"
|
||||||
default n
|
default n
|
||||||
|
@ -43,13 +49,6 @@ config RT_USING_SMART
|
||||||
help
|
help
|
||||||
RT-Thread Smart is a microkernel based operating system on RT-Thread.
|
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
|
config RT_USING_AMP
|
||||||
bool "Enable AMP (Asymmetric Multi-Processing)"
|
bool "Enable AMP (Asymmetric Multi-Processing)"
|
||||||
default n
|
default n
|
||||||
|
@ -115,6 +114,13 @@ config RT_TICK_PER_SECOND
|
||||||
help
|
help
|
||||||
System's tick frequency, Hz.
|
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
|
config RT_USING_HOOK
|
||||||
bool "Enable system hook"
|
bool "Enable system hook"
|
||||||
default y
|
default y
|
||||||
|
@ -348,13 +354,6 @@ menuconfig RT_USING_DEBUG
|
||||||
depends on RT_USING_SMP
|
depends on RT_USING_SMP
|
||||||
default y if RT_USING_SMART
|
default y if RT_USING_SMART
|
||||||
default n
|
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
|
endif
|
||||||
|
|
||||||
config RT_USING_CI_ACTION
|
config RT_USING_CI_ACTION
|
||||||
|
|
Loading…
Reference in New Issue