From 77baabed2b8e09a52e39d9077ea335c005c55ae6 Mon Sep 17 00:00:00 2001 From: Khoi Hoang <57012152+khoih-prog@users.noreply.github.com> Date: Fri, 26 Nov 2021 21:26:09 -0500 Subject: [PATCH] v1.9.6 to fix compile error ### Releases v1.9.6 1. Fix compile error for ESP32 core v1.0.5- --- README.md | 99 +++++++++++-------- .../Async_AutoConnect/Async_AutoConnect.ino | 9 +- .../Async_AutoConnectWithFSParameters.ino | 9 +- ...AutoConnectWithFSParametersAndCustomIP.ino | 9 +- .../Async_AutoConnectWithFeedback.ino | 9 +- .../Async_AutoConnectWithFeedbackLED.ino | 9 +- .../Async_ConfigOnDRD_FS_MQTT_Ptr.ino | 9 +- .../Async_ConfigOnDRD_FS_MQTT_Ptr_Complex.ino | 9 +- .../Async_ConfigOnDRD_FS_MQTT_Ptr_Medium.ino | 9 +- .../Async_ConfigOnDoubleReset.ino | 9 +- .../Async_ConfigOnDoubleReset_TZ.ino | 9 +- .../Async_ConfigOnStartup.ino | 9 +- .../Async_ConfigOnSwitch.ino | 9 +- .../Async_ConfigOnSwitchFS.ino | 9 +- .../Async_ConfigOnSwitchFS_MQTT_Ptr.ino | 9 +- .../Async_ConfigPortalParamsOnSwitch.ino | 9 +- .../Async_ESP32_FSWebServer.ino | 39 ++++---- .../Async_ESP32_FSWebServer_DRD.ino | 39 ++++---- .../Async_ESP_FSWebServer.ino | 2 +- .../Async_ESP_FSWebServer_DRD.ino | 2 +- examples/ModelessConnect/ModelessConnect.ino | 2 +- .../ModelessWithInterrupts.ino | 2 +- library.json | 4 +- library.properties | 2 +- platformio/platformio.ini | 4 +- src/ESPAsync_WiFiManager-Impl.h | 3 +- src/ESPAsync_WiFiManager.h | 5 +- src/ESPAsync_WiFiManager_Debug.h | 3 +- src_cpp/ESPAsync_WiFiManager.cpp | 3 +- src_cpp/ESPAsync_WiFiManager.h | 5 +- src_cpp/ESPAsync_WiFiManager_Debug.h | 3 +- src_h/ESPAsync_WiFiManager-Impl.h | 3 +- src_h/ESPAsync_WiFiManager.h | 5 +- src_h/ESPAsync_WiFiManager_Debug.h | 3 +- 34 files changed, 202 insertions(+), 161 deletions(-) diff --git a/README.md b/README.md index 09f9f309..7d9a9b55 100644 --- a/README.md +++ b/README.md @@ -200,7 +200,7 @@ This [**ESPAsync_WiFiManager** library](https://github.com/khoih-prog/ESPAsync_W 4. [`ESPAsyncWebServer v1.2.3+`](https://github.com/me-no-dev/ESPAsyncWebServer) for all ESP32/ESP8266-based boards. You have to use the latest [forked ESPAsyncWebServer](https://github.com/khoih-prog/ESPAsyncWebServer) if the PR [Fix compiler error for ESP32-C3 and mbed TLS v2.7.0+ #970](https://github.com/me-no-dev/ESPAsyncWebServer/pull/970) hasn't been merged. 5. [`ESPAsyncTCP v1.2.2+`](https://github.com/me-no-dev/ESPAsyncTCP) for ESP8266-based boards. 6. [`AsyncTCP v1.1.1+`](https://github.com/me-no-dev/AsyncTCP) for ESP32-based boards - 7. [`ESP_DoubleResetDetector v1.2.0+`](https://github.com/khoih-prog/ESP_DoubleResetDetector) if using DRD feature. To install, check [![arduino-library-badge](https://www.ardu-badge.com/badge/ESP_DoubleResetDetector.svg?)](https://www.ardu-badge.com/ESP_DoubleResetDetector). Use v1.1.0+ if using LittleFS for EP32. + 7. [`ESP_DoubleResetDetector v1.2.1+`](https://github.com/khoih-prog/ESP_DoubleResetDetector) if using DRD feature. To install, check [![arduino-library-badge](https://www.ardu-badge.com/badge/ESP_DoubleResetDetector.svg?)](https://www.ardu-badge.com/ESP_DoubleResetDetector). Use v1.1.0+ if using LittleFS for EP32. 8. [`LittleFS_esp32 v1.0.6+`](https://github.com/lorol/LITTLEFS) for ESP32-based boards using LittleFS with ESP32 core v1.0.4-. To install, check [![arduino-library-badge](https://www.ardu-badge.com/badge/LittleFS_esp32.svg?)](https://www.ardu-badge.com/LittleFS_esp32). **Notice**: This [`LittleFS_esp32 library`](https://github.com/lorol/LITTLEFS) has been integrated to Arduino [ESP32 core v1.0.6+](https://github.com/espressif/arduino-esp32/tree/master/libraries/LITTLEFS) and you don't need to install it if using ESP32 core v1.0.6+ --- @@ -378,13 +378,26 @@ then connect WebBrowser to configurable ConfigPortal IP address, default is 192. // Use LittleFS #include "FS.h" - // The library will be depreciated after being merged to future major Arduino esp32 core release 2.x - // At that time, just remove this library inclusion - #include // https://github.com/lorol/LITTLEFS + // Check cores/esp32/esp_arduino_version.h and cores/esp32/core_version.h + //#if ( ESP_ARDUINO_VERSION >= ESP_ARDUINO_VERSION_VAL(2, 0, 0) ) //(ESP_ARDUINO_VERSION_MAJOR >= 2) + #if ( defined(ESP_ARDUINO_VERSION_MAJOR) && (ESP_ARDUINO_VERSION_MAJOR >= 2) ) + #warning Using ESP32 Core 1.0.6 or 2.0.0+ + // The library has been merged into esp32 core from release 1.0.6 + #include + + FS* filesystem = &LittleFS; + #define FileFS LittleFS + #define FS_Name "LittleFS" + #else + #warning Using ESP32 Core 1.0.5-. You must install LITTLEFS library + // The library has been merged into esp32 core from release 1.0.6 + #include // https://github.com/lorol/LITTLEFS + + FS* filesystem = &LITTLEFS; + #define FileFS LITTLEFS + #define FS_Name "LittleFS" + #endif - FS* filesystem = &LITTLEFS; - #define FileFS LITTLEFS - #define FS_Name "LittleFS" #elif USE_SPIFFS #include FS* filesystem = &SPIFFS; @@ -507,8 +520,9 @@ WM_Config WM_config; // Use LittleFS #include "FS.h" - // Check cores/esp32/esp_arduino_version.h - #if ( ESP_ARDUINO_VERSION >= ESP_ARDUINO_VERSION_VAL(2, 0, 0) ) //(ESP_ARDUINO_VERSION_MAJOR >= 2) + // Check cores/esp32/esp_arduino_version.h and cores/esp32/core_version.h + //#if ( ESP_ARDUINO_VERSION >= ESP_ARDUINO_VERSION_VAL(2, 0, 0) ) //(ESP_ARDUINO_VERSION_MAJOR >= 2) + #if ( defined(ESP_ARDUINO_VERSION_MAJOR) && (ESP_ARDUINO_VERSION_MAJOR >= 2) ) #warning Using ESP32 Core 1.0.6 or 2.0.0+ // The library has been merged into esp32 core from release 1.0.6 #include @@ -517,7 +531,7 @@ WM_Config WM_config; #define FileFS LittleFS #define FS_Name "LittleFS" #else - #warning Using ESP32 Core 1.0.4-. You must install LITTLEFS library + #warning Using ESP32 Core 1.0.5-. You must install LITTLEFS library // The library has been merged into esp32 core from release 1.0.6 #include // https://github.com/lorol/LITTLEFS @@ -2095,7 +2109,7 @@ ESPAsync_wifiManager.setRemoveDuplicateAPs(false); #error This code is intended to run on the ESP8266 or ESP32 platform! Please check your Tools->Board setting. #endif -#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.5" +#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.6" // Use from 0 to 4. Higher number, more debugging messages and memory usage. #define _ESPASYNC_WIFIMGR_LOGLEVEL_ 3 @@ -2130,8 +2144,9 @@ ESPAsync_wifiManager.setRemoveDuplicateAPs(false); // Use LittleFS #include "FS.h" - // Check cores/esp32/esp_arduino_version.h - #if ( ESP_ARDUINO_VERSION >= ESP_ARDUINO_VERSION_VAL(2, 0, 0) ) //(ESP_ARDUINO_VERSION_MAJOR >= 2) + // Check cores/esp32/esp_arduino_version.h and cores/esp32/core_version.h + //#if ( ESP_ARDUINO_VERSION >= ESP_ARDUINO_VERSION_VAL(2, 0, 0) ) //(ESP_ARDUINO_VERSION_MAJOR >= 2) + #if ( defined(ESP_ARDUINO_VERSION_MAJOR) && (ESP_ARDUINO_VERSION_MAJOR >= 2) ) #warning Using ESP32 Core 1.0.6 or 2.0.0+ // The library has been merged into esp32 core from release 1.0.6 #include @@ -2140,7 +2155,7 @@ ESPAsync_wifiManager.setRemoveDuplicateAPs(false); #define FileFS LittleFS #define FS_Name "LittleFS" #else - #warning Using ESP32 Core 1.0.4-. You must install LITTLEFS library + #warning Using ESP32 Core 1.0.5-. You must install LITTLEFS library // The library has been merged into esp32 core from release 1.0.6 #include // https://github.com/lorol/LITTLEFS @@ -3460,8 +3475,8 @@ This is terminal debug output when running [Async_ConfigOnDRD_FS_MQTT_Ptr_Medium ``` Starting Async_ConfigOnDRD_FS_MQTT_Ptr_Medium using LittleFS on ESP32_DEV -ESPAsync_WiFiManager v1.9.5 -ESP_DoubleResetDetector v1.2.0 +ESPAsync_WiFiManager v1.9.6 +ESP_DoubleResetDetector v1.2.1 Config File not found Can't read Config File, using default values LittleFS Flag read = 0xd0d01234 @@ -3479,8 +3494,8 @@ Opening Configuration Portal. No timeout : DRD or No stored Credentials.. ``` Starting Async_ConfigOnDRD_FS_MQTT_Ptr_Medium using LittleFS on ESP32_DEV -ESPAsync_WiFiManager v1.9.5 -ESP_DoubleResetDetector v1.2.0 +ESPAsync_WiFiManager v1.9.6 +ESP_DoubleResetDetector v1.2.1 Config File not found Can't read Config File, using default values LittleFS Flag read = 0xd0d04321 @@ -3567,8 +3582,8 @@ This is terminal debug output when running [Async_ConfigOnDRD_FS_MQTT_Ptr_Comple ``` Starting Async_ConfigOnDRD_FS_MQTT_Ptr_Complex using LittleFS on ESP8266_NODEMCU_ESP12E -ESPAsync_WiFiManager v1.9.5 -ESP_DoubleResetDetector v1.2.0 +ESPAsync_WiFiManager v1.9.6 +ESP_DoubleResetDetector v1.2.1 {"AIO_SERVER_Label":"io.adafruit.com","AIO_SERVERPORT_Label":"1883","AIO_USERNAME_Label":"user_name","AIO_KEY_Label":"aio_key"} Config File successfully parsed LittleFS Flag read = 0xd0d04321 @@ -3607,8 +3622,8 @@ TWWWW WTWWW ``` Starting Async_ConfigOnDRD_FS_MQTT_Ptr_Complex using LittleFS on ESP8266_NODEMCU_ESP12E -ESPAsync_WiFiManager v1.9.5 -ESP_DoubleResetDetector v1.2.0 +ESPAsync_WiFiManager v1.9.6 +ESP_DoubleResetDetector v1.2.1 {"AIO_SERVER_Label":"io.adafruit.com","AIO_SERVERPORT_Label":"1883","AIO_USERNAME_Label":"user_name","AIO_KEY_Label":"aio_key"} Config File successfully parsed LittleFS Flag read = 0xd0d01234 @@ -3697,8 +3712,8 @@ This is terminal debug output when running [Async_ConfigOnDoubleReset](examples/ ```cpp Starting Async_ConfigOnDoubleReset with DoubleResetDetect using SPIFFS on ESP32_DEV -ESPAsync_WiFiManager v1.9.5 -ESP_DoubleResetDetector v1.2.0 +ESPAsync_WiFiManager v1.9.6 +ESP_DoubleResetDetector v1.2.1 [WM] RFC925 Hostname = ConfigOnDoubleReset [WM] setSTAStaticIPConfig for USE_CONFIGURABLE_DNS [WM] Set CORS Header to : Your Access-Control-Allow-Origin @@ -3756,8 +3771,8 @@ This is terminal debug output when running [Async_ConfigOnDoubleReset](examples/ ```cpp Starting Async_ConfigOnDoubleReset with DoubleResetDetect using LittleFS on ESP8266_NODEMCU_ESP12E -ESPAsync_WiFiManager v1.9.5 -ESP_DoubleResetDetector v1.2.0 +ESPAsync_WiFiManager v1.9.6 +ESP_DoubleResetDetector v1.2.1 [WM] RFC925 Hostname = ConfigOnDoubleReset [WM] setSTAStaticIPConfig for USE_CONFIGURABLE_DNS [WM] Set CORS Header to : Your Access-Control-Allow-Origin @@ -3816,8 +3831,8 @@ This is terminal debug output when running [Async_ESP_FSWebServer_DRD](examples/ ```cpp Starting Async_ESP_FSWebServer_DRD using LittleFS on ESP8266_NODEMCU_ESP12E -ESPAsync_WiFiManager v1.9.5 -ESP_DoubleResetDetector v1.2.0 +ESPAsync_WiFiManager v1.9.6 +ESP_DoubleResetDetector v1.2.1 Opening / directory FS File: CanadaFlag_1.png, size: 40.25KB FS File: CanadaFlag_2.png, size: 8.12KB @@ -3894,8 +3909,8 @@ This is terminal debug output when running [Async_ESP32_FSWebServer_DRD](example ``` Starting Async_ESP32_FSWebServer_DRD using LittleFS on ESP32_DEV -ESPAsync_WiFiManager v1.9.5 -ESP_DoubleResetDetector v1.2.0 +ESPAsync_WiFiManager v1.9.6 +ESP_DoubleResetDetector v1.2.1 FS File: /CanadaFlag_1.png, size: 40.25KB FS File: /CanadaFlag_2.png, size: 8.12KB FS File: /CanadaFlag_3.jpg, size: 10.89KB @@ -4005,8 +4020,8 @@ This is terminal debug output when running [Async_ConfigOnDoubleReset](examples/ ``` Starting Async_ConfigOnDoubleReset using LittleFS on ESP32S2_DEV -ESPAsync_WiFiManager v1.9.5 -ESP_DoubleResetDetector v1.2.0 +ESPAsync_WiFiManager v1.9.6 +ESP_DoubleResetDetector v1.2.1 ESP Self-Stored: SSID = HueNet1, Pass = 12345678 [WM] * Add SSID = HueNet1 , PW = 12345678 Got ESP Self-Stored Credentials. Timeout 120s for Config Portal @@ -4042,8 +4057,8 @@ This is terminal debug output when running [Async_ConfigOnDoubleReset_TZ](exampl ``` Starting Async_ConfigOnDoubleReset_TZ using LittleFS on ESP32_DEV -ESPAsync_WiFiManager v1.9.5 -ESP_DoubleResetDetector v1.2.0 +ESPAsync_WiFiManager v1.9.6 +ESP_DoubleResetDetector v1.2.1 ESP Self-Stored: SSID = HueNet1, Pass = password [WM] * Add SSID = HueNet1 , PW = password Got ESP Self-Stored Credentials. Timeout 120s for Config Portal @@ -4086,8 +4101,8 @@ Local Date/Time: Sat May 1 00:17:30 2021 ``` Starting Async_ConfigOnDoubleReset_TZ using LittleFS on ESP32_DEV -ESPAsync_WiFiManager v1.9.5 -ESP_DoubleResetDetector v1.2.0 +ESPAsync_WiFiManager v1.9.6 +ESP_DoubleResetDetector v1.2.1 ESP Self-Stored: SSID = HueNet1, Pass = password [WM] * Add SSID = HueNet1 , PW = password Got ESP Self-Stored Credentials. Timeout 120s for Config Portal @@ -4133,8 +4148,8 @@ This is terminal debug output when running [Async_ESP_FSWebServer_DRD](examples/ ``` Starting Async_ESP_FSWebServer_DRD using LittleFS on ESP8266_NODEMCU_ESP12E -ESPAsync_WiFiManager v1.9.5 -ESP_DoubleResetDetector v1.2.0 +ESPAsync_WiFiManager v1.9.6 +ESP_DoubleResetDetector v1.2.1 Opening / directory FS File: drd.dat, size: 4B FS File: wifi_cred.dat, size: 334B @@ -4206,8 +4221,8 @@ Local Date/Time: Sat May 1 03:12:54 2021 ``` Starting Async_ESP_FSWebServer_DRD using LittleFS on ESP8266_NODEMCU_ESP12E -ESPAsync_WiFiManager v1.9.5 -ESP_DoubleResetDetector v1.2.0 +ESPAsync_WiFiManager v1.9.6 +ESP_DoubleResetDetector v1.2.1 Opening / directory FS File: drd.dat, size: 4B FS File: wifi_cred.dat, size: 334B @@ -4265,8 +4280,8 @@ This is terminal debug output when running [Async_ConfigOnDoubleReset_TZ](exampl ``` Starting Async_ConfigOnDoubleReset_TZ using SPIFFS on ESP32C3_DEV -ESPAsync_WiFiManager v1.9.5 -ESP_DoubleResetDetector v1.2.0 +ESPAsync_WiFiManager v1.9.6 +ESP_DoubleResetDetector v1.2.1 ESP Self-Stored: SSID = HueNet1, Pass = 12345678 [WM] * Add SSID = HueNet1 , PW = 12345678 Got ESP Self-Stored Credentials. Timeout 120s for Config Portal diff --git a/examples/Async_AutoConnect/Async_AutoConnect.ino b/examples/Async_AutoConnect/Async_AutoConnect.ino index 587b2030..3e538a63 100644 --- a/examples/Async_AutoConnect/Async_AutoConnect.ino +++ b/examples/Async_AutoConnect/Async_AutoConnect.ino @@ -18,7 +18,7 @@ #error This code is intended to run on the ESP8266 or ESP32 platform! Please check your Tools->Board setting. #endif -#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.2" +#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.6" // Use from 0 to 4. Higher number, more debugging messages and memory usage. #define _ESPASYNC_WIFIMGR_LOGLEVEL_ 3 @@ -47,8 +47,9 @@ // Use LittleFS #include "FS.h" - // Check cores/esp32/esp_arduino_version.h - #if ( ESP_ARDUINO_VERSION >= ESP_ARDUINO_VERSION_VAL(2, 0, 0) ) //(ESP_ARDUINO_VERSION_MAJOR >= 2) + // Check cores/esp32/esp_arduino_version.h and cores/esp32/core_version.h + //#if ( ESP_ARDUINO_VERSION >= ESP_ARDUINO_VERSION_VAL(2, 0, 0) ) //(ESP_ARDUINO_VERSION_MAJOR >= 2) + #if ( defined(ESP_ARDUINO_VERSION_MAJOR) && (ESP_ARDUINO_VERSION_MAJOR >= 2) ) #warning Using ESP32 Core 1.0.6 or 2.0.0+ // The library has been merged into esp32 core from release 1.0.6 #include @@ -57,7 +58,7 @@ #define FileFS LittleFS #define FS_Name "LittleFS" #else - #warning Using ESP32 Core 1.0.4-. You must install LITTLEFS library + #warning Using ESP32 Core 1.0.5-. You must install LITTLEFS library // The library has been merged into esp32 core from release 1.0.6 #include // https://github.com/lorol/LITTLEFS diff --git a/examples/Async_AutoConnectWithFSParameters/Async_AutoConnectWithFSParameters.ino b/examples/Async_AutoConnectWithFSParameters/Async_AutoConnectWithFSParameters.ino index e8a46986..d6d7d561 100644 --- a/examples/Async_AutoConnectWithFSParameters/Async_AutoConnectWithFSParameters.ino +++ b/examples/Async_AutoConnectWithFSParameters/Async_AutoConnectWithFSParameters.ino @@ -19,7 +19,7 @@ #error This code is intended to run on the ESP8266 or ESP32 platform! Please check your Tools->Board setting. #endif -#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.2" +#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.6" // Use from 0 to 4. Higher number, more debugging messages and memory usage. #define _ESPASYNC_WIFIMGR_LOGLEVEL_ 3 @@ -50,8 +50,9 @@ // Use LittleFS #include "FS.h" - // Check cores/esp32/esp_arduino_version.h - #if ( ESP_ARDUINO_VERSION >= ESP_ARDUINO_VERSION_VAL(2, 0, 0) ) //(ESP_ARDUINO_VERSION_MAJOR >= 2) + // Check cores/esp32/esp_arduino_version.h and cores/esp32/core_version.h + //#if ( ESP_ARDUINO_VERSION >= ESP_ARDUINO_VERSION_VAL(2, 0, 0) ) //(ESP_ARDUINO_VERSION_MAJOR >= 2) + #if ( defined(ESP_ARDUINO_VERSION_MAJOR) && (ESP_ARDUINO_VERSION_MAJOR >= 2) ) #warning Using ESP32 Core 1.0.6 or 2.0.0+ // The library has been merged into esp32 core from release 1.0.6 #include @@ -60,7 +61,7 @@ #define FileFS LittleFS #define FS_Name "LittleFS" #else - #warning Using ESP32 Core 1.0.4-. You must install LITTLEFS library + #warning Using ESP32 Core 1.0.5-. You must install LITTLEFS library // The library has been merged into esp32 core from release 1.0.6 #include // https://github.com/lorol/LITTLEFS diff --git a/examples/Async_AutoConnectWithFSParametersAndCustomIP/Async_AutoConnectWithFSParametersAndCustomIP.ino b/examples/Async_AutoConnectWithFSParametersAndCustomIP/Async_AutoConnectWithFSParametersAndCustomIP.ino index 54f2499d..1e6b5a33 100644 --- a/examples/Async_AutoConnectWithFSParametersAndCustomIP/Async_AutoConnectWithFSParametersAndCustomIP.ino +++ b/examples/Async_AutoConnectWithFSParametersAndCustomIP/Async_AutoConnectWithFSParametersAndCustomIP.ino @@ -19,7 +19,7 @@ #error This code is intended to run on the ESP8266 or ESP32 platform! Please check your Tools->Board setting. #endif -#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.2" +#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.6" // Use from 0 to 4. Higher number, more debugging messages and memory usage. #define _ESPASYNC_WIFIMGR_LOGLEVEL_ 3 @@ -51,8 +51,9 @@ // Use LittleFS #include "FS.h" - // Check cores/esp32/esp_arduino_version.h - #if ( ESP_ARDUINO_VERSION >= ESP_ARDUINO_VERSION_VAL(2, 0, 0) ) //(ESP_ARDUINO_VERSION_MAJOR >= 2) + // Check cores/esp32/esp_arduino_version.h and cores/esp32/core_version.h + //#if ( ESP_ARDUINO_VERSION >= ESP_ARDUINO_VERSION_VAL(2, 0, 0) ) //(ESP_ARDUINO_VERSION_MAJOR >= 2) + #if ( defined(ESP_ARDUINO_VERSION_MAJOR) && (ESP_ARDUINO_VERSION_MAJOR >= 2) ) #warning Using ESP32 Core 1.0.6 or 2.0.0+ // The library has been merged into esp32 core from release 1.0.6 #include @@ -61,7 +62,7 @@ #define FileFS LittleFS #define FS_Name "LittleFS" #else - #warning Using ESP32 Core 1.0.4-. You must install LITTLEFS library + #warning Using ESP32 Core 1.0.5-. You must install LITTLEFS library // The library has been merged into esp32 core from release 1.0.6 #include // https://github.com/lorol/LITTLEFS diff --git a/examples/Async_AutoConnectWithFeedback/Async_AutoConnectWithFeedback.ino b/examples/Async_AutoConnectWithFeedback/Async_AutoConnectWithFeedback.ino index acefd620..24258a68 100644 --- a/examples/Async_AutoConnectWithFeedback/Async_AutoConnectWithFeedback.ino +++ b/examples/Async_AutoConnectWithFeedback/Async_AutoConnectWithFeedback.ino @@ -18,7 +18,7 @@ #error This code is intended to run on the ESP8266 or ESP32 platform! Please check your Tools->Board setting. #endif -#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.2" +#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.6" // Use from 0 to 4. Higher number, more debugging messages and memory usage. #define _ESPASYNC_WIFIMGR_LOGLEVEL_ 3 @@ -47,8 +47,9 @@ // Use LittleFS #include "FS.h" - // Check cores/esp32/esp_arduino_version.h - #if ( ESP_ARDUINO_VERSION >= ESP_ARDUINO_VERSION_VAL(2, 0, 0) ) //(ESP_ARDUINO_VERSION_MAJOR >= 2) + // Check cores/esp32/esp_arduino_version.h and cores/esp32/core_version.h + //#if ( ESP_ARDUINO_VERSION >= ESP_ARDUINO_VERSION_VAL(2, 0, 0) ) //(ESP_ARDUINO_VERSION_MAJOR >= 2) + #if ( defined(ESP_ARDUINO_VERSION_MAJOR) && (ESP_ARDUINO_VERSION_MAJOR >= 2) ) #warning Using ESP32 Core 1.0.6 or 2.0.0+ // The library has been merged into esp32 core from release 1.0.6 #include @@ -57,7 +58,7 @@ #define FileFS LittleFS #define FS_Name "LittleFS" #else - #warning Using ESP32 Core 1.0.4-. You must install LITTLEFS library + #warning Using ESP32 Core 1.0.5-. You must install LITTLEFS library // The library has been merged into esp32 core from release 1.0.6 #include // https://github.com/lorol/LITTLEFS diff --git a/examples/Async_AutoConnectWithFeedbackLED/Async_AutoConnectWithFeedbackLED.ino b/examples/Async_AutoConnectWithFeedbackLED/Async_AutoConnectWithFeedbackLED.ino index 83596e49..72fc052e 100644 --- a/examples/Async_AutoConnectWithFeedbackLED/Async_AutoConnectWithFeedbackLED.ino +++ b/examples/Async_AutoConnectWithFeedbackLED/Async_AutoConnectWithFeedbackLED.ino @@ -19,7 +19,7 @@ #error This code is intended to run on the ESP8266 or ESP32 platform! Please check your Tools->Board setting. #endif -#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.2" +#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.6" // Use from 0 to 4. Higher number, more debugging messages and memory usage. #define _ESPASYNC_WIFIMGR_LOGLEVEL_ 3 @@ -48,8 +48,9 @@ // Use LittleFS #include "FS.h" - // Check cores/esp32/esp_arduino_version.h - #if ( ESP_ARDUINO_VERSION >= ESP_ARDUINO_VERSION_VAL(2, 0, 0) ) //(ESP_ARDUINO_VERSION_MAJOR >= 2) + // Check cores/esp32/esp_arduino_version.h and cores/esp32/core_version.h + //#if ( ESP_ARDUINO_VERSION >= ESP_ARDUINO_VERSION_VAL(2, 0, 0) ) //(ESP_ARDUINO_VERSION_MAJOR >= 2) + #if ( defined(ESP_ARDUINO_VERSION_MAJOR) && (ESP_ARDUINO_VERSION_MAJOR >= 2) ) #warning Using ESP32 Core 1.0.6 or 2.0.0+ // The library has been merged into esp32 core from release 1.0.6 #include @@ -58,7 +59,7 @@ #define FileFS LittleFS #define FS_Name "LittleFS" #else - #warning Using ESP32 Core 1.0.4-. You must install LITTLEFS library + #warning Using ESP32 Core 1.0.5-. You must install LITTLEFS library // The library has been merged into esp32 core from release 1.0.6 #include // https://github.com/lorol/LITTLEFS diff --git a/examples/Async_ConfigOnDRD_FS_MQTT_Ptr/Async_ConfigOnDRD_FS_MQTT_Ptr.ino b/examples/Async_ConfigOnDRD_FS_MQTT_Ptr/Async_ConfigOnDRD_FS_MQTT_Ptr.ino index 51760b36..7b0e07a0 100644 --- a/examples/Async_ConfigOnDRD_FS_MQTT_Ptr/Async_ConfigOnDRD_FS_MQTT_Ptr.ino +++ b/examples/Async_ConfigOnDRD_FS_MQTT_Ptr/Async_ConfigOnDRD_FS_MQTT_Ptr.ino @@ -31,7 +31,7 @@ #error This code is intended to run on the ESP8266 or ESP32 platform! Please check your Tools->Board setting. #endif -#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.2" +#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.6" // Use from 0 to 4. Higher number, more debugging messages and memory usage. #define _ESPASYNC_WIFIMGR_LOGLEVEL_ 3 @@ -66,8 +66,9 @@ // Use LittleFS #include "FS.h" - // Check cores/esp32/esp_arduino_version.h - #if ( ESP_ARDUINO_VERSION >= ESP_ARDUINO_VERSION_VAL(2, 0, 0) ) //(ESP_ARDUINO_VERSION_MAJOR >= 2) + // Check cores/esp32/esp_arduino_version.h and cores/esp32/core_version.h + //#if ( ESP_ARDUINO_VERSION >= ESP_ARDUINO_VERSION_VAL(2, 0, 0) ) //(ESP_ARDUINO_VERSION_MAJOR >= 2) + #if ( defined(ESP_ARDUINO_VERSION_MAJOR) && (ESP_ARDUINO_VERSION_MAJOR >= 2) ) #warning Using ESP32 Core 1.0.6 or 2.0.0+ // The library has been merged into esp32 core from release 1.0.6 #include @@ -76,7 +77,7 @@ #define FileFS LittleFS #define FS_Name "LittleFS" #else - #warning Using ESP32 Core 1.0.4-. You must install LITTLEFS library + #warning Using ESP32 Core 1.0.5-. You must install LITTLEFS library // The library has been merged into esp32 core from release 1.0.6 #include // https://github.com/lorol/LITTLEFS diff --git a/examples/Async_ConfigOnDRD_FS_MQTT_Ptr_Complex/Async_ConfigOnDRD_FS_MQTT_Ptr_Complex.ino b/examples/Async_ConfigOnDRD_FS_MQTT_Ptr_Complex/Async_ConfigOnDRD_FS_MQTT_Ptr_Complex.ino index 65cf4163..9e9a014d 100644 --- a/examples/Async_ConfigOnDRD_FS_MQTT_Ptr_Complex/Async_ConfigOnDRD_FS_MQTT_Ptr_Complex.ino +++ b/examples/Async_ConfigOnDRD_FS_MQTT_Ptr_Complex/Async_ConfigOnDRD_FS_MQTT_Ptr_Complex.ino @@ -31,7 +31,7 @@ #error This code is intended to run on the ESP8266 or ESP32 platform! Please check your Tools->Board setting. #endif -#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.2" +#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.6" // Use from 0 to 4. Higher number, more debugging messages and memory usage. #define _ESPASYNC_WIFIMGR_LOGLEVEL_ 2 @@ -69,8 +69,9 @@ // Use LittleFS #include "FS.h" - // Check cores/esp32/esp_arduino_version.h - #if ( ESP_ARDUINO_VERSION >= ESP_ARDUINO_VERSION_VAL(2, 0, 0) ) //(ESP_ARDUINO_VERSION_MAJOR >= 2) + // Check cores/esp32/esp_arduino_version.h and cores/esp32/core_version.h + //#if ( ESP_ARDUINO_VERSION >= ESP_ARDUINO_VERSION_VAL(2, 0, 0) ) //(ESP_ARDUINO_VERSION_MAJOR >= 2) + #if ( defined(ESP_ARDUINO_VERSION_MAJOR) && (ESP_ARDUINO_VERSION_MAJOR >= 2) ) #warning Using ESP32 Core 1.0.6 or 2.0.0+ // The library has been merged into esp32 core from release 1.0.6 #include @@ -79,7 +80,7 @@ #define FileFS LittleFS #define FS_Name "LittleFS" #else - #warning Using ESP32 Core 1.0.4-. You must install LITTLEFS library + #warning Using ESP32 Core 1.0.5-. You must install LITTLEFS library // The library has been merged into esp32 core from release 1.0.6 #include // https://github.com/lorol/LITTLEFS diff --git a/examples/Async_ConfigOnDRD_FS_MQTT_Ptr_Medium/Async_ConfigOnDRD_FS_MQTT_Ptr_Medium.ino b/examples/Async_ConfigOnDRD_FS_MQTT_Ptr_Medium/Async_ConfigOnDRD_FS_MQTT_Ptr_Medium.ino index 6dc2f7e0..5ce3fb49 100644 --- a/examples/Async_ConfigOnDRD_FS_MQTT_Ptr_Medium/Async_ConfigOnDRD_FS_MQTT_Ptr_Medium.ino +++ b/examples/Async_ConfigOnDRD_FS_MQTT_Ptr_Medium/Async_ConfigOnDRD_FS_MQTT_Ptr_Medium.ino @@ -31,7 +31,7 @@ #error This code is intended to run on the ESP8266 or ESP32 platform! Please check your Tools->Board setting. #endif -#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.2" +#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.6" // Use from 0 to 4. Higher number, more debugging messages and memory usage. #define _ESPASYNC_WIFIMGR_LOGLEVEL_ 3 @@ -66,8 +66,9 @@ // Use LittleFS #include "FS.h" - // Check cores/esp32/esp_arduino_version.h - #if ( ESP_ARDUINO_VERSION >= ESP_ARDUINO_VERSION_VAL(2, 0, 0) ) //(ESP_ARDUINO_VERSION_MAJOR >= 2) + // Check cores/esp32/esp_arduino_version.h and cores/esp32/core_version.h + //#if ( ESP_ARDUINO_VERSION >= ESP_ARDUINO_VERSION_VAL(2, 0, 0) ) //(ESP_ARDUINO_VERSION_MAJOR >= 2) + #if ( defined(ESP_ARDUINO_VERSION_MAJOR) && (ESP_ARDUINO_VERSION_MAJOR >= 2) ) #warning Using ESP32 Core 1.0.6 or 2.0.0+ // The library has been merged into esp32 core from release 1.0.6 #include @@ -76,7 +77,7 @@ #define FileFS LittleFS #define FS_Name "LittleFS" #else - #warning Using ESP32 Core 1.0.4-. You must install LITTLEFS library + #warning Using ESP32 Core 1.0.5-. You must install LITTLEFS library // The library has been merged into esp32 core from release 1.0.6 #include // https://github.com/lorol/LITTLEFS diff --git a/examples/Async_ConfigOnDoubleReset/Async_ConfigOnDoubleReset.ino b/examples/Async_ConfigOnDoubleReset/Async_ConfigOnDoubleReset.ino index e46ecd80..fbe93b74 100644 --- a/examples/Async_ConfigOnDoubleReset/Async_ConfigOnDoubleReset.ino +++ b/examples/Async_ConfigOnDoubleReset/Async_ConfigOnDoubleReset.ino @@ -42,7 +42,7 @@ #error This code is intended to run on the ESP8266 or ESP32 platform! Please check your Tools->Board setting. #endif -#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.2" +#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.6" // Use from 0 to 4. Higher number, more debugging messages and memory usage. #define _ESPASYNC_WIFIMGR_LOGLEVEL_ 1 @@ -73,8 +73,9 @@ // Use LittleFS #include "FS.h" - // Check cores/esp32/esp_arduino_version.h - #if ( ESP_ARDUINO_VERSION >= ESP_ARDUINO_VERSION_VAL(2, 0, 0) ) //(ESP_ARDUINO_VERSION_MAJOR >= 2) + // Check cores/esp32/esp_arduino_version.h and cores/esp32/core_version.h + //#if ( ESP_ARDUINO_VERSION >= ESP_ARDUINO_VERSION_VAL(2, 0, 0) ) //(ESP_ARDUINO_VERSION_MAJOR >= 2) + #if ( defined(ESP_ARDUINO_VERSION_MAJOR) && (ESP_ARDUINO_VERSION_MAJOR >= 2) ) #warning Using ESP32 Core 1.0.6 or 2.0.0+ // The library has been merged into esp32 core from release 1.0.6 #include @@ -83,7 +84,7 @@ #define FileFS LittleFS #define FS_Name "LittleFS" #else - #warning Using ESP32 Core 1.0.4-. You must install LITTLEFS library + #warning Using ESP32 Core 1.0.5-. You must install LITTLEFS library // The library has been merged into esp32 core from release 1.0.6 #include // https://github.com/lorol/LITTLEFS diff --git a/examples/Async_ConfigOnDoubleReset_TZ/Async_ConfigOnDoubleReset_TZ.ino b/examples/Async_ConfigOnDoubleReset_TZ/Async_ConfigOnDoubleReset_TZ.ino index 233423a5..a82c2d57 100644 --- a/examples/Async_ConfigOnDoubleReset_TZ/Async_ConfigOnDoubleReset_TZ.ino +++ b/examples/Async_ConfigOnDoubleReset_TZ/Async_ConfigOnDoubleReset_TZ.ino @@ -42,7 +42,7 @@ #error This code is intended to run on the ESP8266 or ESP32 platform! Please check your Tools->Board setting. #endif -#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.2" +#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.6" // Use from 0 to 4. Higher number, more debugging messages and memory usage. #define _ESPASYNC_WIFIMGR_LOGLEVEL_ 1 @@ -73,8 +73,9 @@ // Use LittleFS #include "FS.h" - // Check cores/esp32/esp_arduino_version.h - #if ( ESP_ARDUINO_VERSION >= ESP_ARDUINO_VERSION_VAL(2, 0, 0) ) //(ESP_ARDUINO_VERSION_MAJOR >= 2) + // Check cores/esp32/esp_arduino_version.h and cores/esp32/core_version.h + //#if ( ESP_ARDUINO_VERSION >= ESP_ARDUINO_VERSION_VAL(2, 0, 0) ) //(ESP_ARDUINO_VERSION_MAJOR >= 2) + #if ( defined(ESP_ARDUINO_VERSION_MAJOR) && (ESP_ARDUINO_VERSION_MAJOR >= 2) ) #warning Using ESP32 Core 1.0.6 or 2.0.0+ // The library has been merged into esp32 core from release 1.0.6 #include @@ -83,7 +84,7 @@ #define FileFS LittleFS #define FS_Name "LittleFS" #else - #warning Using ESP32 Core 1.0.4-. You must install LITTLEFS library + #warning Using ESP32 Core 1.0.5-. You must install LITTLEFS library // The library has been merged into esp32 core from release 1.0.6 #include // https://github.com/lorol/LITTLEFS diff --git a/examples/Async_ConfigOnStartup/Async_ConfigOnStartup.ino b/examples/Async_ConfigOnStartup/Async_ConfigOnStartup.ino index 19cc2b77..bed94bf4 100644 --- a/examples/Async_ConfigOnStartup/Async_ConfigOnStartup.ino +++ b/examples/Async_ConfigOnStartup/Async_ConfigOnStartup.ino @@ -33,7 +33,7 @@ #error This code is intended to run on the ESP8266 or ESP32 platform! Please check your Tools->Board setting. #endif -#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.2" +#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.6" // Use from 0 to 4. Higher number, more debugging messages and memory usage. #define _ESPASYNC_WIFIMGR_LOGLEVEL_ 3 @@ -64,8 +64,9 @@ // Use LittleFS #include "FS.h" - // Check cores/esp32/esp_arduino_version.h - #if ( ESP_ARDUINO_VERSION >= ESP_ARDUINO_VERSION_VAL(2, 0, 0) ) //(ESP_ARDUINO_VERSION_MAJOR >= 2) + // Check cores/esp32/esp_arduino_version.h and cores/esp32/core_version.h + //#if ( ESP_ARDUINO_VERSION >= ESP_ARDUINO_VERSION_VAL(2, 0, 0) ) //(ESP_ARDUINO_VERSION_MAJOR >= 2) + #if ( defined(ESP_ARDUINO_VERSION_MAJOR) && (ESP_ARDUINO_VERSION_MAJOR >= 2) ) #warning Using ESP32 Core 1.0.6 or 2.0.0+ // The library has been merged into esp32 core from release 1.0.6 #include @@ -74,7 +75,7 @@ #define FileFS LittleFS #define FS_Name "LittleFS" #else - #warning Using ESP32 Core 1.0.4-. You must install LITTLEFS library + #warning Using ESP32 Core 1.0.5-. You must install LITTLEFS library // The library has been merged into esp32 core from release 1.0.6 #include // https://github.com/lorol/LITTLEFS diff --git a/examples/Async_ConfigOnSwitch/Async_ConfigOnSwitch.ino b/examples/Async_ConfigOnSwitch/Async_ConfigOnSwitch.ino index 6ad93dd6..da5282c5 100644 --- a/examples/Async_ConfigOnSwitch/Async_ConfigOnSwitch.ino +++ b/examples/Async_ConfigOnSwitch/Async_ConfigOnSwitch.ino @@ -30,7 +30,7 @@ #error This code is intended to run on the ESP8266 or ESP32 platform! Please check your Tools->Board setting. #endif -#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.2" +#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.6" // Use from 0 to 4. Higher number, more debugging messages and memory usage. #define _ESPASYNC_WIFIMGR_LOGLEVEL_ 3 @@ -61,8 +61,9 @@ // Use LittleFS #include "FS.h" - // Check cores/esp32/esp_arduino_version.h - #if ( ESP_ARDUINO_VERSION >= ESP_ARDUINO_VERSION_VAL(2, 0, 0) ) //(ESP_ARDUINO_VERSION_MAJOR >= 2) + // Check cores/esp32/esp_arduino_version.h and cores/esp32/core_version.h + //#if ( ESP_ARDUINO_VERSION >= ESP_ARDUINO_VERSION_VAL(2, 0, 0) ) //(ESP_ARDUINO_VERSION_MAJOR >= 2) + #if ( defined(ESP_ARDUINO_VERSION_MAJOR) && (ESP_ARDUINO_VERSION_MAJOR >= 2) ) #warning Using ESP32 Core 1.0.6 or 2.0.0+ // The library has been merged into esp32 core from release 1.0.6 #include @@ -71,7 +72,7 @@ #define FileFS LittleFS #define FS_Name "LittleFS" #else - #warning Using ESP32 Core 1.0.4-. You must install LITTLEFS library + #warning Using ESP32 Core 1.0.5-. You must install LITTLEFS library // The library has been merged into esp32 core from release 1.0.6 #include // https://github.com/lorol/LITTLEFS diff --git a/examples/Async_ConfigOnSwitchFS/Async_ConfigOnSwitchFS.ino b/examples/Async_ConfigOnSwitchFS/Async_ConfigOnSwitchFS.ino index 18b7a030..94081a41 100644 --- a/examples/Async_ConfigOnSwitchFS/Async_ConfigOnSwitchFS.ino +++ b/examples/Async_ConfigOnSwitchFS/Async_ConfigOnSwitchFS.ino @@ -53,7 +53,7 @@ #error This code is intended to run on the ESP8266 or ESP32 platform! Please check your Tools->Board setting. #endif -#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.2" +#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.6" // Use from 0 to 4. Higher number, more debugging messages and memory usage. #define _ESPASYNC_WIFIMGR_LOGLEVEL_ 3 @@ -87,8 +87,9 @@ // Use LittleFS #include "FS.h" - // Check cores/esp32/esp_arduino_version.h - #if ( ESP_ARDUINO_VERSION >= ESP_ARDUINO_VERSION_VAL(2, 0, 0) ) //(ESP_ARDUINO_VERSION_MAJOR >= 2) + // Check cores/esp32/esp_arduino_version.h and cores/esp32/core_version.h + //#if ( ESP_ARDUINO_VERSION >= ESP_ARDUINO_VERSION_VAL(2, 0, 0) ) //(ESP_ARDUINO_VERSION_MAJOR >= 2) + #if ( defined(ESP_ARDUINO_VERSION_MAJOR) && (ESP_ARDUINO_VERSION_MAJOR >= 2) ) #warning Using ESP32 Core 1.0.6 or 2.0.0+ // The library has been merged into esp32 core from release 1.0.6 #include @@ -97,7 +98,7 @@ #define FileFS LittleFS #define FS_Name "LittleFS" #else - #warning Using ESP32 Core 1.0.4-. You must install LITTLEFS library + #warning Using ESP32 Core 1.0.5-. You must install LITTLEFS library // The library has been merged into esp32 core from release 1.0.6 #include // https://github.com/lorol/LITTLEFS diff --git a/examples/Async_ConfigOnSwitchFS_MQTT_Ptr/Async_ConfigOnSwitchFS_MQTT_Ptr.ino b/examples/Async_ConfigOnSwitchFS_MQTT_Ptr/Async_ConfigOnSwitchFS_MQTT_Ptr.ino index d9310f02..9bb1b6a4 100644 --- a/examples/Async_ConfigOnSwitchFS_MQTT_Ptr/Async_ConfigOnSwitchFS_MQTT_Ptr.ino +++ b/examples/Async_ConfigOnSwitchFS_MQTT_Ptr/Async_ConfigOnSwitchFS_MQTT_Ptr.ino @@ -35,7 +35,7 @@ #error This code is intended to run on the ESP8266 or ESP32 platform! Please check your Tools->Board setting. #endif -#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.2" +#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.6" // Use from 0 to 4. Higher number, more debugging messages and memory usage. #define _ESPASYNC_WIFIMGR_LOGLEVEL_ 3 @@ -73,8 +73,9 @@ // Use LittleFS #include "FS.h" - // Check cores/esp32/esp_arduino_version.h - #if ( ESP_ARDUINO_VERSION >= ESP_ARDUINO_VERSION_VAL(2, 0, 0) ) //(ESP_ARDUINO_VERSION_MAJOR >= 2) + // Check cores/esp32/esp_arduino_version.h and cores/esp32/core_version.h + //#if ( ESP_ARDUINO_VERSION >= ESP_ARDUINO_VERSION_VAL(2, 0, 0) ) //(ESP_ARDUINO_VERSION_MAJOR >= 2) + #if ( defined(ESP_ARDUINO_VERSION_MAJOR) && (ESP_ARDUINO_VERSION_MAJOR >= 2) ) #warning Using ESP32 Core 1.0.6 or 2.0.0+ // The library has been merged into esp32 core from release 1.0.6 #include @@ -83,7 +84,7 @@ #define FileFS LittleFS #define FS_Name "LittleFS" #else - #warning Using ESP32 Core 1.0.4-. You must install LITTLEFS library + #warning Using ESP32 Core 1.0.5-. You must install LITTLEFS library // The library has been merged into esp32 core from release 1.0.6 #include // https://github.com/lorol/LITTLEFS diff --git a/examples/Async_ConfigPortalParamsOnSwitch/Async_ConfigPortalParamsOnSwitch.ino b/examples/Async_ConfigPortalParamsOnSwitch/Async_ConfigPortalParamsOnSwitch.ino index 003ffd79..2c3248e9 100644 --- a/examples/Async_ConfigPortalParamsOnSwitch/Async_ConfigPortalParamsOnSwitch.ino +++ b/examples/Async_ConfigPortalParamsOnSwitch/Async_ConfigPortalParamsOnSwitch.ino @@ -32,7 +32,7 @@ #error This code is intended to run on the ESP8266 or ESP32 platform! Please check your Tools->Board setting. #endif -#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.2" +#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.6" // Use from 0 to 4. Higher number, more debugging messages and memory usage. #define _ESPASYNC_WIFIMGR_LOGLEVEL_ 3 @@ -66,8 +66,9 @@ // Use LittleFS #include "FS.h" - // Check cores/esp32/esp_arduino_version.h - #if ( ESP_ARDUINO_VERSION >= ESP_ARDUINO_VERSION_VAL(2, 0, 0) ) //(ESP_ARDUINO_VERSION_MAJOR >= 2) + // Check cores/esp32/esp_arduino_version.h and cores/esp32/core_version.h + //#if ( ESP_ARDUINO_VERSION >= ESP_ARDUINO_VERSION_VAL(2, 0, 0) ) //(ESP_ARDUINO_VERSION_MAJOR >= 2) + #if ( defined(ESP_ARDUINO_VERSION_MAJOR) && (ESP_ARDUINO_VERSION_MAJOR >= 2) ) #warning Using ESP32 Core 1.0.6 or 2.0.0+ // The library has been merged into esp32 core from release 1.0.6 #include @@ -76,7 +77,7 @@ #define FileFS LittleFS #define FS_Name "LittleFS" #else - #warning Using ESP32 Core 1.0.4-. You must install LITTLEFS library + #warning Using ESP32 Core 1.0.5-. You must install LITTLEFS library // The library has been merged into esp32 core from release 1.0.6 #include // https://github.com/lorol/LITTLEFS diff --git a/examples/Async_ESP32_FSWebServer/Async_ESP32_FSWebServer.ino b/examples/Async_ESP32_FSWebServer/Async_ESP32_FSWebServer.ino index cd6fa7be..1b9df6a1 100644 --- a/examples/Async_ESP32_FSWebServer/Async_ESP32_FSWebServer.ino +++ b/examples/Async_ESP32_FSWebServer/Async_ESP32_FSWebServer.ino @@ -34,7 +34,7 @@ #error This code is intended to run only on the ESP32 platform! Please check your Tools->Board setting. #endif -#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.2" +#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.6" // Use from 0 to 4. Higher number, more debugging messages and memory usage. #define _ESPASYNC_WIFIMGR_LOGLEVEL_ 3 @@ -66,24 +66,25 @@ WiFiMulti wifiMulti; // Use LittleFS #include "FS.h" - // Check cores/esp32/esp_arduino_version.h - #if ( ESP_ARDUINO_VERSION >= ESP_ARDUINO_VERSION_VAL(2, 0, 0) ) //(ESP_ARDUINO_VERSION_MAJOR >= 2) - #warning Using ESP32 Core 1.0.6 or 2.0.0+ - // The library has been merged into esp32 core from release 1.0.6 - #include - - FS* filesystem = &LittleFS; - #define FileFS LittleFS - #define FS_Name "LittleFS" - #else - #warning Using ESP32 Core 1.0.4-. You must install LITTLEFS library - // The library has been merged into esp32 core from release 1.0.6 - #include // https://github.com/lorol/LITTLEFS - - FS* filesystem = &LITTLEFS; - #define FileFS LITTLEFS - #define FS_Name "LittleFS" - #endif + // Check cores/esp32/esp_arduino_version.h and cores/esp32/core_version.h + //#if ( ESP_ARDUINO_VERSION >= ESP_ARDUINO_VERSION_VAL(2, 0, 0) ) //(ESP_ARDUINO_VERSION_MAJOR >= 2) + #if ( defined(ESP_ARDUINO_VERSION_MAJOR) && (ESP_ARDUINO_VERSION_MAJOR >= 2) ) + #warning Using ESP32 Core 1.0.6 or 2.0.0+ + // The library has been merged into esp32 core from release 1.0.6 + #include + + FS* filesystem = &LittleFS; + #define FileFS LittleFS + #define FS_Name "LittleFS" + #else + #warning Using ESP32 Core 1.0.5-. You must install LITTLEFS library + // The library has been merged into esp32 core from release 1.0.6 + #include // https://github.com/lorol/LITTLEFS + + FS* filesystem = &LITTLEFS; + #define FileFS LITTLEFS + #define FS_Name "LittleFS" + #endif #elif USE_SPIFFS #include diff --git a/examples/Async_ESP32_FSWebServer_DRD/Async_ESP32_FSWebServer_DRD.ino b/examples/Async_ESP32_FSWebServer_DRD/Async_ESP32_FSWebServer_DRD.ino index d2b79ee2..b20ad8d6 100644 --- a/examples/Async_ESP32_FSWebServer_DRD/Async_ESP32_FSWebServer_DRD.ino +++ b/examples/Async_ESP32_FSWebServer_DRD/Async_ESP32_FSWebServer_DRD.ino @@ -34,7 +34,7 @@ #error This code is intended to run only on the ESP32 platform! Please check your Tools->Board setting. #endif -#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.2" +#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.6" // Use from 0 to 4. Higher number, more debugging messages and memory usage. #define _ESPASYNC_WIFIMGR_LOGLEVEL_ 3 @@ -66,24 +66,25 @@ WiFiMulti wifiMulti; // Use LittleFS #include "FS.h" - // Check cores/esp32/esp_arduino_version.h - #if ( ESP_ARDUINO_VERSION >= ESP_ARDUINO_VERSION_VAL(2, 0, 0) ) //(ESP_ARDUINO_VERSION_MAJOR >= 2) - #warning Using ESP32 Core 1.0.6 or 2.0.0+ - // The library has been merged into esp32 core from release 1.0.6 - #include - - FS* filesystem = &LittleFS; - #define FileFS LittleFS - #define FS_Name "LittleFS" - #else - #warning Using ESP32 Core 1.0.4-. You must install LITTLEFS library - // The library has been merged into esp32 core from release 1.0.6 - #include // https://github.com/lorol/LITTLEFS - - FS* filesystem = &LITTLEFS; - #define FileFS LITTLEFS - #define FS_Name "LittleFS" - #endif + // Check cores/esp32/esp_arduino_version.h and cores/esp32/core_version.h + //#if ( ESP_ARDUINO_VERSION >= ESP_ARDUINO_VERSION_VAL(2, 0, 0) ) //(ESP_ARDUINO_VERSION_MAJOR >= 2) + #if ( defined(ESP_ARDUINO_VERSION_MAJOR) && (ESP_ARDUINO_VERSION_MAJOR >= 2) ) + #warning Using ESP32 Core 1.0.6 or 2.0.0+ + // The library has been merged into esp32 core from release 1.0.6 + #include + + FS* filesystem = &LittleFS; + #define FileFS LittleFS + #define FS_Name "LittleFS" + #else + #warning Using ESP32 Core 1.0.5-. You must install LITTLEFS library + // The library has been merged into esp32 core from release 1.0.6 + #include // https://github.com/lorol/LITTLEFS + + FS* filesystem = &LITTLEFS; + #define FileFS LITTLEFS + #define FS_Name "LittleFS" + #endif #elif USE_SPIFFS #include diff --git a/examples/Async_ESP_FSWebServer/Async_ESP_FSWebServer.ino b/examples/Async_ESP_FSWebServer/Async_ESP_FSWebServer.ino index ded5fd1f..5be267cd 100644 --- a/examples/Async_ESP_FSWebServer/Async_ESP_FSWebServer.ino +++ b/examples/Async_ESP_FSWebServer/Async_ESP_FSWebServer.ino @@ -34,7 +34,7 @@ #error This code is intended to run on the ESP8266 platform! Please check your Tools->Board setting. #endif -#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.2" +#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.6" // Use from 0 to 4. Higher number, more debugging messages and memory usage. #define _ESPASYNC_WIFIMGR_LOGLEVEL_ 3 diff --git a/examples/Async_ESP_FSWebServer_DRD/Async_ESP_FSWebServer_DRD.ino b/examples/Async_ESP_FSWebServer_DRD/Async_ESP_FSWebServer_DRD.ino index 5f083d4c..a0ea9539 100644 --- a/examples/Async_ESP_FSWebServer_DRD/Async_ESP_FSWebServer_DRD.ino +++ b/examples/Async_ESP_FSWebServer_DRD/Async_ESP_FSWebServer_DRD.ino @@ -34,7 +34,7 @@ #error This code is intended to run on the ESP8266 platform! Please check your Tools->Board setting. #endif -#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.2" +#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.6" // Use from 0 to 4. Higher number, more debugging messages and memory usage. #define _ESPASYNC_WIFIMGR_LOGLEVEL_ 3 diff --git a/examples/ModelessConnect/ModelessConnect.ino b/examples/ModelessConnect/ModelessConnect.ino index a1eb1ae8..fefdf79a 100644 --- a/examples/ModelessConnect/ModelessConnect.ino +++ b/examples/ModelessConnect/ModelessConnect.ino @@ -19,7 +19,7 @@ #error This code is intended to run on the ESP8266 or ESP32 platform! Please check your Tools->Board setting. #endif -#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.2" +#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.6" // Use from 0 to 4. Higher number, more debugging messages and memory usage. #define _ESPASYNC_WIFIMGR_LOGLEVEL_ 3 diff --git a/examples/ModelessWithInterrupts/ModelessWithInterrupts.ino b/examples/ModelessWithInterrupts/ModelessWithInterrupts.ino index 92702ce5..4ba56ab5 100644 --- a/examples/ModelessWithInterrupts/ModelessWithInterrupts.ino +++ b/examples/ModelessWithInterrupts/ModelessWithInterrupts.ino @@ -19,7 +19,7 @@ #error This code is intended to run on the ESP8266! Please check your Tools->Board setting. #endif -#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.2" +#define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.6" // Use from 0 to 4. Higher number, more debugging messages and memory usage. #define _ESPASYNC_WIFIMGR_LOGLEVEL_ 3 diff --git a/library.json b/library.json index 8d3c81ab..8e75cc16 100644 --- a/library.json +++ b/library.json @@ -1,6 +1,6 @@ { "name": "ESPAsync_WiFiManager", - "version": "1.9.5", + "version": "1.9.6", "keywords": "wifi, wi-fi, WiFiManager, esp8266, esp32, esp32-s2, esp32-c3, AsyncWebServer, Async-WebServer, Async-WiFiManager, MultiWiFi, Async, Communication, Credentials, Config-Portal, DoubleReset, MultiReset, littlefs, spiffs, eeprom, dns-server, iot", "description": "ESP32 (including ESP32-S2 and ESP32-C3), ESP8266 WiFi Connection Manager using AsyncWebServer, with enhanced GUI and fallback Web ConfigPortal. This Library is used for configuring ESP32 (including ESP32-S2 and ESP32-C3), ESP8266 modules WiFi Credentials at runtime. You can also specify static DNS servers, personalized HostName, fixed or random AP channel. Now with MultiWiFi auto(Re)connect, configurable CORS Header and auto-Timezone features. Auto detect ESP32 core and use either built-in LittleFS or external LITTLEFS library", "authors": @@ -44,7 +44,7 @@ { "owner": "khoih-prog", "name": "ESP_DoubleResetDetector", - "version": ">=1.2.0", + "version": ">=1.2.1", "platforms": ["espressif8266", "espressif32"] }, { diff --git a/library.properties b/library.properties index 39ebbfb2..0c15adaf 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=ESPAsync_WiFiManager -version=1.9.5 +version=1.9.6 author=Khoi Hoang maintainer=Khoi Hoang license=MIT diff --git a/platformio/platformio.ini b/platformio/platformio.ini index 71bbf5b3..e369eb80 100644 --- a/platformio/platformio.ini +++ b/platformio/platformio.ini @@ -35,13 +35,13 @@ lib_deps = ; ESP Async WebServer@>=1.2.3 ; ESPAsyncTCP@>=1.2.2 ; AsyncTCP@>=1.1.1 -; ESP_DoubleResetDetector@>=1.2.0 +; ESP_DoubleResetDetector@>=1.2.1 ; LittleFS_esp32@>=1.0.6 ; PlatformIO 5.x me-no-dev/ESP Async WebServer@>=1.2.3 me-no-dev/ESPAsyncTCP@>=1.2.2 me-no-dev/AsyncTCP@>=1.1.1 - khoih-prog/ESP_DoubleResetDetector@>=1.2.0 + khoih-prog/ESP_DoubleResetDetector@>=1.2.1 lorol/LittleFS_esp32@>=1.0.6 build_flags = diff --git a/src/ESPAsync_WiFiManager-Impl.h b/src/ESPAsync_WiFiManager-Impl.h index 93a18403..935d7686 100644 --- a/src/ESPAsync_WiFiManager-Impl.h +++ b/src/ESPAsync_WiFiManager-Impl.h @@ -14,7 +14,7 @@ Built by Khoi Hoang https://github.com/khoih-prog/ESPAsync_WiFiManager Licensed under MIT license - Version: 1.9.5 + Version: 1.9.6 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -44,6 +44,7 @@ 1.9.3 K Hoang 13/08/2021 Add WiFi scanning of hidden SSIDs 1.9.4 K Hoang 10/10/2021 Update `platform.ini` and `library.json` 1.9.5 K Hoang 26/11/2021 Auto detect ESP32 core and use either built-in LittleFS or LITTLEFS library + 1.9.6 K Hoang 26/11/2021 Fix compile error for ESP32 core v1.0.5- *****************************************************************************************************************************/ #pragma once diff --git a/src/ESPAsync_WiFiManager.h b/src/ESPAsync_WiFiManager.h index 7959807c..faaf9b12 100644 --- a/src/ESPAsync_WiFiManager.h +++ b/src/ESPAsync_WiFiManager.h @@ -14,7 +14,7 @@ Built by Khoi Hoang https://github.com/khoih-prog/ESPAsync_WiFiManager Licensed under MIT license - Version: 1.9.5 + Version: 1.9.6 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -44,6 +44,7 @@ 1.9.3 K Hoang 13/08/2021 Add WiFi scanning of hidden SSIDs 1.9.4 K Hoang 10/10/2021 Update `platform.ini` and `library.json` 1.9.5 K Hoang 26/11/2021 Auto detect ESP32 core and use either built-in LittleFS or LITTLEFS library + 1.9.6 K Hoang 26/11/2021 Fix compile error for ESP32 core v1.0.5- *****************************************************************************************************************************/ #pragma once @@ -65,7 +66,7 @@ #define USING_ESP32_C3 true #endif -#define ESP_ASYNC_WIFIMANAGER_VERSION "ESPAsync_WiFiManager v1.9.5" +#define ESP_ASYNC_WIFIMANAGER_VERSION "ESPAsync_WiFiManager v1.9.6" #if ESP8266 #if (ARDUINO_ESP8266_GIT_VER == 0xcf6ff4c4) diff --git a/src/ESPAsync_WiFiManager_Debug.h b/src/ESPAsync_WiFiManager_Debug.h index c6e7f3a6..71ddbdf4 100644 --- a/src/ESPAsync_WiFiManager_Debug.h +++ b/src/ESPAsync_WiFiManager_Debug.h @@ -14,7 +14,7 @@ Built by Khoi Hoang https://github.com/khoih-prog/ESPAsync_WiFiManager Licensed under MIT license - Version: 1.9.5 + Version: 1.9.6 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -44,6 +44,7 @@ 1.9.3 K Hoang 13/08/2021 Add WiFi scanning of hidden SSIDs 1.9.4 K Hoang 10/10/2021 Update `platform.ini` and `library.json` 1.9.5 K Hoang 26/11/2021 Auto detect ESP32 core and use either built-in LittleFS or LITTLEFS library + 1.9.6 K Hoang 26/11/2021 Fix compile error for ESP32 core v1.0.5- *****************************************************************************************************************************/ #pragma once diff --git a/src_cpp/ESPAsync_WiFiManager.cpp b/src_cpp/ESPAsync_WiFiManager.cpp index 3d50c244..4a6301d6 100644 --- a/src_cpp/ESPAsync_WiFiManager.cpp +++ b/src_cpp/ESPAsync_WiFiManager.cpp @@ -14,7 +14,7 @@ Built by Khoi Hoang https://github.com/khoih-prog/ESPAsync_WiFiManager Licensed under MIT license - Version: 1.9.5 + Version: 1.9.6 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -44,6 +44,7 @@ 1.9.3 K Hoang 13/08/2021 Add WiFi scanning of hidden SSIDs 1.9.4 K Hoang 10/10/2021 Update `platform.ini` and `library.json` 1.9.5 K Hoang 26/11/2021 Auto detect ESP32 core and use either built-in LittleFS or LITTLEFS library + 1.9.6 K Hoang 26/11/2021 Fix compile error for ESP32 core v1.0.5- *****************************************************************************************************************************/ #include "ESPAsync_WiFiManager.h" diff --git a/src_cpp/ESPAsync_WiFiManager.h b/src_cpp/ESPAsync_WiFiManager.h index 23fe2811..1dcc82bf 100644 --- a/src_cpp/ESPAsync_WiFiManager.h +++ b/src_cpp/ESPAsync_WiFiManager.h @@ -14,7 +14,7 @@ Built by Khoi Hoang https://github.com/khoih-prog/ESPAsync_WiFiManager Licensed under MIT license - Version: 1.9.5 + Version: 1.9.6 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -44,6 +44,7 @@ 1.9.3 K Hoang 13/08/2021 Add WiFi scanning of hidden SSIDs 1.9.4 K Hoang 10/10/2021 Update `platform.ini` and `library.json` 1.9.5 K Hoang 26/11/2021 Auto detect ESP32 core and use either built-in LittleFS or LITTLEFS library + 1.9.6 K Hoang 26/11/2021 Fix compile error for ESP32 core v1.0.5- *****************************************************************************************************************************/ #pragma once @@ -65,7 +66,7 @@ #define USING_ESP32_C3 true #endif -#define ESP_ASYNC_WIFIMANAGER_VERSION "ESPAsync_WiFiManager v1.9.5" +#define ESP_ASYNC_WIFIMANAGER_VERSION "ESPAsync_WiFiManager v1.9.6" #if ESP8266 #if (ARDUINO_ESP8266_GIT_VER == 0xcf6ff4c4) diff --git a/src_cpp/ESPAsync_WiFiManager_Debug.h b/src_cpp/ESPAsync_WiFiManager_Debug.h index c6e7f3a6..71ddbdf4 100644 --- a/src_cpp/ESPAsync_WiFiManager_Debug.h +++ b/src_cpp/ESPAsync_WiFiManager_Debug.h @@ -14,7 +14,7 @@ Built by Khoi Hoang https://github.com/khoih-prog/ESPAsync_WiFiManager Licensed under MIT license - Version: 1.9.5 + Version: 1.9.6 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -44,6 +44,7 @@ 1.9.3 K Hoang 13/08/2021 Add WiFi scanning of hidden SSIDs 1.9.4 K Hoang 10/10/2021 Update `platform.ini` and `library.json` 1.9.5 K Hoang 26/11/2021 Auto detect ESP32 core and use either built-in LittleFS or LITTLEFS library + 1.9.6 K Hoang 26/11/2021 Fix compile error for ESP32 core v1.0.5- *****************************************************************************************************************************/ #pragma once diff --git a/src_h/ESPAsync_WiFiManager-Impl.h b/src_h/ESPAsync_WiFiManager-Impl.h index 93a18403..935d7686 100644 --- a/src_h/ESPAsync_WiFiManager-Impl.h +++ b/src_h/ESPAsync_WiFiManager-Impl.h @@ -14,7 +14,7 @@ Built by Khoi Hoang https://github.com/khoih-prog/ESPAsync_WiFiManager Licensed under MIT license - Version: 1.9.5 + Version: 1.9.6 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -44,6 +44,7 @@ 1.9.3 K Hoang 13/08/2021 Add WiFi scanning of hidden SSIDs 1.9.4 K Hoang 10/10/2021 Update `platform.ini` and `library.json` 1.9.5 K Hoang 26/11/2021 Auto detect ESP32 core and use either built-in LittleFS or LITTLEFS library + 1.9.6 K Hoang 26/11/2021 Fix compile error for ESP32 core v1.0.5- *****************************************************************************************************************************/ #pragma once diff --git a/src_h/ESPAsync_WiFiManager.h b/src_h/ESPAsync_WiFiManager.h index 7959807c..faaf9b12 100644 --- a/src_h/ESPAsync_WiFiManager.h +++ b/src_h/ESPAsync_WiFiManager.h @@ -14,7 +14,7 @@ Built by Khoi Hoang https://github.com/khoih-prog/ESPAsync_WiFiManager Licensed under MIT license - Version: 1.9.5 + Version: 1.9.6 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -44,6 +44,7 @@ 1.9.3 K Hoang 13/08/2021 Add WiFi scanning of hidden SSIDs 1.9.4 K Hoang 10/10/2021 Update `platform.ini` and `library.json` 1.9.5 K Hoang 26/11/2021 Auto detect ESP32 core and use either built-in LittleFS or LITTLEFS library + 1.9.6 K Hoang 26/11/2021 Fix compile error for ESP32 core v1.0.5- *****************************************************************************************************************************/ #pragma once @@ -65,7 +66,7 @@ #define USING_ESP32_C3 true #endif -#define ESP_ASYNC_WIFIMANAGER_VERSION "ESPAsync_WiFiManager v1.9.5" +#define ESP_ASYNC_WIFIMANAGER_VERSION "ESPAsync_WiFiManager v1.9.6" #if ESP8266 #if (ARDUINO_ESP8266_GIT_VER == 0xcf6ff4c4) diff --git a/src_h/ESPAsync_WiFiManager_Debug.h b/src_h/ESPAsync_WiFiManager_Debug.h index c6e7f3a6..71ddbdf4 100644 --- a/src_h/ESPAsync_WiFiManager_Debug.h +++ b/src_h/ESPAsync_WiFiManager_Debug.h @@ -14,7 +14,7 @@ Built by Khoi Hoang https://github.com/khoih-prog/ESPAsync_WiFiManager Licensed under MIT license - Version: 1.9.5 + Version: 1.9.6 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -44,6 +44,7 @@ 1.9.3 K Hoang 13/08/2021 Add WiFi scanning of hidden SSIDs 1.9.4 K Hoang 10/10/2021 Update `platform.ini` and `library.json` 1.9.5 K Hoang 26/11/2021 Auto detect ESP32 core and use either built-in LittleFS or LITTLEFS library + 1.9.6 K Hoang 26/11/2021 Fix compile error for ESP32 core v1.0.5- *****************************************************************************************************************************/ #pragma once