[bsp][stm32] optimize Kconfig file

This commit is contained in:
SummerGift 2019-01-08 18:15:27 +08:00
parent f397970903
commit c1ce319f93
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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