summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/stm32/stm32_lowputc.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/arm/src/stm32/stm32_lowputc.c')
-rw-r--r--nuttx/arch/arm/src/stm32/stm32_lowputc.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/nuttx/arch/arm/src/stm32/stm32_lowputc.c b/nuttx/arch/arm/src/stm32/stm32_lowputc.c
index 14f4efae4..7f7205672 100644
--- a/nuttx/arch/arm/src/stm32/stm32_lowputc.c
+++ b/nuttx/arch/arm/src/stm32/stm32_lowputc.c
@@ -85,22 +85,22 @@
# define STM32_CONSOLE_2STOP CONFIG_USART3_2STOP
# define STM32_CONSOLE_TX GPIO_USART3_TX
# define STM32_CONSOLE_RX GPIO_USART3_RX
-#elif defined(CONFIG_USART4_SERIAL_CONSOLE)
+#elif defined(CONFIG_UART4_SERIAL_CONSOLE)
# define STM32_CONSOLE_BASE STM32_UART4_BASE
# define STM32_APBCLOCK STM32_PCLK1_FREQUENCY
-# define STM32_CONSOLE_BAUD CONFIG_USART4_BAUD
-# define STM32_CONSOLE_BITS CONFIG_USART4_BITS
-# define STM32_CONSOLE_PARITY CONFIG_USART4_PARITY
-# define STM32_CONSOLE_2STOP CONFIG_USART4_2STOP
+# define STM32_CONSOLE_BAUD CONFIG_UART4_BAUD
+# define STM32_CONSOLE_BITS CONFIG_UART4_BITS
+# define STM32_CONSOLE_PARITY CONFIG_UART4_PARITY
+# define STM32_CONSOLE_2STOP CONFIG_UART4_2STOP
# define STM32_CONSOLE_TX GPIO_UART4_TX
# define STM32_CONSOLE_RX GPIO_UART4_RX
-#elif defined(CONFIG_USART5_SERIAL_CONSOLE)
+#elif defined(CONFIG_UART5_SERIAL_CONSOLE)
# define STM32_CONSOLE_BASE STM32_UART5_BASE
# define STM32_APBCLOCK STM32_PCLK1_FREQUENCY
-# define STM32_CONSOLE_BAUD CONFIG_USART5_BAUD
-# define STM32_CONSOLE_BITS CONFIG_USART5_BITS
-# define STM32_CONSOLE_PARITY CONFIG_USART5_PARITY
-# define STM32_CONSOLE_2STOP CONFIG_USART5_2STOP
+# define STM32_CONSOLE_BAUD CONFIG_UART5_BAUD
+# define STM32_CONSOLE_BITS CONFIG_UART5_BITS
+# define STM32_CONSOLE_PARITY CONFIG_UART5_PARITY
+# define STM32_CONSOLE_2STOP CONFIG_UART5_2STOP
# define STM32_CONSOLE_TX GPIO_UART5_TX
# define STM32_CONSOLE_RX GPIO_UART5_RX
#elif defined(CONFIG_USART6_SERIAL_CONSOLE)