[bsp][stm32] optimize Kconfig file
This commit is contained in:
parent
f397970903
commit
c1ce319f93
|
@ -9,7 +9,7 @@ menu "Onboard Peripheral Drivers"
|
|||
|
||||
config BSP_USING_USB_TO_USART
|
||||
bool "Enable USB TO USART (uart2)"
|
||||
select BSP_USING_UART
|
||||
select BSP_USING_UART
|
||||
select BSP_USING_UART2
|
||||
default y
|
||||
|
||||
|
|
|
@ -51,7 +51,7 @@ menu "On-chip Peripheral Drivers"
|
|||
bool "Enable UART1 RX DMA"
|
||||
depends on BSP_USING_UART1 && RT_SERIAL_USING_DMA
|
||||
default n
|
||||
|
||||
|
||||
config BSP_USING_UART2
|
||||
bool "Enable UART2"
|
||||
default n
|
||||
|
|
Loading…
Reference in New Issue