aboutsummaryrefslogtreecommitdiffstats
path: root/src/stm32/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'src/stm32/Kconfig')
-rw-r--r--src/stm32/Kconfig5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/stm32/Kconfig b/src/stm32/Kconfig
index c29ad205..2d9b3c1d 100644
--- a/src/stm32/Kconfig
+++ b/src/stm32/Kconfig
@@ -155,7 +155,9 @@ choice
config STM32_SERIAL_USART1
bool "USART1"
config STM32_SERIAL_USART2
- bool "USART2"
+ bool "USART2 (on PA3/PA2)"
+ config STM32_SERIAL_USART2_ALT
+ bool "USART2 (on PA15/PA14)"
config STM32_SERIAL_USART3
bool "USART3"
config STM32_SERIAL_USART3_ALT
@@ -165,6 +167,7 @@ config SERIAL_PORT
int
default 103 if STM32_SERIAL_USART3_ALT
default 3 if STM32_SERIAL_USART3
+ default 102 if STM32_SERIAL_USART2_ALT
default 2 if STM32_SERIAL_USART2
default 1