From 1c394bc2782d4ea0801e5904ae83df40257337b6 Mon Sep 17 00:00:00 2001
From: Gregory Nutt CONFIG_NSH_ARCHINIT
Set
@@ -3498,7 +3498,7 @@ mount -t vfat /dev/ram1 /tmp
CONFIG_NSH_ARCHINIT
if your board provides architecture
- specific initialization via the board-specific function nsh_archinitialize()
.
+ specific initialization via the board-specific function board_app_initialize()
.
This function will be called early in NSH initialization to allow board logic to
do such things as configure MMC/SD slots.
- nsh_archinitialize()
:
+ board_app_initialize()
:
Next any architecture-specific NSH initialization will be performed (if any).
For the STM3240G-EVAL, this architecture specific initialization can be found at configs/stm3240g-eval/src/up_nsh.c
.
This it does things like: (1) Initialize SPI devices, (2) Initialize SDIO, and (3) mount any SD cards that may be inserted.
@@ -4144,6 +4144,7 @@ mount -t vfat /dev/ram1 /tmp
binfs
board_app_initialize()
break
main()
nice
nshlib
)nshlib
)nsh_archinitialize()
nsh_consolemain()
nsh_initialize()
nsh_main()