mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-03-01 09:35:29 +08:00
[Kconfig] 避免COM2与以太网或PWM冲突
因此增加depends on指令,在开启以太网或者PWM驱动后,不再显示COM2
This commit is contained in:
parent
dc55b1e19c
commit
119c04d0f2
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user