diff --git a/bsp/x1000/drivers/Kconfig b/bsp/x1000/drivers/Kconfig old mode 100644 new mode 100755 index 0f2a2be685ebf4c57f397d3bc0ac13b034967df3..9eed79acc6142290e9ec3f763008860e2f3a6eb7 --- a/bsp/x1000/drivers/Kconfig +++ b/bsp/x1000/drivers/Kconfig @@ -30,6 +30,19 @@ if RT_USING_SERIAL config RT_USING_UART2 bool "Using UART2" default y + + if RT_USING_UART2 + choice + prompt "GPIO function pins select" + default CONFIG_SYS_UART2_PC + + config CONFIG_SYS_UART2_PC + bool "PORT C" + + config CONFIG_SYS_UART2_PD + bool "PORT D" + endchoice + endif endif if RT_USING_SDIO