mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-20 10:43:32 +08:00
acc66c5479
- 为RT-Thread设计MPU抽象层,支持ARMV7-M,ARMV8-M架构,让用户使用MPU检测栈溢出等内存问题,实现线程内存隔离 - 在components/mp目录下提供通用的API,libcpu目录下提供各处理器架构的具体实现 - 在STM32U575 NUCLEO, STM32H75 NUCLEO开发板测试通过
41 lines
1.1 KiB
Plaintext
41 lines
1.1 KiB
Plaintext
menu "RT-Thread Components"
|
|
|
|
config RT_USING_COMPONENTS_INIT
|
|
bool
|
|
default n
|
|
|
|
config RT_USING_USER_MAIN
|
|
bool
|
|
default n
|
|
|
|
if RT_USING_USER_MAIN
|
|
config RT_MAIN_THREAD_STACK_SIZE
|
|
int "Set main thread stack size"
|
|
default 6144 if ARCH_CPU_64BIT
|
|
default 2048
|
|
|
|
config RT_MAIN_THREAD_PRIORITY
|
|
int "Set main thread priority"
|
|
default 4 if RT_THREAD_PRIORITY_8
|
|
default 10 if RT_THREAD_PRIORITY_32
|
|
default 85 if RT_THREAD_PRIORITY_256
|
|
endif
|
|
|
|
config RT_USING_LEGACY
|
|
bool "Support legacy version for compatibility"
|
|
default n
|
|
|
|
source "$RTT_DIR/components/finsh/Kconfig"
|
|
source "$RTT_DIR/components/dfs/Kconfig"
|
|
source "$RTT_DIR/components/fal/Kconfig"
|
|
source "$RTT_DIR/components/lwp/Kconfig"
|
|
source "$RTT_DIR/components/drivers/Kconfig"
|
|
source "$RTT_DIR/components/libc/Kconfig"
|
|
source "$RTT_DIR/components/net/Kconfig"
|
|
source "$RTT_DIR/components/utilities/Kconfig"
|
|
source "$RTT_DIR/components/vbus/Kconfig"
|
|
source "$RTT_DIR/components/mm/Kconfig"
|
|
source "$RTT_DIR/components/mprotect/Kconfig"
|
|
|
|
endmenu
|