mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-11-09 20:45:41 +08:00
[Kconfig] 避免COM2与以太网或PWM冲突
因此增加depends on指令,在开启以太网或者PWM驱动后,不再显示COM2
This commit is contained in:
1 parent
dc55b1e19c
commit
119c04d0f2
1 file changed
+1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user