2020-04-05 13:29:29 +08:00
|
|
|
mainmenu "RT-Thread Configuration"
|
|
|
|
|
|
|
|
config BSP_DIR
|
|
|
|
string
|
|
|
|
option env="BSP_ROOT"
|
|
|
|
default "."
|
|
|
|
|
|
|
|
config RTT_DIR
|
|
|
|
string
|
|
|
|
option env="RTT_ROOT"
|
2022-03-29 17:36:01 +08:00
|
|
|
default "../../.."
|
2020-04-05 13:29:29 +08:00
|
|
|
|
2022-03-29 17:36:01 +08:00
|
|
|
# you can change the RTT_ROOT default "../../.." to your rtthread_root,
|
2020-04-05 13:29:29 +08:00
|
|
|
# example : default "F:/git_repositories/rt-thread"
|
|
|
|
|
|
|
|
config PKGS_DIR
|
|
|
|
string
|
|
|
|
option env="PKGS_ROOT"
|
|
|
|
default "packages"
|
|
|
|
|
|
|
|
source "$RTT_DIR/Kconfig"
|
|
|
|
source "$RTT_DIR/libcpu/mips/common/Kconfig"
|
|
|
|
source "$PKGS_DIR/Kconfig"
|
|
|
|
|
|
|
|
config SOC_LS2K1000
|
|
|
|
bool
|
|
|
|
select ARCH_MIPS64
|
|
|
|
select RT_USING_COMPONENTS_INIT
|
|
|
|
select RT_USING_USER_MAIN
|
|
|
|
select RT_USING_DEVICE
|
|
|
|
default y
|
2021-01-31 23:03:16 +08:00
|
|
|
|
|
|
|
if RT_USING_SERIAL
|
|
|
|
config RT_USING_UART0
|
|
|
|
bool "Using RT_USING_UART0"
|
|
|
|
default y
|
|
|
|
|
|
|
|
config RT_USING_UART4
|
|
|
|
bool "Using RT_USING_UART4"
|
|
|
|
default y
|
|
|
|
endif
|