rtt-f030/bsp/ls1cdev/kconfig

79 lines
1.3 KiB
Plaintext
Raw Normal View History

2018-02-09 09:25:20 +08:00
mainmenu "RT-Thread Configuration"
2018-03-17 19:15:47 +08:00
2018-02-09 09:25:20 +08:00
config $BSP_DIR
string
option env="BSP_ROOT"
default "."
config $RTT_DIR
string
option env="RTT_ROOT"
2018-02-09 10:02:25 +08:00
default "../.."
2018-03-17 19:15:47 +08:00
2018-02-09 09:25:20 +08:00
config $PKGS_DIR
string
option env="PKGS_ROOT"
default "packages"
source "$RTT_DIR/KConfig"
source "$PKGS_DIR/KConfig"
2018-03-17 19:15:47 +08:00
if RT_USING_SERIAL
2018-02-09 09:25:20 +08:00
config RT_USING_UART2
bool "Using RT_USING_UART2"
default y
config RT_UART_RX_BUFFER_SIZE
int "The rx buffer size"
2018-03-17 19:15:47 +08:00
default 64 if RT_USING_SERIAL
2018-02-09 09:25:20 +08:00
default 64
endif
config RT_USING_GMAC_INT_MODE
bool "Using RT_USING_GMAC_INT_MODE"
default y
config RT_USING_FPU
bool "Using RT_USING_FPU"
default y
config RT_USING_SPI0
2018-03-17 19:15:47 +08:00
bool "Enable SPI0"
2018-02-09 09:25:20 +08:00
select RT_USING_SPI
default y
config RT_USING_SPI1
2018-03-17 19:15:47 +08:00
bool "Enable SPI1"
2018-02-09 09:25:20 +08:00
select RT_USING_SPI
default y
2018-03-17 19:15:47 +08:00
if RT_USING_I2C
2018-02-09 09:25:20 +08:00
config RT_USING_I2C1
2018-03-17 19:15:47 +08:00
bool "Enable I2C1"
default y
2018-02-09 09:25:20 +08:00
config RT_USING_I2C2
2018-03-17 19:15:47 +08:00
bool "Enable I2C2"
default y
endif
2018-02-09 09:25:20 +08:00
2018-03-17 19:15:47 +08:00
2018-02-09 09:25:20 +08:00
config USING_BXCAN0
2018-03-17 19:15:47 +08:00
bool "Enable CAN0"
2018-02-09 09:25:20 +08:00
select RT_USING_CAN
default y
config USING_BXCAN1
2018-03-17 19:15:47 +08:00
bool "Enable CAN1"
2018-02-09 09:25:20 +08:00
select RT_USING_CAN
default y
2018-03-17 19:15:47 +08:00
if RT_USING_CAN
config RT_CAN_USING_HDR
bool "Using RT_CAN_USING_HDR"
select RT_USING_CAN
default y
endif
2018-02-09 09:25:20 +08:00