summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2024-11-23 16:09:15 -0500
committerRbb666 <[email protected]>2024-11-24 11:30:58 +0800
commitfbcda2a7881a17aff4c6178cde1c886c3c5d55be (patch)
tree007c6b65a1d3787219d49cb269c0150360819061
parent8e10983c9b0dc5b634a06496e9a435049206cea2 (diff)
[kernel] format Kconfig
-rw-r--r--src/Kconfig31
1 files changed, 15 insertions, 16 deletions
diff --git a/src/Kconfig b/src/Kconfig
index ab3e55c1cf..34836d3383 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -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