[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
|
config BSP_USING_USB_TO_USART
|
||||||
bool "Enable USB TO USART (uart2)"
|
bool "Enable USB TO USART (uart2)"
|
||||||
select BSP_USING_UART
|
select BSP_USING_UART
|
||||||
select BSP_USING_UART2
|
select BSP_USING_UART2
|
||||||
default y
|
default y
|
||||||
|
|
||||||
|
|
|
@ -51,7 +51,7 @@ menu "On-chip Peripheral Drivers"
|
||||||
bool "Enable UART1 RX DMA"
|
bool "Enable UART1 RX DMA"
|
||||||
depends on BSP_USING_UART1 && RT_SERIAL_USING_DMA
|
depends on BSP_USING_UART1 && RT_SERIAL_USING_DMA
|
||||||
default n
|
default n
|
||||||
|
|
||||||
config BSP_USING_UART2
|
config BSP_USING_UART2
|
||||||
bool "Enable UART2"
|
bool "Enable UART2"
|
||||||
default n
|
default n
|
||||||
|
|
Loading…
Reference in New Issue