2020-11-22 14:51:43 +08:00
|
|
|
menu "Hardware Drivers Config"
|
|
|
|
|
|
|
|
config SOC_STM32H750XB
|
|
|
|
bool
|
|
|
|
select SOC_SERIES_STM32H7
|
|
|
|
select RT_USING_COMPONENTS_INIT
|
|
|
|
select RT_USING_USER_MAIN
|
|
|
|
default y
|
|
|
|
|
|
|
|
menu "Onboard Peripheral Drivers"
|
|
|
|
|
2021-09-10 10:22:59 +08:00
|
|
|
config BSP_USING_USB_TO_USART
|
|
|
|
bool "Enable Debuger USART (uart4)"
|
|
|
|
select BSP_USING_UART
|
|
|
|
select BSP_USING_UART4
|
|
|
|
default n
|
|
|
|
|
2020-11-22 14:51:43 +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"
|
2021-09-10 10:22:59 +08:00
|
|
|
default n
|
2020-11-22 14:51:43 +08:00
|
|
|
select RT_USING_SERIAL
|
2021-09-10 10:22:59 +08:00
|
|
|
select RT_SERIAL_USING_DMA
|
2020-11-22 14:51:43 +08:00
|
|
|
if BSP_USING_UART
|
2021-09-10 10:22:59 +08:00
|
|
|
config BSP_USING_UART1
|
|
|
|
bool "Enable UART1"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config BSP_UART1_RX_USING_DMA
|
|
|
|
bool "Enable UART1 RX DMA"
|
|
|
|
depends on BSP_USING_UART1 && RT_SERIAL_USING_DMA
|
|
|
|
default n
|
|
|
|
|
|
|
|
config BSP_UART1_TX_USING_DMA
|
|
|
|
bool "Enable UART1 TX DMA"
|
|
|
|
depends on BSP_USING_UART1 && RT_SERIAL_USING_DMA
|
|
|
|
default n
|
|
|
|
|
2020-11-25 00:09:50 +08:00
|
|
|
config BSP_USING_UART3
|
|
|
|
bool "Enable UART3"
|
2021-09-10 10:22:59 +08:00
|
|
|
default n
|
|
|
|
|
2020-11-22 14:51:43 +08:00
|
|
|
config BSP_USING_UART4
|
|
|
|
bool "Enable UART4"
|
2021-09-10 10:22:59 +08:00
|
|
|
default n
|
|
|
|
|
|
|
|
config BSP_USING_UART6
|
|
|
|
bool "Enable UART6"
|
|
|
|
default n
|
2020-11-22 14:51:43 +08:00
|
|
|
endif
|
|
|
|
|
|
|
|
|
2021-09-10 10:22:59 +08:00
|
|
|
config BSP_USING_ONCHIP_RTC
|
|
|
|
bool "Enable Onchip RTC"
|
|
|
|
select RT_USING_RTC
|
|
|
|
default n
|
2020-11-22 14:51:43 +08:00
|
|
|
|
|
|
|
source "../libraries/HAL_Drivers/Kconfig"
|
|
|
|
|
|
|
|
endmenu
|
|
|
|
|
|
|
|
menu "Board extended module Drivers"
|
|
|
|
|
|
|
|
endmenu
|
|
|
|
|
|
|
|
endmenu
|