@@ -200,7 +200,7 @@ This [**ESPAsync_WiFiManager** library](https://github.com/khoih-prog/ESPAsync_W
200
200
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.
201
201
5 . [ ` ESPAsyncTCP v1.2.2+ ` ] ( https://github.com/me-no-dev/ESPAsyncTCP ) for ESP8266-based boards.
202
202
6 . [ ` AsyncTCP v1.1.1+ ` ] ( https://github.com/me-no-dev/AsyncTCP ) for ESP32-based boards
203
- 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.
203
+ 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.
204
204
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+
205
205
206
206
---
@@ -378,13 +378,26 @@ then connect WebBrowser to configurable ConfigPortal IP address, default is 192.
378
378
// Use LittleFS
379
379
#include "FS.h"
380
380
381
- // The library will be depreciated after being merged to future major Arduino esp32 core release 2.x
382
- // At that time, just remove this library inclusion
383
- #include <LITTLEFS.h> // https://github.com/lorol/LITTLEFS
381
+ // Check cores/esp32/esp_arduino_version.h and cores/esp32/core_version.h
382
+ //#if ( ESP_ARDUINO_VERSION >= ESP_ARDUINO_VERSION_VAL(2, 0, 0) ) //(ESP_ARDUINO_VERSION_MAJOR >= 2)
383
+ #if ( defined(ESP_ARDUINO_VERSION_MAJOR) && (ESP_ARDUINO_VERSION_MAJOR >= 2) )
384
+ #warning Using ESP32 Core 1.0.6 or 2.0.0+
385
+ // The library has been merged into esp32 core from release 1.0.6
386
+ #include <LittleFS.h>
387
+
388
+ FS* filesystem = &LittleFS;
389
+ #define FileFS LittleFS
390
+ #define FS_Name "LittleFS"
391
+ #else
392
+ #warning Using ESP32 Core 1.0.5-. You must install LITTLEFS library
393
+ // The library has been merged into esp32 core from release 1.0.6
394
+ #include <LITTLEFS.h> // https://github.com/lorol/LITTLEFS
395
+
396
+ FS* filesystem = &LITTLEFS;
397
+ #define FileFS LITTLEFS
398
+ #define FS_Name "LittleFS"
399
+ #endif
384
400
385
- FS* filesystem = &LITTLEFS;
386
- #define FileFS LITTLEFS
387
- #define FS_Name "LittleFS"
388
401
#elif USE_SPIFFS
389
402
#include < SPIFFS.h>
390
403
FS* filesystem = &SPIFFS;
@@ -507,8 +520,9 @@ WM_Config WM_config;
507
520
// Use LittleFS
508
521
#include "FS.h"
509
522
510
- // Check cores/esp32/esp_arduino_version.h
511
- #if ( ESP_ARDUINO_VERSION >= ESP_ARDUINO_VERSION_VAL(2, 0, 0) ) //(ESP_ARDUINO_VERSION_MAJOR >= 2)
523
+ // Check cores/esp32/esp_arduino_version.h and cores/esp32/core_version.h
524
+ //#if ( ESP_ARDUINO_VERSION >= ESP_ARDUINO_VERSION_VAL(2, 0, 0) ) //(ESP_ARDUINO_VERSION_MAJOR >= 2)
525
+ #if ( defined(ESP_ARDUINO_VERSION_MAJOR) && (ESP_ARDUINO_VERSION_MAJOR >= 2) )
512
526
#warning Using ESP32 Core 1.0.6 or 2.0.0+
513
527
// The library has been merged into esp32 core from release 1.0.6
514
528
#include <LittleFS.h>
@@ -517,7 +531,7 @@ WM_Config WM_config;
517
531
#define FileFS LittleFS
518
532
#define FS_Name "LittleFS"
519
533
#else
520
- #warning Using ESP32 Core 1.0.4 -. You must install LITTLEFS library
534
+ #warning Using ESP32 Core 1.0.5 -. You must install LITTLEFS library
521
535
// The library has been merged into esp32 core from release 1.0.6
522
536
#include <LITTLEFS.h> // https://github.com/lorol/LITTLEFS
523
537
@@ -2095,7 +2109,7 @@ ESPAsync_wifiManager.setRemoveDuplicateAPs(false);
2095
2109
#error This code is intended to run on the ESP8266 or ESP32 platform! Please check your Tools->Board setting.
2096
2110
#endif
2097
2111
2098
- #define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.5 "
2112
+ #define ESP_ASYNC_WIFIMANAGER_VERSION_MIN_TARGET "ESPAsync_WiFiManager v1.9.6 "
2099
2113
2100
2114
// Use from 0 to 4. Higher number, more debugging messages and memory usage.
2101
2115
#define _ESPASYNC_WIFIMGR_LOGLEVEL_ 3
@@ -2130,8 +2144,9 @@ ESPAsync_wifiManager.setRemoveDuplicateAPs(false);
2130
2144
// Use LittleFS
2131
2145
#include "FS.h"
2132
2146
2133
- // Check cores/esp32/esp_arduino_version.h
2134
- #if ( ESP_ARDUINO_VERSION >= ESP_ARDUINO_VERSION_VAL(2, 0, 0) ) //(ESP_ARDUINO_VERSION_MAJOR >= 2)
2147
+ // Check cores/esp32/esp_arduino_version.h and cores/esp32/core_version.h
2148
+ //#if ( ESP_ARDUINO_VERSION >= ESP_ARDUINO_VERSION_VAL(2, 0, 0) ) //(ESP_ARDUINO_VERSION_MAJOR >= 2)
2149
+ #if ( defined(ESP_ARDUINO_VERSION_MAJOR) && (ESP_ARDUINO_VERSION_MAJOR >= 2) )
2135
2150
#warning Using ESP32 Core 1.0.6 or 2.0.0+
2136
2151
// The library has been merged into esp32 core from release 1.0.6
2137
2152
#include <LittleFS.h>
@@ -2140,7 +2155,7 @@ ESPAsync_wifiManager.setRemoveDuplicateAPs(false);
2140
2155
#define FileFS LittleFS
2141
2156
#define FS_Name "LittleFS"
2142
2157
#else
2143
- #warning Using ESP32 Core 1.0.4 -. You must install LITTLEFS library
2158
+ #warning Using ESP32 Core 1.0.5 -. You must install LITTLEFS library
2144
2159
// The library has been merged into esp32 core from release 1.0.6
2145
2160
#include <LITTLEFS.h> // https://github.com/lorol/LITTLEFS
2146
2161
@@ -3460,8 +3475,8 @@ This is terminal debug output when running [Async_ConfigOnDRD_FS_MQTT_Ptr_Medium
3460
3475
3461
3476
```
3462
3477
Starting Async_ConfigOnDRD_FS_MQTT_Ptr_Medium using LittleFS on ESP32_DEV
3463
- ESPAsync_WiFiManager v1.9.5
3464
- ESP_DoubleResetDetector v1.2.0
3478
+ ESPAsync_WiFiManager v1.9.6
3479
+ ESP_DoubleResetDetector v1.2.1
3465
3480
Config File not found
3466
3481
Can't read Config File, using default values
3467
3482
LittleFS Flag read = 0xd0d01234
@@ -3479,8 +3494,8 @@ Opening Configuration Portal. No timeout : DRD or No stored Credentials..
3479
3494
3480
3495
```
3481
3496
Starting Async_ConfigOnDRD_FS_MQTT_Ptr_Medium using LittleFS on ESP32_DEV
3482
- ESPAsync_WiFiManager v1.9.5
3483
- ESP_DoubleResetDetector v1.2.0
3497
+ ESPAsync_WiFiManager v1.9.6
3498
+ ESP_DoubleResetDetector v1.2.1
3484
3499
Config File not found
3485
3500
Can't read Config File, using default values
3486
3501
LittleFS Flag read = 0xd0d04321
@@ -3567,8 +3582,8 @@ This is terminal debug output when running [Async_ConfigOnDRD_FS_MQTT_Ptr_Comple
3567
3582
3568
3583
```
3569
3584
Starting Async_ConfigOnDRD_FS_MQTT_Ptr_Complex using LittleFS on ESP8266_NODEMCU_ESP12E
3570
- ESPAsync_WiFiManager v1.9.5
3571
- ESP_DoubleResetDetector v1.2.0
3585
+ ESPAsync_WiFiManager v1.9.6
3586
+ ESP_DoubleResetDetector v1.2.1
3572
3587
{"AIO_SERVER_Label":"io.adafruit.com","AIO_SERVERPORT_Label":"1883","AIO_USERNAME_Label":"user_name","AIO_KEY_Label":"aio_key"}
3573
3588
Config File successfully parsed
3574
3589
LittleFS Flag read = 0xd0d04321
@@ -3607,8 +3622,8 @@ TWWWW WTWWW
3607
3622
3608
3623
```
3609
3624
Starting Async_ConfigOnDRD_FS_MQTT_Ptr_Complex using LittleFS on ESP8266_NODEMCU_ESP12E
3610
- ESPAsync_WiFiManager v1.9.5
3611
- ESP_DoubleResetDetector v1.2.0
3625
+ ESPAsync_WiFiManager v1.9.6
3626
+ ESP_DoubleResetDetector v1.2.1
3612
3627
{"AIO_SERVER_Label":"io.adafruit.com","AIO_SERVERPORT_Label":"1883","AIO_USERNAME_Label":"user_name","AIO_KEY_Label":"aio_key"}
3613
3628
Config File successfully parsed
3614
3629
LittleFS Flag read = 0xd0d01234
@@ -3697,8 +3712,8 @@ This is terminal debug output when running [Async_ConfigOnDoubleReset](examples/
3697
3712
3698
3713
```cpp
3699
3714
Starting Async_ConfigOnDoubleReset with DoubleResetDetect using SPIFFS on ESP32_DEV
3700
- ESPAsync_WiFiManager v1.9.5
3701
- ESP_DoubleResetDetector v1.2.0
3715
+ ESPAsync_WiFiManager v1.9.6
3716
+ ESP_DoubleResetDetector v1.2.1
3702
3717
[WM] RFC925 Hostname = ConfigOnDoubleReset
3703
3718
[WM] setSTAStaticIPConfig for USE_CONFIGURABLE_DNS
3704
3719
[WM] Set CORS Header to : Your Access-Control-Allow-Origin
@@ -3756,8 +3771,8 @@ This is terminal debug output when running [Async_ConfigOnDoubleReset](examples/
3756
3771
3757
3772
``` cpp
3758
3773
Starting Async_ConfigOnDoubleReset with DoubleResetDetect using LittleFS on ESP8266_NODEMCU_ESP12E
3759
- ESPAsync_WiFiManager v1.9.5
3760
- ESP_DoubleResetDetector v1.2.0
3774
+ ESPAsync_WiFiManager v1.9.6
3775
+ ESP_DoubleResetDetector v1.2.1
3761
3776
[WM] RFC925 Hostname = ConfigOnDoubleReset
3762
3777
[WM] setSTAStaticIPConfig for USE_CONFIGURABLE_DNS
3763
3778
[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/
3816
3831
3817
3832
```cpp
3818
3833
Starting Async_ESP_FSWebServer_DRD using LittleFS on ESP8266_NODEMCU_ESP12E
3819
- ESPAsync_WiFiManager v1.9.5
3820
- ESP_DoubleResetDetector v1.2.0
3834
+ ESPAsync_WiFiManager v1.9.6
3835
+ ESP_DoubleResetDetector v1.2.1
3821
3836
Opening / directory
3822
3837
FS File: CanadaFlag_1.png, size: 40.25KB
3823
3838
FS File: CanadaFlag_2.png, size: 8.12KB
@@ -3894,8 +3909,8 @@ This is terminal debug output when running [Async_ESP32_FSWebServer_DRD](example
3894
3909
3895
3910
```
3896
3911
Starting Async_ESP32_FSWebServer_DRD using LittleFS on ESP32_DEV
3897
- ESPAsync_WiFiManager v1.9.5
3898
- ESP_DoubleResetDetector v1.2.0
3912
+ ESPAsync_WiFiManager v1.9.6
3913
+ ESP_DoubleResetDetector v1.2.1
3899
3914
FS File: /CanadaFlag_1.png, size: 40.25KB
3900
3915
FS File: /CanadaFlag_2.png, size: 8.12KB
3901
3916
FS File: /CanadaFlag_3.jpg, size: 10.89KB
@@ -4005,8 +4020,8 @@ This is terminal debug output when running [Async_ConfigOnDoubleReset](examples/
4005
4020
4006
4021
```
4007
4022
Starting Async_ConfigOnDoubleReset using LittleFS on ESP32S2_DEV
4008
- ESPAsync_WiFiManager v1.9.5
4009
- ESP_DoubleResetDetector v1.2.0
4023
+ ESPAsync_WiFiManager v1.9.6
4024
+ ESP_DoubleResetDetector v1.2.1
4010
4025
ESP Self-Stored: SSID = HueNet1, Pass = 12345678
4011
4026
[WM] * Add SSID = HueNet1 , PW = 12345678
4012
4027
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
4042
4057
4043
4058
```
4044
4059
Starting Async_ConfigOnDoubleReset_TZ using LittleFS on ESP32_DEV
4045
- ESPAsync_WiFiManager v1.9.5
4046
- ESP_DoubleResetDetector v1.2.0
4060
+ ESPAsync_WiFiManager v1.9.6
4061
+ ESP_DoubleResetDetector v1.2.1
4047
4062
ESP Self-Stored: SSID = HueNet1, Pass = password
4048
4063
[WM] * Add SSID = HueNet1 , PW = password
4049
4064
Got ESP Self-Stored Credentials. Timeout 120s for Config Portal
@@ -4086,8 +4101,8 @@ Local Date/Time: Sat May 1 00:17:30 2021
4086
4101
4087
4102
```
4088
4103
Starting Async_ConfigOnDoubleReset_TZ using LittleFS on ESP32_DEV
4089
- ESPAsync_WiFiManager v1.9.5
4090
- ESP_DoubleResetDetector v1.2.0
4104
+ ESPAsync_WiFiManager v1.9.6
4105
+ ESP_DoubleResetDetector v1.2.1
4091
4106
ESP Self-Stored: SSID = HueNet1, Pass = password
4092
4107
[WM] * Add SSID = HueNet1 , PW = password
4093
4108
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/
4133
4148
4134
4149
```
4135
4150
Starting Async_ESP_FSWebServer_DRD using LittleFS on ESP8266_NODEMCU_ESP12E
4136
- ESPAsync_WiFiManager v1.9.5
4137
- ESP_DoubleResetDetector v1.2.0
4151
+ ESPAsync_WiFiManager v1.9.6
4152
+ ESP_DoubleResetDetector v1.2.1
4138
4153
Opening / directory
4139
4154
FS File: drd.dat, size: 4B
4140
4155
FS File: wifi_cred.dat, size: 334B
@@ -4206,8 +4221,8 @@ Local Date/Time: Sat May 1 03:12:54 2021
4206
4221
4207
4222
```
4208
4223
Starting Async_ESP_FSWebServer_DRD using LittleFS on ESP8266_NODEMCU_ESP12E
4209
- ESPAsync_WiFiManager v1.9.5
4210
- ESP_DoubleResetDetector v1.2.0
4224
+ ESPAsync_WiFiManager v1.9.6
4225
+ ESP_DoubleResetDetector v1.2.1
4211
4226
Opening / directory
4212
4227
FS File: drd.dat, size: 4B
4213
4228
FS File: wifi_cred.dat, size: 334B
@@ -4265,8 +4280,8 @@ This is terminal debug output when running [Async_ConfigOnDoubleReset_TZ](exampl
4265
4280
4266
4281
```
4267
4282
Starting Async_ConfigOnDoubleReset_TZ using SPIFFS on ESP32C3_DEV
4268
- ESPAsync_WiFiManager v1.9.5
4269
- ESP_DoubleResetDetector v1.2.0
4283
+ ESPAsync_WiFiManager v1.9.6
4284
+ ESP_DoubleResetDetector v1.2.1
4270
4285
ESP Self-Stored: SSID = HueNet1, Pass = 12345678
4271
4286
[WM] * Add SSID = HueNet1 , PW = 12345678
4272
4287
Got ESP Self-Stored Credentials. Timeout 120s for Config Portal
0 commit comments