2019-01-10 22:39:34 +08:00
|
|
|
menu "Hardware Drivers Config"
|
|
|
|
|
|
|
|
config SOC_STM32F746NG
|
|
|
|
bool
|
|
|
|
select SOC_SERIES_STM32F7
|
2019-09-11 12:06:43 +08:00
|
|
|
select RT_USING_COMPONENTS_INIT
|
|
|
|
select RT_USING_USER_MAIN
|
2019-01-10 22:39:34 +08:00
|
|
|
default y
|
|
|
|
|
|
|
|
menu "Onboard Peripheral Drivers"
|
|
|
|
config BSP_USING_USB_TO_USART
|
|
|
|
bool "Enable USB TO USART (uart1)"
|
|
|
|
select BSP_USING_UART
|
|
|
|
select BSP_USING_UART1
|
|
|
|
default y
|
2019-02-16 22:39:26 +08:00
|
|
|
|
|
|
|
config BSP_USING_SDRAM
|
|
|
|
bool "Enable SDRAM"
|
|
|
|
default n
|
|
|
|
|
2019-01-26 16:24:20 +08:00
|
|
|
config BSP_USING_QSPI_FLASH
|
2019-01-30 20:45:56 +08:00
|
|
|
bool "Enable QSPI FLASH (N25Q256 qspi1)"
|
2019-01-26 16:24:20 +08:00
|
|
|
select BSP_USING_QSPI
|
|
|
|
select RT_USING_SFUD
|
|
|
|
select RT_SFUD_USING_QSPI
|
|
|
|
default n
|
2019-01-10 22:39:34 +08:00
|
|
|
|
2019-03-15 21:10:15 +08:00
|
|
|
config BSP_USING_LCD
|
|
|
|
bool "Enable LCD"
|
|
|
|
select BSP_USING_LTDC
|
|
|
|
select BSP_USING_SDRAM
|
|
|
|
default n
|
|
|
|
|
2019-02-16 17:40:26 +08:00
|
|
|
config PHY_USING_LAN8720A
|
|
|
|
bool
|
|
|
|
|
|
|
|
config BSP_USING_ETH
|
|
|
|
bool "Enable Ethernet"
|
|
|
|
select RT_USING_LWIP
|
|
|
|
select PHY_USING_LAN8720A
|
|
|
|
default n
|
|
|
|
|
2019-02-17 11:19:26 +08:00
|
|
|
config BSP_USING_SDCARD
|
|
|
|
bool "Enable SDCARD (sdio)"
|
|
|
|
select BSP_USING_SDIO
|
|
|
|
select RT_USING_DFS
|
|
|
|
select RT_USING_DFS_ELMFAT
|
|
|
|
default n
|
|
|
|
|
2019-01-10 22:39:34 +08:00
|
|
|
endmenu
|
|
|
|
|
|
|
|
menu "On-chip Peripheral Drivers"
|
|
|
|
|
|
|
|
config BSP_USING_GPIO
|
|
|
|
bool "Enable GPIO"
|
|
|
|
select RT_USING_PIN
|
|
|
|
default y
|
2019-03-20 11:28:18 +08:00
|
|
|
|
2019-01-10 22:39:34 +08:00
|
|
|
menuconfig BSP_USING_UART
|
|
|
|
bool "Enable UART"
|
|
|
|
default y
|
|
|
|
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
|
|
|
|
endif
|
2019-03-20 11:28:18 +08:00
|
|
|
|
2019-02-27 10:34:10 +08:00
|
|
|
config BSP_USING_ON_CHIP_FLASH
|
|
|
|
bool "Enable on-chip FLASH"
|
|
|
|
default n
|
2019-03-20 11:28:18 +08:00
|
|
|
|
2019-01-26 16:24:20 +08:00
|
|
|
config BSP_USING_QSPI
|
|
|
|
bool "Enable QSPI BUS"
|
|
|
|
select RT_USING_QSPI
|
|
|
|
select RT_USING_SPI
|
|
|
|
default n
|
2019-01-10 22:39:34 +08:00
|
|
|
|
2019-03-15 21:10:15 +08:00
|
|
|
config BSP_USING_WDT
|
|
|
|
bool "Enable Watchdog Timer"
|
|
|
|
select RT_USING_WDT
|
|
|
|
default n
|
|
|
|
|
2019-06-17 09:53:19 +08:00
|
|
|
menuconfig BSP_USING_TIM
|
|
|
|
bool "Enable timer"
|
|
|
|
default n
|
|
|
|
select RT_USING_HWTIMER
|
|
|
|
if BSP_USING_TIM
|
|
|
|
config BSP_USING_TIM11
|
|
|
|
bool "Enable TIM11"
|
|
|
|
default n
|
|
|
|
endif
|
|
|
|
|
2019-02-17 11:19:26 +08:00
|
|
|
config BSP_USING_SDIO
|
|
|
|
bool "Enable SDIO"
|
|
|
|
select RT_USING_SDIO
|
|
|
|
select RT_USING_DFS
|
|
|
|
default n
|
2019-03-15 21:10:15 +08:00
|
|
|
|
|
|
|
config BSP_USING_FMC
|
|
|
|
bool
|
|
|
|
default n
|
2019-02-17 11:19:26 +08:00
|
|
|
|
2019-03-15 21:10:15 +08:00
|
|
|
config BSP_USING_LTDC
|
|
|
|
bool
|
|
|
|
default n
|
2019-07-18 11:01:19 +08:00
|
|
|
source "../libraries/HAL_Drivers/Kconfig"
|
2019-07-11 18:21:24 +08:00
|
|
|
|
2019-01-10 22:39:34 +08:00
|
|
|
endmenu
|
|
|
|
|
|
|
|
menu "Board extended module Drivers"
|
|
|
|
|
|
|
|
endmenu
|
|
|
|
|
|
|
|
endmenu
|