2022-08-31 15:14:16 +08:00
|
|
|
menu "Hardware Drivers Config"
|
|
|
|
|
|
|
|
config SOC_MM32F3277
|
|
|
|
bool
|
|
|
|
select SOC_SERIES_MM32F3277
|
|
|
|
select RT_USING_COMPONENTS_INIT
|
|
|
|
select RT_USING_USER_MAIN
|
|
|
|
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
|
|
|
|
|
|
|
|
config BSP_USING_USER_LED
|
|
|
|
bool "Enable User LED (pa1)"
|
|
|
|
select RT_USING_PIN
|
|
|
|
default y
|
|
|
|
|
|
|
|
config BSP_USING_USER_KEY
|
|
|
|
bool "Enable User Key (pa0)"
|
|
|
|
select RT_USING_PIN
|
|
|
|
default y
|
|
|
|
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
|
2023-01-09 10:14:23 +08:00
|
|
|
config BSP_USING_UART2
|
2022-08-31 15:14:16 +08:00
|
|
|
bool "Enable UART2"
|
|
|
|
default n
|
2023-01-09 10:14:23 +08:00
|
|
|
config BSP_USING_UART3
|
2022-08-31 15:14:16 +08:00
|
|
|
bool "Enable UART3"
|
|
|
|
default n
|
|
|
|
endif
|
|
|
|
|
2024-06-11 12:16:39 +08:00
|
|
|
rsource "../../libraries/HAL_Drivers/Kconfig"
|
2023-01-09 10:14:23 +08:00
|
|
|
|
2022-08-31 15:14:16 +08:00
|
|
|
endmenu
|
|
|
|
|
|
|
|
menu "Board extended module Drivers"
|
|
|
|
|
|
|
|
endmenu
|
|
|
|
|
|
|
|
endmenu
|