2019-04-09 16:52:59 +08:00
|
|
|
menu "Hardware Drivers Config"
|
|
|
|
|
|
|
|
config SOC_STM32F469NI
|
|
|
|
bool
|
|
|
|
select SOC_SERIES_STM32F4
|
|
|
|
default y
|
|
|
|
|
|
|
|
menu "Onboard Peripheral Drivers"
|
2019-04-11 10:24:43 +08:00
|
|
|
config BSP_USING_SDRAM
|
2019-04-11 11:21:41 +08:00
|
|
|
bool "Enable SDRAM"
|
|
|
|
select BSP_USING_FMC
|
|
|
|
default n
|
2019-04-22 16:03:03 +08:00
|
|
|
|
|
|
|
config BSP_USING_LCD_OTM8009A
|
|
|
|
bool "Enable LCD OTM8009A"
|
|
|
|
select BSP_USING_SDRAM
|
|
|
|
select BSP_USING_LTDC
|
|
|
|
default n
|
|
|
|
|
2019-04-11 10:24:43 +08:00
|
|
|
config BSP_USING_QSPI_FLASH
|
|
|
|
bool "Enable QSPI FLASH (N25Q128A qspi1)"
|
|
|
|
select BSP_USING_QSPI
|
|
|
|
select RT_USING_SFUD
|
|
|
|
select RT_SFUD_USING_QSPI
|
|
|
|
select PKG_USING_FAL
|
|
|
|
select FAL_USING_SFUD_PORT
|
|
|
|
default n
|
2019-04-22 16:03:03 +08:00
|
|
|
|
2019-04-26 14:52:53 +08:00
|
|
|
config BSP_MOUNT_QSPI_WITH_LFS
|
|
|
|
bool "Mount QSPI flash to / with little fs"
|
|
|
|
depends on BSP_USING_QSPI_FLASH
|
|
|
|
select PKG_USING_LITTLEFS
|
|
|
|
select RT_USING_MTD_NOR
|
|
|
|
select RT_USING_DFS
|
|
|
|
default y
|
|
|
|
|
|
|
|
config BSP_USING_SDCARD
|
|
|
|
bool "Enable SDCARD (sdio)"
|
|
|
|
select BSP_USING_SDIO
|
|
|
|
select RT_USING_DFS
|
|
|
|
select RT_USING_DFS_ELMFAT
|
|
|
|
select RT_USING_PIN
|
|
|
|
default n
|
|
|
|
|
2019-04-23 18:16:06 +08:00
|
|
|
config BSP_USING_TOUCH
|
|
|
|
bool "Enable TOUCH"
|
|
|
|
select BSP_USING_I2C1
|
|
|
|
default n
|
|
|
|
if BSP_USING_TOUCH
|
|
|
|
config BSP_TOUCH_INT_PIN
|
|
|
|
int "Touch interrupt pin"
|
|
|
|
default 149
|
|
|
|
config BSP_I2C_NAME
|
|
|
|
string "I2C Bus Name"
|
|
|
|
default "i2c1"
|
|
|
|
endif
|
2019-04-09 16:52:59 +08:00
|
|
|
endmenu
|
|
|
|
|
|
|
|
menu "On-chip Peripheral Drivers"
|
|
|
|
config BSP_USING_GPIO
|
|
|
|
bool "Enable GPIO"
|
|
|
|
select RT_USING_PIN
|
|
|
|
default y
|
|
|
|
|
|
|
|
menuconfig BSP_USING_UART
|
|
|
|
bool "Enable UART"
|
|
|
|
select RT_USING_SERIAL
|
2019-04-26 14:52:53 +08:00
|
|
|
default y
|
2019-04-09 16:52:59 +08:00
|
|
|
if BSP_USING_UART
|
2019-04-10 10:48:08 +08:00
|
|
|
config BSP_USING_UART3
|
|
|
|
bool "Enable UART3"
|
2019-04-09 16:52:59 +08:00
|
|
|
default y
|
|
|
|
|
2019-04-11 10:24:43 +08:00
|
|
|
config BSP_UART3_RX_USING_DMA
|
|
|
|
bool "Enable UART3 RX DMA"
|
|
|
|
depends on BSP_USING_UART3 && RT_SERIAL_USING_DMA
|
|
|
|
default n
|
2019-04-09 16:52:59 +08:00
|
|
|
endif
|
2019-04-23 18:16:06 +08:00
|
|
|
|
|
|
|
menuconfig BSP_USING_I2C1
|
|
|
|
bool "Enable I2C1 BUS (software simulation)"
|
|
|
|
select RT_USING_I2C
|
|
|
|
select RT_USING_I2C_BITOPS
|
|
|
|
select RT_USING_PIN
|
2019-04-26 14:52:53 +08:00
|
|
|
default n
|
2019-04-23 18:16:06 +08:00
|
|
|
if BSP_USING_I2C1
|
|
|
|
comment "Notice: PB8 --> 24; PB9 --> 25"
|
|
|
|
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
|
2019-04-09 16:52:59 +08:00
|
|
|
|
2019-04-26 14:52:53 +08:00
|
|
|
menuconfig BSP_USING_SPI
|
|
|
|
bool "Enable SPI BUS"
|
|
|
|
select RT_USING_SPI
|
|
|
|
default n
|
|
|
|
if BSP_USING_SPI
|
|
|
|
config BSP_USING_SPI3
|
|
|
|
bool "Enable SPI3 BUS"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config BSP_SPI3_TX_USING_DMA
|
|
|
|
bool "Enable SPI3 TX DMA"
|
|
|
|
depends on BSP_USING_SPI3
|
|
|
|
default n
|
|
|
|
|
|
|
|
config BSP_SPI3_RX_USING_DMA
|
|
|
|
bool "Enable SPI3 RX DMA"
|
|
|
|
depends on BSP_USING_SPI3
|
|
|
|
select BSP_SPI3_TX_USING_DMA
|
|
|
|
default n
|
|
|
|
endif
|
|
|
|
|
2019-04-11 10:24:43 +08:00
|
|
|
config BSP_USING_QSPI
|
|
|
|
bool "Enable QSPI BUS"
|
|
|
|
select RT_USING_QSPI
|
|
|
|
select RT_USING_SPI
|
|
|
|
default n
|
|
|
|
|
|
|
|
config BSP_USING_ON_CHIP_FLASH
|
|
|
|
bool "Enable on-chip FLASH"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config BSP_USING_FMC
|
2019-04-26 14:52:53 +08:00
|
|
|
bool "Enable FMC"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config BSP_USING_SDIO
|
|
|
|
bool "Enable SDIO"
|
|
|
|
select RT_USING_SDIO
|
|
|
|
select RT_USING_DFS
|
2019-04-11 10:24:43 +08:00
|
|
|
default n
|
|
|
|
|
|
|
|
config BSP_USING_USBD_FS
|
|
|
|
bool "Enable OTGFS as USB device"
|
|
|
|
select RT_USING_USB_DEVICE
|
|
|
|
default n
|
2019-04-22 16:03:03 +08:00
|
|
|
|
|
|
|
config BSP_USING_LTDC
|
|
|
|
bool "Enable LTDC"
|
|
|
|
default n
|
2019-04-09 16:52:59 +08:00
|
|
|
endmenu
|
|
|
|
|
|
|
|
menu "Board extended module Drivers"
|
|
|
|
|
|
|
|
endmenu
|
|
|
|
|
|
|
|
endmenu
|