Open lida2003 opened 1 year ago
the PR #153 can be use to fixe that !
I can confirm, pr #153 solves the issue for IDF v5.1 I don't see the issue as commented on the pr, it just works
I managed to get this built/compiled on ESP-IDF v5.4-dev-78-gd4cd437ede and running with these 4 mods. This is for the beginner learners like myself.
REQUIRES log nvs_flash mdns wpa_supplicant lwip esp_http_server esp_wifi
Changed the default_demo CMakeLists.txt to:
idf_component_register(SRCS "user_main.c"
INCLUDE_DIRS "."
REQUIRES esp_wifi esp32-wifi-manager
This gets rid of the #include not found errors
idf.py add-dependency mdns
The above command created a 'idf_component.yml' in the default_demo root diectory.
This gets rid of the Failed to resolve component 'mdns'.
I changed this line of code in the user_main.c
ESP_LOGI(TAG, "free heap: %lu", esp_get_free_heap_size());
Output from idf.py monitor
I (1037) wifi_manager: MESSAGE: ORDER_LOAD_AND_RESTORE_STA
I (1037) wifi_manager: No saved wifi found on startup. Starting access point.
I (1047) wifi_manager: MESSAGE: ORDER_START_AP
I (1057) esp_netif_lwip: DHCP server started on interface WIFI_AP_DEF with IP: 10.10.0.1
All these solutions were derived from the useful comments above. Thanks.
Is your feature request related to a problem? Please describe. Support IDF v5.0
Describe the solution you'd like Support IDF release/v5.0
Describe alternatives you've considered TBD
Additional context