aboutsummaryrefslogtreecommitdiffstats
path: root/src/stm32/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'src/stm32/Kconfig')
-rw-r--r--src/stm32/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/stm32/Kconfig b/src/stm32/Kconfig
index cb0fd557..721f3517 100644
--- a/src/stm32/Kconfig
+++ b/src/stm32/Kconfig
@@ -111,9 +111,12 @@ choice
bool "USART2"
config STM32_SERIAL_USART3
bool "USART3"
+ config STM32_SERIAL_USART3_ALT
+ bool "USART3 (on PD9/PD8)" if MACH_STM32F4
endchoice
config SERIAL_PORT
int
+ default 103 if STM32_SERIAL_USART3_ALT
default 3 if STM32_SERIAL_USART3
default 2 if STM32_SERIAL_USART2
default 1