From 1c394bc2782d4ea0801e5904ae83df40257337b6 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Tue, 31 Mar 2015 10:21:31 -0600 Subject: [PATCH] Rename arch_nshinitialize() to board_app_initialize() --- Documentation/NuttShell.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/NuttShell.html b/Documentation/NuttShell.html index 2f1fd333a9..ff55c0655a 100644 --- a/Documentation/NuttShell.html +++ b/Documentation/NuttShell.html @@ -3100,7 +3100,7 @@ set FOOBAR ABC_${FOO}_${BAR} CONFIG_NSH_ARCHINIT Set 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. @@ -3498,7 +3498,7 @@ mount -t vfat /dev/ram1 /tmp

  • - 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

  • Background commands
  • Background command priority
  • binfs
  • +
  • board_app_initialize()
  • break
  • Built-In applications
  • Built-In application start-up main()
  • @@ -4268,7 +4269,6 @@ mount -t vfat /dev/ram1 /tmp
  • nice
  • NSH library (nshlib)
  • NSH library (nshlib)
  • -
  • nsh_archinitialize()
  • nsh_consolemain()
  • nsh_initialize()
  • nsh_main()