summaryrefslogtreecommitdiff
path: root/nuttx/configs/stm3220g-eval/src
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2015-03-31 10:21:31 -0600
committerGregory Nutt <gnutt@nuttx.org>2015-03-31 10:21:31 -0600
commit3c44ece6be1f1f021dedb02dbeb638c45f42ce0d (patch)
tree3bd0719d123e25bc0778369bb0705c1220ba6a2f /nuttx/configs/stm3220g-eval/src
parentac77cce3913f23574d31a16c562bab35743af25a (diff)
downloadpx4-nuttx-3c44ece6be1f1f021dedb02dbeb638c45f42ce0d.tar.gz
px4-nuttx-3c44ece6be1f1f021dedb02dbeb638c45f42ce0d.tar.bz2
px4-nuttx-3c44ece6be1f1f021dedb02dbeb638c45f42ce0d.zip
Rename arch_nshinitialize() to board_app_initialize()
Diffstat (limited to 'nuttx/configs/stm3220g-eval/src')
-rw-r--r--nuttx/configs/stm3220g-eval/src/stm32_nsh.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/nuttx/configs/stm3220g-eval/src/stm32_nsh.c b/nuttx/configs/stm3220g-eval/src/stm32_nsh.c
index f150b5cd0..010c3dd1b 100644
--- a/nuttx/configs/stm3220g-eval/src/stm32_nsh.c
+++ b/nuttx/configs/stm3220g-eval/src/stm32_nsh.c
@@ -44,6 +44,8 @@
#include <syslog.h>
#include <errno.h>
+#include <nuttx/board.h>
+
#ifdef CONFIG_STM32_SPI1
# include <nuttx/spi/spi.h>
# include <nuttx/mtd/mtd.h>
@@ -122,14 +124,14 @@
****************************************************************************/
/****************************************************************************
- * Name: nsh_archinitialize
+ * Name: board_app_initialize
*
* Description:
* Perform architecture specific initialization
*
****************************************************************************/
-int nsh_archinitialize(void)
+int board_app_initialize(void)
{
#ifdef CONFIG_STM32_SPI1
FAR struct spi_dev_s *spi;