summaryrefslogtreecommitdiff
path: root/bsp
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2021-05-10 20:20:29 +0800
committerMeco Man <[email protected]>2021-05-10 20:20:29 +0800
commit119c04d0f25136a8f395082fc4e46c5c56b2fabe (patch)
treea4709c67cb6dcd898badf1972f18d2255c2790b3 /bsp
parentdc55b1e19c8b505192dd3e74ed39b9fdf9f63fd3 (diff)
[Kconfig] 避免COM2与以太网或PWM冲突
因此增加depends on指令,在开启以太网或者PWM驱动后,不再显示COM2
Diffstat (limited to 'bsp')
-rw-r--r--bsp/stm32/stm32f407-atk-explorer/board/Kconfig1
1 files changed, 1 insertions, 0 deletions
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