diff --git a/components/esp_modem/examples/ap_to_pppos/main/ap_to_pppos.c b/components/esp_modem/examples/ap_to_pppos/main/ap_to_pppos.c index 99e50777c..ceba06f1d 100644 --- a/components/esp_modem/examples/ap_to_pppos/main/ap_to_pppos.c +++ b/components/esp_modem/examples/ap_to_pppos/main/ap_to_pppos.c @@ -16,6 +16,10 @@ #include "freertos/FreeRTOS.h" #include "freertos/event_groups.h" #include "network_dce.h" +#if ESP_IDF_VERSION_MAJOR >= 5 + #include "esp_mac.h" + #include "dhcpserver/dhcpserver.h" +#endif #define EXAMPLE_ESP_WIFI_SSID CONFIG_ESP_WIFI_SSID #define EXAMPLE_ESP_WIFI_PASS CONFIG_ESP_WIFI_PASSWORD diff --git a/components/esp_modem/idf_component.yml b/components/esp_modem/idf_component.yml index b7647656a..ea2271424 100644 --- a/components/esp_modem/idf_component.yml +++ b/components/esp_modem/idf_component.yml @@ -1,5 +1,6 @@ -version: "0.1.14" +version: "0.1.15" description: esp modem +url: https://github.com/espressif/esp-protocols/tree/master/components/esp_modem dependencies: # Required IDF version idf: