2019-10-25 16:19:28 +08:00
|
|
|
menu "Hardware Drivers Config"
|
|
|
|
|
|
|
|
config SOC_STM32H750IB
|
|
|
|
bool
|
|
|
|
select SOC_SERIES_STM32H7
|
|
|
|
select RT_USING_COMPONENTS_INIT
|
|
|
|
select RT_USING_USER_MAIN
|
|
|
|
default y
|
|
|
|
|
|
|
|
menu "Onboard Peripheral Drivers"
|
|
|
|
|
2019-10-26 02:42:18 +08:00
|
|
|
config BSP_USING_QSPI_FLASH
|
|
|
|
bool "Enable QSPI FLASH (W25Q256)"
|
2019-10-25 17:58:27 +08:00
|
|
|
select BSP_USING_QSPI
|
|
|
|
select RT_USING_SFUD
|
|
|
|
select RT_SFUD_USING_QSPI
|
|
|
|
default n
|
|
|
|
|
|
|
|
config PHY_USING_LAN8720A
|
|
|
|
bool
|
|
|
|
|
|
|
|
menuconfig BSP_USING_ETH
|
|
|
|
bool "Enable Ethernet"
|
|
|
|
select RT_USING_LWIP
|
|
|
|
select PHY_USING_LAN8720A
|
|
|
|
default n
|
|
|
|
|
|
|
|
config BSP_USING_LCD
|
|
|
|
bool "Enable LCD"
|
|
|
|
select BSP_USING_PWM
|
|
|
|
default n
|
2019-10-26 02:42:18 +08:00
|
|
|
|
|
|
|
config BSP_USING_ESP32
|
|
|
|
bool "Enable ESP32"
|
|
|
|
select BSP_USING_UART4
|
|
|
|
select RT_USING_AT
|
|
|
|
select AT_USING_CLIENT
|
|
|
|
select AT_USING_SOCKET
|
|
|
|
select PKG_USING_AT_DEVICE
|
|
|
|
select AT_DEVICE_USING_ESP32
|
|
|
|
default n
|
2019-10-25 16:19:28 +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
|
|
|
|
|
2019-10-26 02:42:18 +08:00
|
|
|
config BSP_USING_UART4
|
|
|
|
bool "Enable UART4"
|
|
|
|
default y
|
2019-10-25 16:19:28 +08:00
|
|
|
endif
|
|
|
|
|
2019-10-25 17:58:27 +08:00
|
|
|
config BSP_USING_QSPI
|
|
|
|
bool "Enable QSPI BUS"
|
|
|
|
select RT_USING_QSPI
|
|
|
|
select RT_USING_SPI
|
|
|
|
default n
|
|
|
|
|
|
|
|
config BSP_QSPI_USING_DMA
|
|
|
|
bool "Enable QSPI DMA support"
|
|
|
|
default n
|
|
|
|
|
|
|
|
menuconfig BSP_USING_I2C1
|
|
|
|
bool "Enable I2C1 BUS (software simulation)"
|
|
|
|
default n
|
|
|
|
select RT_USING_I2C
|
|
|
|
select RT_USING_I2C_BITOPS
|
|
|
|
select RT_USING_PIN
|
|
|
|
if BSP_USING_I2C1
|
|
|
|
config BSP_I2C1_SCL_PIN
|
|
|
|
int "i2c1 scl pin number"
|
|
|
|
range 1 216
|
|
|
|
default 135
|
|
|
|
config BSP_I2C1_SDA_PIN
|
|
|
|
int "I2C1 sda pin number"
|
|
|
|
range 1 216
|
|
|
|
default 95
|
|
|
|
endif
|
|
|
|
|
|
|
|
menuconfig BSP_USING_PWM
|
2022-03-21 22:04:37 +08:00
|
|
|
bool "Enable PWM"
|
2019-10-25 17:58:27 +08:00
|
|
|
default n
|
|
|
|
select RT_USING_PWM
|
|
|
|
if BSP_USING_PWM
|
|
|
|
menuconfig BSP_USING_PWM2
|
2022-03-21 22:04:37 +08:00
|
|
|
bool "Enable timer2 output PWM"
|
2019-10-25 17:58:27 +08:00
|
|
|
default n
|
|
|
|
if BSP_USING_PWM2
|
|
|
|
config BSP_USING_PWM2_CH2
|
|
|
|
bool "Enable PWM2 channel2"
|
|
|
|
default n
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
menuconfig BSP_USING_ADC
|
|
|
|
bool "Enable ADC"
|
|
|
|
default n
|
|
|
|
select RT_USING_ADC
|
|
|
|
if BSP_USING_ADC
|
|
|
|
config BSP_USING_ADC1
|
|
|
|
bool "Enable ADC1"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config BSP_USING_ADC2
|
|
|
|
bool "Enable ADC2"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config BSP_USING_ADC3
|
|
|
|
bool "Enable ADC3"
|
|
|
|
default n
|
|
|
|
endif
|
|
|
|
|
|
|
|
config BSP_USING_SDIO
|
|
|
|
bool "Enable SDIO"
|
|
|
|
select RT_USING_SDIO
|
|
|
|
select RT_USING_DFS
|
|
|
|
default n
|
|
|
|
|
2019-10-27 21:15:15 +08:00
|
|
|
config BSP_USING_USBD
|
|
|
|
bool "Enable OTGHS as USB device"
|
|
|
|
select RT_USING_USB_DEVICE
|
|
|
|
select BSP_USBD_TYPE_HS
|
|
|
|
select BSP_USBD_SPEED_HS
|
|
|
|
select BSP_USBD_PHY_ULPI
|
|
|
|
default n
|
|
|
|
|
2023-12-03 01:33:34 +08:00
|
|
|
source "$BSP_DIR/../libraries/HAL_Drivers/drivers/Kconfig"
|
2019-10-25 16:19:28 +08:00
|
|
|
|
|
|
|
endmenu
|
|
|
|
|
|
|
|
menu "Board extended module Drivers"
|
|
|
|
|
|
|
|
endmenu
|
|
|
|
|
|
|
|
endmenu
|