From 119c04d0f25136a8f395082fc4e46c5c56b2fabe Mon Sep 17 00:00:00 2001 From: Meco Man <920369182@qq.com> Date: Mon, 10 May 2021 20:20:29 +0800 Subject: [Kconfig] 避免COM2与以太网或PWM冲突 因此增加depends on指令,在开启以太网或者PWM驱动后,不再显示COM2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bsp/stm32/stm32f407-atk-explorer/board/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/bsp/stm32/stm32f407-atk-explorer/board/Kconfig b/bsp/stm32/stm32f407-atk-explorer/board/Kconfig index 84aa84e42c..f411904234 100644 --- a/bsp/stm32/stm32f407-atk-explorer/board/Kconfig +++ b/bsp/stm32/stm32f407-atk-explorer/board/Kconfig @@ -17,6 +17,7 @@ menu "Onboard Peripheral Drivers" config BSP_USING_COM2 bool "Enable COM2 (uart2 pin conflict with Ethernet and PWM)" + depends on (!BSP_USING_ETH && !BSP_USING_PWM) select BSP_USING_UART select BSP_USING_UART2 default n -- cgit v1.3.1