2019-01-10 22:39:34 +08:00
|
|
|
menu "Hardware Drivers Config"
|
|
|
|
|
|
|
|
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
|
2023-01-09 10:14:23 +08:00
|
|
|
|
2019-03-15 21:10:15 +08:00
|
|
|
config BSP_USING_FMC
|
2021-03-17 17:36:17 +08:00
|
|
|
bool "Enable Flash Memory Controller(FMC)"
|
2019-03-15 21:10:15 +08:00
|
|
|
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
|
2024-06-11 12:16:39 +08:00
|
|
|
source "$(BSP_DIR)/../libraries/HAL_Drivers/drivers/Kconfig"
|
2023-01-09 10:14:23 +08:00
|
|
|
|
2019-01-10 22:39:34 +08:00
|
|
|
endmenu
|
|
|
|
|
|
|
|
menu "Board extended module Drivers"
|
|
|
|
|
|
|
|
endmenu
|
2023-01-09 10:14:23 +08:00
|
|
|
|
2019-01-10 22:39:34 +08:00
|
|
|
endmenu
|