diff --git a/components/modules/eth.c b/components/modules/eth.c index cc3a98b1..897f2bfe 100644 --- a/components/modules/eth.c +++ b/components/modules/eth.c @@ -1,3 +1,5 @@ +#if 0 +// FIXME - IDFv3 API no longer available; this needs a major rewrite :( #include <string.h> @@ -305,3 +307,4 @@ LROT_BEGIN(eth) LROT_END(eth, NULL, 0) NODEMCU_MODULE(ETH, "eth", eth, NULL); +#endif diff --git a/components/modules/wifi.c b/components/modules/wifi.c index 0a6f45a0..d3d1164f 100644 --- a/components/modules/wifi.c +++ b/components/modules/wifi.c @@ -99,7 +99,7 @@ extern void wifi_sta_init (void); static int wifi_init (lua_State *L) { wifi_ap_init (); - wifi_sta_init (); + // FIXME wifi_sta_init (); wifi_init_config_t cfg = WIFI_INIT_CONFIG_DEFAULT(); esp_err_t err = esp_wifi_init (&cfg); @@ -108,7 +108,7 @@ static int wifi_init (lua_State *L) } -LROT_EXTERN(wifi_sta); +//LROT_EXTERN(wifi_sta); FIXME LROT_EXTERN(wifi_ap); LROT_BEGIN(wifi) @@ -118,7 +118,7 @@ LROT_BEGIN(wifi) LROT_FUNCENTRY( start, wifi_start ) LROT_FUNCENTRY( stop, wifi_stop ) - LROT_TABENTRY ( sta, wifi_sta ) +// LROT_TABENTRY ( sta, wifi_sta ) FIXME LROT_TABENTRY ( ap, wifi_ap ) diff --git a/components/modules/wifi_sta.c b/components/modules/wifi_sta.c index 1e2c0713..9876ef7f 100644 --- a/components/modules/wifi_sta.c +++ b/components/modules/wifi_sta.c @@ -1,3 +1,6 @@ +#if 0 +// FIXME - tcpip_adapter deprecated/removed - need to rewrite for esp_netif + /* * Copyright 2016 Dius Computing Pty Ltd. All rights reserved. * @@ -470,3 +473,4 @@ LROT_END(wifi_sta, NULL, 0) NODEMCU_ESP_EVENT(SYSTEM_EVENT_STA_START, do_connect); NODEMCU_ESP_EVENT(SYSTEM_EVENT_STA_DISCONNECTED, do_connect); NODEMCU_ESP_EVENT(SYSTEM_EVENT_SCAN_DONE, on_scan_done); +#endif