Skip to content
This repository was archived by the owner on Feb 4, 2023. It is now read-only.

Commit 58804b0

Browse files
authored
v1.6.0 to autodetect ESP32 core version
### Release v1.6.0 1. Auto detect ESP32 core and use either built-in LittleFS or [LITTLEFS](https://github.com/lorol/LITTLEFS) library. 2. Fix bug returning IP `255.255.255.255` in core v2.0.0+ when using `hostname`
1 parent d54e995 commit 58804b0

File tree

8 files changed

+157
-57
lines changed

8 files changed

+157
-57
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ If you don't find anything, please [open a new issue](https://github.com/khoih-p
1515
Please ensure to specify the following:
1616

1717
* Arduino IDE version (e.g. 1.8.16) or Platform.io version
18-
* `ESP8266` or `ESP32` Core Version (e.g. ESP8266 core v3.0.2 or ESP32 v2.0.0)
18+
* `ESP8266` or `ESP32` Core Version (e.g. ESP8266 core v3.0.2 or ESP32 v2.0.1)
1919
* Contextual information (e.g. what you were trying to achieve)
2020
* Simplest possible steps to reproduce
2121
* Anything that might be relevant in your opinion, such as:
@@ -29,7 +29,7 @@ Please ensure to specify the following:
2929
Arduino IDE version: 1.8.16
3030
ESP8266 Core Version 3.0.2
3131
OS: Ubuntu 20.04 LTS
32-
Linux xy-Inspiron-3593 5.4.0-86-generic #97-Ubuntu SMP Fri Sep 17 19:19:40 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
32+
Linux xy-Inspiron-3593 5.4.0-90-generic #101-Ubuntu SMP Fri Oct 15 20:00:55 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
3333
3434
Context:
3535
The board couldn't autoreconnect to Local Blynk Server after router power recycling.

