2019-01-10 22:39:34 +08:00
|
|
|
menu "Hardware Drivers Config"
|
|
|
|
|
|
|
|
config SOC_STM32F746NG
|
|
|
|
bool
|
|
|
|
select SOC_SERIES_STM32F7
|
|
|
|
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-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-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-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
|
|
|
|
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-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
|
|
|
|
|
|
|
endmenu
|
|
|
|
|
|
|
|
menu "Board extended module Drivers"
|
|
|
|
|
|
|
|
endmenu
|
|
|
|
|
|
|
|
endmenu
|