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.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/nuttx/arch/arm/src/stm32/stm32_lowputc.c b/nuttx/arch/arm/src/stm32/stm32_lowputc.c
index 61a4765e8..0c364022e 100644
--- a/nuttx/arch/arm/src/stm32/stm32_lowputc.c
+++ b/nuttx/arch/arm/src/stm32/stm32_lowputc.c
@@ -40,6 +40,8 @@
#include <nuttx/config.h>
#include <sys/types.h>
+#include <arch/board/board.h>
+
#include "up_internal.h"
#include "up_arch.h"
@@ -206,7 +208,7 @@ void up_lowputc(char ch)
}
/**************************************************************************
- * Name: up_lowsetup
+ * Name: stm32_lowsetup
*
* Description:
* This performs basic initialization of the USART used for the serial
@@ -215,7 +217,7 @@ void up_lowputc(char ch)
*
**************************************************************************/
-void up_lowsetup(void)
+void stm32_lowsetup(void)
{
#if !defined(CONFIG_USART1_DISABLE) || !defined(CONFIG_USART2_DISABLE) || !defined(CONFIG_USART3_DISABLE)
uint32 enr;