Nucleo F4x1RE: Stangeness in initialization noted by Sébastien Lorquet

This commit is contained in:
Gregory Nutt 2014-11-24 12:33:24 -06:00
parent 0dae05bda4
commit 6f1d62e4cc
2 changed files with 11 additions and 3 deletions

View File

@ -121,6 +121,11 @@ void board_initialize(void)
#if defined(CONFIG_NSH_LIBRARY) && !defined(CONFIG_NSH_ARCHINIT)
nsh_archinitialize();
#endif
/* CC3000 wireless initialization */
#ifdef CONFIG_WL_CC3000
wireless_archinitialize(0);
#endif
}

View File

@ -124,11 +124,14 @@ void board_initialize(void)
*/
#if defined(CONFIG_NSH_LIBRARY) && !defined(CONFIG_NSH_ARCHINIT)
nsh_archinitialize();
wireless_archinitialize(0);
nsh_archinitialize();
#endif
/* CC3000 wireless initialization */
#ifdef CONFIG_WL_CC3000
wireless_archinitialize(0);
#endif
}
#endif