rt-thread-official/bsp/gd32303e-eval/Kconfig

85 lines
1.4 KiB
Plaintext
Raw Normal View History

2018-05-21 11:13:46 +08:00
mainmenu "RT-Thread Configuration"
2019-01-16 23:23:38 +08:00
config BSP_DIR
2018-05-21 11:13:46 +08:00
string
option env="BSP_ROOT"
default "."
2019-01-16 23:23:38 +08:00
config RTT_DIR
2018-05-21 11:13:46 +08:00
string
option env="RTT_ROOT"
default "../.."
2019-01-16 23:23:38 +08:00
config PKGS_DIR
2018-05-21 11:13:46 +08:00
string
option env="PKGS_ROOT"
default "packages"
source "$RTT_DIR/Kconfig"
source "$PKGS_DIR/Kconfig"
config SOC_GD32303E
bool
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
default y
2018-05-21 11:13:46 +08:00
config RT_USING_USART0
bool "Using USART0"
select RT_USING_SERIAL
default y
config RT_USING_USART1
bool "Using USART1"
select RT_USING_SERIAL
default n
config RT_USING_USART2
bool "Using USART2"
select RT_USING_SERIAL
default n
config RT_USING_UART3
bool "Using UART3"
select RT_USING_SERIAL
default n
config RT_USING_UART4
bool "Using UART4"
select RT_USING_SERIAL
default n
config RT_USING_SPI0
bool "Using SPI0"
select RT_USING_SPI
default y
config RT_USING_SPI1
bool "Using SPI1"
select RT_USING_SPI
default n
config RT_USING_SPI2
bool "Using SPI2"
select RT_USING_SPI
default n
config RT_USING_SPI3
bool "Using SPI2 BUS (software simulation)"
select RT_USING_SPI
select RT_USING_SPI_BITOPS
default n
2018-05-21 11:13:46 +08:00
config RT_USING_I2C0
bool "Using I2C0"
select RT_USING_I2C
default n
config RT_USING_I2C1
bool "Using I2C1"
select RT_USING_I2C
default n