2017-11-20 19:37:05 +08:00
|
|
|
mainmenu "RT-Thread Configuration"
|
|
|
|
|
|
|
|
config $BSP_DIR
|
|
|
|
string
|
|
|
|
option env="BSP_ROOT"
|
|
|
|
default "."
|
|
|
|
|
|
|
|
config $RTT_DIR
|
|
|
|
string
|
|
|
|
option env="RTT_ROOT"
|
|
|
|
default: "rt-thread"
|
|
|
|
|
|
|
|
# you can change the RTT_ROOT default: "rt-thread"
|
|
|
|
# example : default "F:/git_repositories/rt-thread"
|
|
|
|
|
|
|
|
config $PKGS_DIR
|
|
|
|
string
|
|
|
|
option env="PKGS_ROOT"
|
|
|
|
default "packages"
|
|
|
|
|
2017-11-30 20:12:53 +08:00
|
|
|
source "$RTT_DIR/Kconfig"
|
|
|
|
source "$PKGS_DIR/Kconfig"
|
2018-05-16 23:58:59 +08:00
|
|
|
|
|
|
|
config BSP_USING_UART1
|
|
|
|
bool "using uart1"
|
|
|
|
select RT_USING_SERIAL
|
|
|
|
default n
|
|
|
|
config BSP_USING_UART2
|
|
|
|
bool "using uart2"
|
|
|
|
select RT_USING_SERIAL
|
|
|
|
default y
|
|
|
|
config BSP_USING_UART3
|
|
|
|
bool "using uart3"
|
|
|
|
select RT_USING_SERIAL
|
|
|
|
default n
|
|
|
|
config BSP_USING_UART4
|
|
|
|
bool "using uart4"
|
|
|
|
select RT_USING_SERIAL
|
|
|
|
default n
|
|
|
|
config BSP_USING_UART5
|
|
|
|
bool "using uart5"
|
|
|
|
select RT_USING_SERIAL
|
|
|
|
default n
|
|
|
|
config BSP_USING_LPUART1
|
|
|
|
bool "using lpuart1"
|
|
|
|
select RT_USING_SERIAL
|
|
|
|
default n
|