2018-05-18 20:10:55 +08:00
|
|
|
mainmenu "RT-Thread Configuration"
|
|
|
|
|
2019-01-16 23:23:38 +08:00
|
|
|
config BSP_DIR
|
2018-05-18 20:10:55 +08:00
|
|
|
string
|
|
|
|
option env="BSP_ROOT"
|
|
|
|
default "."
|
|
|
|
|
2019-01-16 23:23:38 +08:00
|
|
|
config RTT_DIR
|
2018-05-18 20:10:55 +08:00
|
|
|
string
|
|
|
|
option env="RTT_ROOT"
|
2019-01-16 23:30:52 +08:00
|
|
|
default "../.."
|
2023-01-09 10:14:23 +08:00
|
|
|
|
2018-05-18 20:10:55 +08:00
|
|
|
# you can change the RTT_ROOT default: "rt-thread"
|
|
|
|
# example : default "F:/git_repositories/rt-thread"
|
|
|
|
|
2019-01-16 23:23:38 +08:00
|
|
|
config PKGS_DIR
|
2018-05-18 20:10:55 +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_GD32450Z
|
2023-01-09 10:14:23 +08:00
|
|
|
bool
|
2019-09-11 12:06:43 +08:00
|
|
|
select RT_USING_COMPONENTS_INIT
|
|
|
|
select RT_USING_USER_MAIN
|
|
|
|
default y
|
|
|
|
|
2018-05-18 20:10:55 +08:00
|
|
|
config BSP_USING_SDRAM
|
|
|
|
bool "Using sdram"
|
2023-01-09 10:14:23 +08:00
|
|
|
default y
|
2018-05-18 20:10:55 +08:00
|
|
|
|
|
|
|
config BSP_USING_UART0
|
|
|
|
bool "using uart0"
|
|
|
|
select RT_USING_SERIAL
|
|
|
|
default n
|
|
|
|
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
|
2023-01-09 10:14:23 +08:00
|
|
|
default n
|