summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nuttx/ChangeLog3
-rw-r--r--nuttx/Documentation/NuttX.html2
-rw-r--r--nuttx/arch/arm/src/stm32/stm32_lowputc.c4
3 files changed, 9 insertions, 0 deletions
diff --git a/nuttx/ChangeLog b/nuttx/ChangeLog
index c025dc754..c54bc90dd 100644
--- a/nuttx/ChangeLog
+++ b/nuttx/ChangeLog
@@ -929,3 +929,6 @@
that these typose don't make any difference as long as you use only one
serial port and all uarts are configured the same. But the typos are bugs
waiting to happen in any other configuration.
+ * arch/arm/src/stm32/ - You have to configure CTS/RTS function pins for USART
+ 2 and USART 3 even if you are not using flow control.
+
diff --git a/nuttx/Documentation/NuttX.html b/nuttx/Documentation/NuttX.html
index 5e2fbbdaa..20c28ed3b 100644
--- a/nuttx/Documentation/NuttX.html
+++ b/nuttx/Documentation/NuttX.html
@@ -1581,6 +1581,8 @@ nuttx-0.4.13 2009-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr>
that these typose don't make any difference as long as you use only one
serial port and all uarts are configured the same. But the typos are bugs
waiting to happen in any other configuration.
+ * arch/arm/src/stm32/ - You have to configure CTS/RTS function pins for USART
+ 2 and USART 3 even if you are not using flow control.
pascal-0.1.3 2009-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr>
diff --git a/nuttx/arch/arm/src/stm32/stm32_lowputc.c b/nuttx/arch/arm/src/stm32/stm32_lowputc.c
index e2ead3772..2ba0f65a9 100644
--- a/nuttx/arch/arm/src/stm32/stm32_lowputc.c
+++ b/nuttx/arch/arm/src/stm32/stm32_lowputc.c
@@ -298,6 +298,8 @@ void stm32_lowsetup(void)
stm32_configgpio(GPIO_USART2_TX);
stm32_configgpio(GPIO_USART2_RX);
+ stm32_configgpio(GPIO_USART2_CTS);
+ stm32_configgpio(GPIO_USART2_RTS);
#endif /* CONFIG_STM32_USART2 */
#ifdef CONFIG_STM32_USART3
@@ -323,6 +325,8 @@ void stm32_lowsetup(void)
stm32_configgpio(GPIO_USART3_TX);
stm32_configgpio(GPIO_USART3_RX);
+ stm32_configgpio(GPIO_USART3_CTS);
+ stm32_configgpio(GPIO_USART3_RTS);
#endif /* CONFIG_STM32_USART3 */
/* Enable and configure the selected console device */