rt-thread-official/bsp/stm32/stm32f429-st-disco/board/Kconfig

116 lines
2.7 KiB
Plaintext
Raw Normal View History

menu "Hardware Drivers Config"
2020-08-08 16:12:25 +08:00
menu "Onboard Peripheral Drivers"
config BSP_USING_SDRAM
bool "Enable SDRAM"
select BSP_USING_FMC
default n
endmenu
menu "On-chip Peripheral Drivers"
2020-08-08 16:12:25 +08:00
config BSP_USING_GPIO
bool "Enable GPIO"
select RT_USING_PIN
default y
menuconfig BSP_USING_UART
bool "Enable UART"
default y
2020-08-08 16:12:25 +08:00
select RT_USING_SERIAL
if BSP_USING_UART
config BSP_USING_UART1
bool "Enable UART1"
default y
config BSP_UART1_RX_USING_DMA
bool "Enable UART1 RX DMA"
depends on BSP_USING_UART1 && RT_SERIAL_USING_DMA
default n
2020-08-08 16:12:25 +08:00
config BSP_USING_UART2
bool "Enable UART2"
default n
config BSP_UART2_RX_USING_DMA
bool "Enable UART2 RX DMA"
depends on BSP_USING_UART2 && RT_SERIAL_USING_DMA
default n
2023-01-09 10:14:23 +08:00
endif
2023-01-09 10:14:23 +08:00
menuconfig BSP_USING_I2C1
bool "Enable I2C1 BUS (software simulation)"
2020-08-08 16:12:25 +08:00
default n
select RT_USING_I2C
select RT_USING_I2C_BITOPS
select RT_USING_PIN
2020-08-08 16:12:25 +08:00
if BSP_USING_I2C1
config BSP_I2C1_SCL_PIN
int "I2C1 scl pin number"
range 1 176
default 24
config BSP_I2C1_SDA_PIN
int "I2C1 sda pin number"
range 1 176
default 25
endif
menuconfig BSP_USING_SPI
bool "Enable SPI BUS"
select RT_USING_SPI
default y
2023-01-09 10:14:23 +08:00
if BSP_USING_SPI
config BSP_USING_SPI3
bool "Enable SPI3 BUS"
2023-01-09 10:14:23 +08:00
default n
config BSP_SPI3_TX_USING_DMA
bool "Enable SPI3 TX DMA"
depends on BSP_USING_SPI3
default n
2023-01-09 10:14:23 +08:00
config BSP_SPI3_RX_USING_DMA
bool "Enable SPI3 RX DMA"
depends on BSP_USING_SPI3
select BSP_SPI3_TX_USING_DMA
2023-01-09 10:14:23 +08:00
default n
endif
2023-01-09 10:14:23 +08:00
config BSP_USING_QSPI
bool "Enable QSPI BUS"
select RT_USING_QSPI
select RT_USING_SPI
default n
config BSP_USING_FMC
bool "Enable FMC"
default n
config BSP_USING_USBD
bool "Enable OTGFS as USB device"
select RT_USING_USB_DEVICE
default n
2020-08-08 16:12:25 +08:00
config BSP_USING_LCD
bool "Enable LCD"
default n
config BSP_USING_LTDC
bool "Enable LTDC"
2020-08-08 16:12:25 +08:00
select BSP_USING_SDRAM
select BSP_USING_LCD
default n
2020-08-08 16:12:25 +08:00
source "$BSP_DIR/../libraries/HAL_Drivers/drivers/Kconfig"
2020-08-08 16:12:25 +08:00
endmenu
menu "Board extended module Drivers"
endmenu
2023-01-09 10:14:23 +08:00
endmenu