summaryrefslogtreecommitdiff
path: root/src/Kconfig
diff options
context:
space:
mode:
authorMan, Jianting (Meco) <[email protected]>2023-07-21 22:36:42 -0400
committerGitHub <[email protected]>2023-07-22 10:36:42 +0800
commit244b903e5def3cd4aefc4bf2ebdc4687826e2f4d (patch)
tree8bbed859a1b5c38a449b9e2c6a35d3026eeecaef /src/Kconfig
parent52d3637fba5e3e4048ba036803d6292f3e7a4a70 (diff)
[debug] 整理debug宏并增加RT_DEBUGING_CONTEXT (#7805)
Diffstat (limited to 'src/Kconfig')
-rw-r--r--src/Kconfig46
1 files changed, 23 insertions, 23 deletions
diff --git a/src/Kconfig b/src/Kconfig
index b869559952..28e54fc711 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -198,28 +198,29 @@ menu "kservice optimization"
endmenu
-menuconfig RT_DEBUG
+menuconfig RT_USING_DEBUG
bool "Enable debugging features"
default y
-if RT_DEBUG
+ if RT_USING_DEBUG
+ config RT_DEBUGING_COLOR
+ bool "Enable color debugging log"
+ default y
- config RT_DEBUG_COLOR
- bool "Enable color debugging log"
- default n
+ config RT_DEBUGING_CONTEXT
+ bool "Enable debugging of environment and context check"
+ default y
- config RT_DEBUG_INIT
- bool "Enable debugging of components initialization"
- default n
+ config RT_DEBUGING_INIT
+ bool "Enable debugging of components initialization"
+ default y
- if ARCH_MM_MMU
- config RT_DEBUG_PAGE_LEAK
+ config RT_DEBUGING_PAGE_LEAK
bool "Enable page leaking tracer"
+ depends on ARCH_MM_MMU
default n
endif
-endif
-
menu "Inter-Thread communication"
config RT_USING_SEMAPHORE
@@ -260,17 +261,16 @@ endmenu
menu "Memory Management"
- if ARCH_MM_MMU
- config RT_PAGE_MAX_ORDER
- int "Max order of pages allocatable by page allocator"
- default 11
- help
- For example, A value of 11 means the maximum chunk of contiguous memory
- allocatable by page system is 2^(11 + ARCH_PAGE_BITS - 1) Bytes.
- Large memory requirement can consume all system resource, and should
- consider reserved memory instead to enhance system endurance.
- Max order should at least satisfied usage by huge page.
- endif
+ config RT_PAGE_MAX_ORDER
+ int "Max order of pages allocatable by page allocator"
+ default 11
+ depends on ARCH_MM_MMU
+ help
+ For example, A value of 11 means the maximum chunk of contiguous memory
+ allocatable by page system is 2^(11 + ARCH_PAGE_BITS - 1) Bytes.
+ Large memory requirement can consume all system resource, and should
+ consider reserved memory instead to enhance system endurance.
+ Max order should at least satisfied usage by huge page.
config RT_USING_MEMPOOL
bool "Using memory pool"