README.md

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -163,13 +163,13 @@ This [**ESPAsync_WiFiManager_Lite** library](https://github.com/khoih-prog/ESPAs
163163

164164
1. [`Arduino IDE 1.8.16+` for Arduino](https://www.arduino.cc/en/Main/Software)
165165
2. [`ESP8266 Core 3.0.2+`](https://github.com/esp8266/Arduino) for ESP8266-based boards. [![Latest release](https://img.shields.io/github/release/esp8266/Arduino.svg)](https://github.com/esp8266/Arduino/releases/latest/). To use ESP8266 core 2.7.1+ for LittleFS.
166-
3. [`ESP32 Core 2.0.0+`](https://github.com/espressif/arduino-esp32) for ESP32-based boards. [![Latest release](https://img.shields.io/github/release/espressif/arduino-esp32.svg)](https://github.com/espressif/arduino-esp32/releases/latest/)
166+
3. [`ESP32 Core 2.0.1+`](https://github.com/espressif/arduino-esp32) for ESP32-based boards. [![Latest release](https://img.shields.io/github/release/espressif/arduino-esp32.svg)](https://github.com/espressif/arduino-esp32/releases/latest/)
167167
4. [`ESPAsyncWebServer v1.2.3+`](https://github.com/me-no-dev/ESPAsyncWebServer) for all ESP32/ESP8266-based boards.
168168
5. [`ESPAsyncTCP v1.2.2+`](https://github.com/me-no-dev/ESPAsyncTCP) for ESP8266-based boards.
169169
6. [`AsyncTCP v1.1.1+`](https://github.com/me-no-dev/AsyncTCP) for ESP32-based boards
170-
7. [`ESP_DoubleResetDetector v1.1.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).
171-
8. [`ESP_MultiResetDetector v1.1.1+`](https://github.com/khoih-prog/ESP_MultiResetDetector) if using MRD feature. To install, check [![arduino-library-badge](https://www.ardu-badge.com/badge/ESP_MultiResetDetector.svg?)](https://www.ardu-badge.com/ESP_MultiResetDetector).
172-
9. [`LittleFS_esp32 v1.0.6+`](https://github.com/lorol/LITTLEFS) for ESP32-based boards using LittleFS. 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).
170+
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).
171+
8. [`ESP_MultiResetDetector v1.2.1+`](https://github.com/khoih-prog/ESP_MultiResetDetector) if using MRD feature. To install, check [![arduino-library-badge](https://www.ardu-badge.com/badge/ESP_MultiResetDetector.svg?)](https://www.ardu-badge.com/ESP_MultiResetDetector).
172+
9. [`LittleFS_esp32 v1.0.6+`](https://github.com/lorol/LITTLEFS) for ESP32-based boards using LittleFS with ESP32 core v1.0.5-. 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+
173173

174174
---
175175

@@ -1196,8 +1196,8 @@ This is the terminal output when running [**ESPAsync_WiFi_MQTT**](examples/ESPAs
11961196

11971197
```
11981198
Starting ESPAsync_WiFi_MQTT using LittleFS on ESP32_DEV
1199-
ESPAsync_WiFiManager_Lite v1.5.1
1200-
ESP_MultiResetDetector v1.1.1
1199+
ESPAsync_WiFiManager_Lite v1.6.0
1200+
ESP_MultiResetDetector v1.2.1
12011201
LittleFS Flag read = 0xFFFE0001
12021202
multiResetDetectorFlag = 0xFFFE0001
12031203
lowerBytes = 0x0001, upperBytes = 0x0001
@@ -1271,8 +1271,8 @@ NNN
12711271
12721272
12731273
Starting ESPAsync_WiFi_MQTT using LittleFS on ESP32_DEV
1274-
ESPAsync_WiFiManager_Lite v1.5.1
1275-
ESP_MultiResetDetector v1.1.1
1274+
ESPAsync_WiFiManager_Lite v1.6.0
1275+
ESP_MultiResetDetector v1.2.1
12761276
LittleFS Flag read = 0xFFFE0001
12771277
multiResetDetectorFlag = 0xFFFE0001
12781278
lowerBytes = 0x0001, upperBytes = 0x0001
@@ -1363,8 +1363,8 @@ This is the terminal output when running [**ESPAsync_WiFi_MQTT**](examples/ESPAs
13631363

13641364
```
13651365
Starting ESPAsync_WiFi_MQTT using LittleFS on ESP8266_NODEMCU
1366-
ESPAsync_WiFiManager_Lite v1.5.1
1367-
ESP_MultiResetDetector v1.1.1
1366+
ESPAsync_WiFiManager_Lite v1.6.0
1367+
ESP_MultiResetDetector v1.2.1
13681368
LittleFS Flag read = 0xFFFE0001
13691369
multiResetDetectorFlag = 0xFFFE0001
13701370
lowerBytes = 0x0001, upperBytes = 0x0001
@@ -1438,8 +1438,8 @@ NNN
14381438
14391439
14401440
Starting ESPAsync_WiFi_MQTT using LittleFS on ESP8266_NODEMCU
1441-
ESPAsync_WiFiManager_Lite v1.5.1
1442-
ESP_MultiResetDetector v1.1.1
1441+
ESPAsync_WiFiManager_Lite v1.6.0
1442+
ESP_MultiResetDetector v1.2.1
14431443
LittleFS Flag read = 0xFFFE0001
14441444
multiResetDetectorFlag = 0xFFFE0001
14451445
lowerBytes = 0x0001, upperBytes = 0x0001
@@ -1529,8 +1529,8 @@ This is the terminal output when running [**ESPAsync_WiFi_MQTT**](examples/ESPAs
15291529

15301530
```
15311531
Starting ESPAsync_WiFi_MQTT using LittleFS on ESP32S2_DEV
1532-
ESPAsync_WiFiManager_Lite v1.5.1
1533-
ESP_MultiResetDetector v1.1.1
1532+
ESPAsync_WiFiManager_Lite v1.6.0
1533+
ESP_MultiResetDetector v1.2.1
15341534
LittleFS Flag read = 0xFFFE0001
15351535
multiResetDetectorFlag = 0xFFFE0001
15361536
lowerBytes = 0x0001, upperBytes = 0x0001
@@ -1642,8 +1642,8 @@ entry 0x4004c190
16421642
16431643
16441644
Starting ESPAsync_WiFi_MQTT using LittleFS on ESP32S2_DEV
1645-
ESPAsync_WiFiManager_Lite v1.5.1
1646-
ESP_MultiResetDetector v1.1.1
1645+
ESPAsync_WiFiManager_Lite v1.6.0
1646+
ESP_MultiResetDetector v1.2.1
16471647
LittleFS Flag read = 0xFFFE0001
16481648
multiResetDetectorFlag = 0xFFFE0001
16491649
lowerBytes = 0x0001, upperBytes = 0x0001
@@ -1745,8 +1745,8 @@ This is the terminal output when running [**ESPAsync_WiFi_MQTT**](examples/ESPAs
17451745

17461746
```
17471747
Starting ESPAsync_WiFi_MQTT using LittleFS on ESP32S2_DEV
1748-
ESPAsync_WiFiManager_Lite v1.5.1
1749-
ESP_MultiResetDetector v1.1.1
1748+
ESPAsync_WiFiManager_Lite v1.6.0
1749+
ESP_MultiResetDetector v1.2.1
17501750
LittleFS Flag read = 0xFFFC0003
17511751
multiResetDetectorFlag = 0xFFFC0003
17521752
lowerBytes = 0x0003, upperBytes = 0x0003
@@ -1788,8 +1788,8 @@ entry 0x4004c190
17881788

17891789
```
17901790
Starting ESPAsync_WiFi_MQTT using LittleFS on ESP32S2_DEV
1791-
ESPAsync_WiFiManager_Lite v1.5.1
1792-
ESP_MultiResetDetector v1.1.1
1791+
ESPAsync_WiFiManager_Lite v1.6.0
1792+
ESP_MultiResetDetector v1.2.1
17931793
LittleFS Flag read = 0xFFFE0001
17941794
multiResetDetectorFlag = 0xFFFE0001
17951795
lowerBytes = 0x0001, upperBytes = 0x0001
@@ -1844,8 +1844,8 @@ This is the terminal output when running [**ESPAsync_WiFi_MQTT**](examples/ESPAs
18441844

18451845
```
18461846
Starting ESPAsync_WiFi_MQTT using LittleFS on ESP32_DEV
1847-
ESPAsync_WiFiManager_Lite v1.5.1
1848-
ESP_MultiResetDetector v1.1.1
1847+
ESPAsync_WiFiManager_Lite v1.6.0
1848+
ESP_MultiResetDetector v1.2.1
18491849
LittleFS Flag read = 0xFFFC0003
18501850
multiResetDetectorFlag = 0xFFFC0003
18511851
lowerBytes = 0x0003, upperBytes = 0x0003
@@ -1889,8 +1889,8 @@ NNNN NNNNN NNNNN N
18891889

18901890
```
18911891
Starting ESPAsync_WiFi_MQTT using LittleFS on ESP32_DEV
1892-
ESPAsync_WiFiManager_Lite v1.5.1
1893-
ESP_MultiResetDetector v1.1.1
1892+
ESPAsync_WiFiManager_Lite v1.6.0
1893+
ESP_MultiResetDetector v1.2.1
18941894
LittleFS Flag read = 0xFFFE0001
18951895
multiResetDetectorFlag = 0xFFFE0001
18961896
lowerBytes = 0x0001, upperBytes = 0x0001

changelog.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
## Table of Contents
1313

1414
* [Changelog](#changelog)
15+
* [Release v1.6.0](#release-v160)
1516
* [Release v1.5.1](#release-v151)
1617
* [Major Release v1.5.0](#major-release-v150)
1718
* [Release v1.4.0](#release-v140)
@@ -26,6 +27,11 @@
2627

2728
## Changelog
2829

30+
### Release v1.6.0
31+
32+
1. Auto detect ESP32 core and use either built-in LittleFS or [LITTLEFS](https://github.com/lorol/LITTLEFS) library.
33+
2. Fix bug returning IP `255.255.255.255` in core v2.0.0+ when using `hostname`
34+
2935
### Release v1.5.1
3036

3137
1. Update `platform.ini` and `library.json` to use original `khoih-prog` instead of `khoih.prog` after PIO fix

library.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ESPAsync_WiFiManager_Lite",
3-
"version": "1.5.1",
3+
"version": "1.6.0",
44
"keywords": "wifi, wi-fi, Async, Async-WebServer, Async-WiFiManager, Communication, MultiWiFi, multi-wifi, ESP32, ESP32-S2, esp32-c3, ESP8266, Credentials, config-portal, DoubleReset, MultiReset, Detector, dynamic-params, dynamic, customs-header",
55
"description": "Library using AsyncWebServer to configure MultiWiFi/Credentials at runtime for ESP32 (including ESP32-S2) and ESP8266 boards. You can also specify DHCP HostName, static AP and STA IP. Use much less memory compared to full-fledge WiFiManager. Config Portal will be auto-adjusted to match the number of dynamic custom parameters. Optional default Credentials to be autoloaded into Config Portal to use or change instead of manually input. Credentials are saved in LittleFS, SPIFFS or EEPROM. New powerful-yet-simple-to-use feature to enable adding dynamic custom parameters from sketch and input using the same Config Portal. Double or MultiDetectDetector as well as Virtual Switches feature permits entering Config Portal as requested. Configurable Customs HTML Headers, including Customs Style, Customs Head Elements, CORS Header.",
66
"authors":
@@ -45,13 +45,13 @@
4545
{
4646
"owner": "khoih-prog",
4747
"name": "ESP_DoubleResetDetector",
48-
"version": "^1.1.1",
48+
"version": "^1.2.1",
4949
"platforms": ["espressif8266", "espressif32"]
5050
},
5151
{
5252
"owner": "khoih-prog",
5353
"name": "ESP_MultiResetDetector",
54-
"version": "^1.1.1",
54+
"version": "^1.2.1",
5555
"platforms": ["espressif8266", "espressif32"]
5656
},
5757
{
@@ -63,5 +63,6 @@
6363
],
6464
"frameworks": "*",
6565
"platforms": ["espressif8266", "espressif32"],
66-
"examples": "examples/*/*/*.ino"
66+
"examples": "examples/*/*/*.ino",
67+
"headers": "ESPAsync_WiFiManager_Lite.h"
6768
}

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=ESPAsync_WiFiManager_Lite
2-
version=1.5.1
2+
version=1.6.0
33
author=Khoi Hoang
44
maintainer=Khoi Hoang <[email protected]>
55
license=MIT

platformio/platformio.ini

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -32,19 +32,19 @@ lib_compat_mode = strict
3232

3333
lib_deps =
3434
; PlatformIO 4.x
35-
ESP Async WebServer@>=1.2.3
36-
ESPAsyncTCP@>=1.2.2
37-
AsyncTCP@>=1.1.1
38-
ESP_DoubleResetDetector@>=1.1.1
39-
ESP_MultiResetDetector@>=1.1.1
40-
LittleFS_esp32@>=1.0.6
35+
; ESP Async WebServer@>=1.2.3
36+
; ESPAsyncTCP@>=1.2.2
37+
; AsyncTCP@>=1.1.1
38+
; ESP_DoubleResetDetector@>=1.2.1
39+
; ESP_MultiResetDetector@>=1.2.1
40+
; LittleFS_esp32@>=1.0.6
4141
; PlatformIO 5.x
42-
; me-no-dev/ESP Async WebServer@>=1.2.3
43-
; me-no-dev/ESPAsyncTCP@>=1.2.2
44-
; me-no-dev/AsyncTCP@>=1.1.1
45-
; khoih-prog/ESP_DoubleResetDetector@>=1.1.1
46-
; khoih-prog/ESP_MultiResetDetector@>=1.1.1
47-
; lorol/LittleFS_esp32@>=1.0.6
42+
me-no-dev/ESP Async WebServer@>=1.2.3
43+
me-no-dev/ESPAsyncTCP@>=1.2.2
44+
me-no-dev/AsyncTCP@>=1.1.1
45+
khoih-prog/ESP_DoubleResetDetector@>=1.2.1
46+
khoih-prog/ESP_MultiResetDetector@>=1.2.1
47+
lorol/LittleFS_esp32@>=1.0.6
4848

4949
build_flags =
5050
; set your debug output (default=Serial)
@@ -99,7 +99,7 @@ board = nodemcuv2
9999

100100
[env:ESP32]
101101
platform = espressif32
102-
framework = arduino, espidf
102+
framework = arduino
103103
; ============================================================
104104
; Board configuration
105105
; choose your board by uncommenting one of the following lines

0 commit comments

Comments
 (0)