2017-01-31 11:54:12 +08:00
|
|
|
menu "RT-Thread Components"
|
|
|
|
|
2017-06-06 18:18:44 +08:00
|
|
|
config RT_USING_COMPONENTS_INIT
|
2023-01-09 10:14:23 +08:00
|
|
|
bool
|
2019-09-11 12:03:37 +08:00
|
|
|
default n
|
2023-01-09 10:14:23 +08:00
|
|
|
|
2019-09-11 12:03:37 +08:00
|
|
|
config RT_USING_USER_MAIN
|
2023-01-09 10:14:23 +08:00
|
|
|
bool
|
2019-09-11 12:03:37 +08:00
|
|
|
default n
|
2023-01-09 10:14:23 +08:00
|
|
|
|
2018-02-24 17:02:38 +08:00
|
|
|
if RT_USING_USER_MAIN
|
|
|
|
config RT_MAIN_THREAD_STACK_SIZE
|
|
|
|
int "Set main thread stack size"
|
2022-04-09 00:40:36 +08:00
|
|
|
default 6144 if ARCH_CPU_64BIT
|
2018-02-24 17:02:38 +08:00
|
|
|
default 2048
|
2022-04-09 00:40:36 +08:00
|
|
|
|
2018-07-31 17:05:01 +08:00
|
|
|
config RT_MAIN_THREAD_PRIORITY
|
2023-01-09 10:14:23 +08:00
|
|
|
int "Set main thread priority"
|
2023-04-04 15:02:56 +08:00
|
|
|
default 4 if RT_THREAD_PRIORITY_8
|
2018-07-31 17:05:01 +08:00
|
|
|
default 10 if RT_THREAD_PRIORITY_32
|
|
|
|
default 85 if RT_THREAD_PRIORITY_256
|
2018-02-24 17:02:38 +08:00
|
|
|
endif
|
2017-06-06 18:18:44 +08:00
|
|
|
|
2021-11-15 02:04:03 +08:00
|
|
|
config RT_USING_LEGACY
|
|
|
|
bool "Support legacy version for compatibility"
|
|
|
|
default n
|
|
|
|
|
2023-11-30 18:55:35 +08:00
|
|
|
if RT_USING_CONSOLE
|
2017-11-30 20:12:53 +08:00
|
|
|
source "$RTT_DIR/components/finsh/Kconfig"
|
2023-11-30 18:55:35 +08:00
|
|
|
endif
|
2023-11-27 00:15:36 +08:00
|
|
|
|
|
|
|
if !RT_USING_NANO
|
2017-11-30 20:12:53 +08:00
|
|
|
source "$RTT_DIR/components/dfs/Kconfig"
|
2022-03-25 23:07:18 +08:00
|
|
|
source "$RTT_DIR/components/fal/Kconfig"
|
2017-11-30 20:12:53 +08:00
|
|
|
source "$RTT_DIR/components/drivers/Kconfig"
|
|
|
|
source "$RTT_DIR/components/libc/Kconfig"
|
|
|
|
source "$RTT_DIR/components/net/Kconfig"
|
2023-11-30 22:00:00 +08:00
|
|
|
source "$RTT_DIR/components/mprotect/Kconfig"
|
2017-12-02 23:16:45 +08:00
|
|
|
source "$RTT_DIR/components/utilities/Kconfig"
|
2022-03-25 23:07:18 +08:00
|
|
|
source "$RTT_DIR/components/vbus/Kconfig"
|
2023-11-27 00:15:36 +08:00
|
|
|
endif
|
|
|
|
|
|
|
|
if RT_USING_SMART
|
|
|
|
source "$RTT_DIR/components/lwp/Kconfig"
|
2023-10-14 14:10:57 +08:00
|
|
|
source "$RTT_DIR/components/mm/Kconfig"
|
2023-11-27 00:15:36 +08:00
|
|
|
endif
|
2024-06-02 11:20:13 +08:00
|
|
|
|
|
|
|
source "$RTT_DIR/components/legacy/Kconfig"
|
|
|
|
|
2017-01-31 11:54:12 +08:00
|
|
|
endmenu
|