There is no off switch in menuconfig nor the "SDK Configuration Editor" in Visual Studio Code's ESP-IDF extension, unlike Bluetooth for which it is extremely obvious and easy.
I tried setting all instances of 'CONFIG_SOC_WIFI_SUPPORTED=y' to 'CONFIG_SOC_WIFI_SUPPORTED=n' and 'CONFIG_ESP_WIFI_ENABLED=y' to 'CONFIG_ESP_WIFI_ENABLED=n' in the file "/sdkconfig" in the root directory of the example project, and tried setting the bools in "/build/config/sdkconfig.json" to false, but the values in both files are always replaced to the enabled state, I don't know why.
I cannot find any resource on not including WiFi in the binary, only posts saying to include WiFi and then disable it with
Code: Select all
esp_err_t results = esp_wifi_stop();
and unanswered questions from 6 years ago: https://esp32.com/viewtopic.php?t=5211
Please could somebody advise?