2018-06-05 14:36:29 +08:00
|
|
|
mainmenu "RT-Thread Configuration"
|
|
|
|
|
2019-01-16 23:23:38 +08:00
|
|
|
config BSP_DIR
|
2018-06-05 14:36:29 +08:00
|
|
|
string
|
|
|
|
option env="BSP_ROOT"
|
|
|
|
default "."
|
|
|
|
|
2019-01-16 23:23:38 +08:00
|
|
|
config RTT_DIR
|
2018-06-05 14:36:29 +08:00
|
|
|
string
|
|
|
|
option env="RTT_ROOT"
|
|
|
|
default "../.."
|
|
|
|
|
|
|
|
# you can change the RTT_ROOT default "../.." to your rtthread_root,
|
|
|
|
# example : default "F:/git_repositories/rt-thread"
|
|
|
|
|
2019-01-16 23:23:38 +08:00
|
|
|
config PKGS_DIR
|
2018-06-05 14:36:29 +08:00
|
|
|
string
|
|
|
|
option env="PKGS_ROOT"
|
|
|
|
default "packages"
|
|
|
|
|
|
|
|
source "$RTT_DIR/Kconfig"
|
|
|
|
source "$PKGS_DIR/Kconfig"
|
|
|
|
|
2019-09-11 12:06:43 +08:00
|
|
|
config SOC_CK802
|
|
|
|
bool
|
|
|
|
select RT_USING_COMPONENTS_INIT
|
|
|
|
select RT_USING_USER_MAIN
|
|
|
|
default y
|
|
|
|
|
2018-06-05 14:36:29 +08:00
|
|
|
if RT_USING_SERIAL
|
|
|
|
|
|
|
|
config RT_USING_UART1
|
|
|
|
bool "Using uart1"
|
2023-01-09 10:14:23 +08:00
|
|
|
default y
|
2018-06-05 14:36:29 +08:00
|
|
|
|
|
|
|
endif
|