61 lines
1.3 KiB
Plaintext
61 lines
1.3 KiB
Plaintext
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
|
|
config BSP_USING_UART2
|
|
bool "Enable UART2"
|
|
default n
|
|
config BSP_USING_UART3
|
|
bool "Enable UART3"
|
|
default n
|
|
endif
|
|
|
|
rsource "../../libraries/HAL_Drivers/Kconfig"
|
|
|
|
endmenu
|
|
|
|
menu "Board extended module Drivers"
|
|
|
|
endmenu
|
|
|
|
endmenu
|