提交 119c04d0 编写于 作者: mysterywolf's avatar mysterywolf

[Kconfig] 避免COM2与以太网或PWM冲突

因此增加depends on指令,在开启以太网或者PWM驱动后,不再显示COM2
上级 dc55b1e1
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册