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 a4b77cfb1c
commit 2f33fdce85
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