Esempio n. 1
0
void board_initialize(void)
{
  /* Perform NSH initialization here instead of from the NSH.  This
   * alternative NSH initialization is necessary when NSH is ran in user-space
   * but the initialization function must run in kernel space.
   */

#if defined(CONFIG_NSH_LIBRARY) && !defined(CONFIG_NSH_ARCHINIT)
	  nsh_archinitialize();
	  wireless_archinitialize(0);

#endif

}
Esempio n. 2
0
void board_initialize(void)
{
  /* Perform NSH initialization here instead of from the NSH.  This
   * alternative NSH initialization is necessary when NSH is ran in user-space
   * but the initialization function must run in kernel space.
   */

#if defined(CONFIG_NSH_LIBRARY) && !defined(CONFIG_LIB_BOARDCTL)
  board_app_initialize();
#endif

  /* CC3000 wireless initialization */

#ifdef CONFIG_WL_CC3000
  wireless_archinitialize(0);
#endif
}
Esempio n. 3
0
void CC3000_Init(void)
{
  static bool once = false;

  if (!once)
     {
       wireless_archinitialize();
       once = true;
     }

  cc3000_wlan_init( CC3000_AsyncCallback,
    SendFirmwarePatch,
    SendDriverPatch,
    SendBootloaderPatch);

  wlan_start(0);
}