File tree 2 files changed +12
-1
lines changed
2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -85,8 +85,12 @@ dependencies:
85
85
version : " ^1.4.2"
86
86
rules :
87
87
- if : " target in [esp32s3]"
88
+ espressif/esp_hosted :
89
+ version : " ^0.0.22"
90
+ rules :
91
+ - if : " target == esp32p4"
88
92
espressif/esp_wifi_remote :
89
- version : " * "
93
+ version : " ^0.4.1 "
90
94
rules :
91
95
- if : " target == esp32p4"
92
96
espressif/libsodium :
Original file line number Diff line number Diff line change 10
10
#include " esp_mac.h"
11
11
#include " netdb.h"
12
12
13
+ #if CONFIG_ESP_WIFI_REMOTE_ENABLED
14
+ extern " C" esp_err_t esp_hosted_init (void *);
15
+ #endif
16
+
13
17
NetworkManager::NetworkManager () {}
14
18
15
19
NetworkInterface *getNetifByID (Network_Interface_ID id);
@@ -18,6 +22,9 @@ bool NetworkManager::begin() {
18
22
static bool initialized = false ;
19
23
if (!initialized) {
20
24
initialized = true ;
25
+ #if CONFIG_ESP_WIFI_REMOTE_ENABLED
26
+ esp_hosted_init (NULL );
27
+ #endif
21
28
#if CONFIG_IDF_TARGET_ESP32
22
29
uint8_t mac[8 ];
23
30
if (esp_efuse_mac_get_default (mac) == ESP_OK) {
You can’t perform that action at this time.
0 commit comments