Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Nodemcu Firmware
Commits
6d243a09
Commit
6d243a09
authored
Jul 15, 2021
by
Johny Mattsson
Browse files
idf4: temporarily commenting out broken parts
parent
16ef39e2
Changes
3
Hide whitespace changes
Inline
Side-by-side
components/modules/eth.c
View file @
6d243a09
#if 0
// FIXME - IDFv3 API no longer available; this needs a major rewrite :(
#include <string.h>
#include <string.h>
...
@@ -305,3 +307,4 @@ LROT_BEGIN(eth)
...
@@ -305,3 +307,4 @@ LROT_BEGIN(eth)
LROT_END(eth, NULL, 0)
LROT_END(eth, NULL, 0)
NODEMCU_MODULE(ETH, "eth", eth, NULL);
NODEMCU_MODULE(ETH, "eth", eth, NULL);
#endif
components/modules/wifi.c
View file @
6d243a09
...
@@ -99,7 +99,7 @@ extern void wifi_sta_init (void);
...
@@ -99,7 +99,7 @@ extern void wifi_sta_init (void);
static
int
wifi_init
(
lua_State
*
L
)
static
int
wifi_init
(
lua_State
*
L
)
{
{
wifi_ap_init
();
wifi_ap_init
();
wifi_sta_init
();
// FIXME
wifi_sta_init ();
wifi_init_config_t
cfg
=
WIFI_INIT_CONFIG_DEFAULT
();
wifi_init_config_t
cfg
=
WIFI_INIT_CONFIG_DEFAULT
();
esp_err_t
err
=
esp_wifi_init
(
&
cfg
);
esp_err_t
err
=
esp_wifi_init
(
&
cfg
);
...
@@ -108,7 +108,7 @@ static int wifi_init (lua_State *L)
...
@@ -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_EXTERN
(
wifi_ap
);
LROT_BEGIN
(
wifi
)
LROT_BEGIN
(
wifi
)
...
@@ -118,7 +118,7 @@ LROT_BEGIN(wifi)
...
@@ -118,7 +118,7 @@ LROT_BEGIN(wifi)
LROT_FUNCENTRY
(
start
,
wifi_start
)
LROT_FUNCENTRY
(
start
,
wifi_start
)
LROT_FUNCENTRY
(
stop
,
wifi_stop
)
LROT_FUNCENTRY
(
stop
,
wifi_stop
)
LROT_TABENTRY
(
sta
,
wifi_sta
)
//
LROT_TABENTRY ( sta, wifi_sta )
FIXME
LROT_TABENTRY
(
ap
,
wifi_ap
)
LROT_TABENTRY
(
ap
,
wifi_ap
)
...
...
components/modules/wifi_sta.c
View file @
6d243a09
#if 0
// FIXME - tcpip_adapter deprecated/removed - need to rewrite for esp_netif
/*
/*
* Copyright 2016 Dius Computing Pty Ltd. All rights reserved.
* Copyright 2016 Dius Computing Pty Ltd. All rights reserved.
*
*
...
@@ -470,3 +473,4 @@ LROT_END(wifi_sta, NULL, 0)
...
@@ -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_START, do_connect);
NODEMCU_ESP_EVENT(SYSTEM_EVENT_STA_DISCONNECTED, do_connect);
NODEMCU_ESP_EVENT(SYSTEM_EVENT_STA_DISCONNECTED, do_connect);
NODEMCU_ESP_EVENT(SYSTEM_EVENT_SCAN_DONE, on_scan_done);
NODEMCU_ESP_EVENT(SYSTEM_EVENT_SCAN_DONE, on_scan_done);
#endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment