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

Commit 2fbd185

Browse files
authored
v1.8.0 to add support to ESP32-S3
### Release v1.8.0 1. Add support to `ESP32-S3` (`ESP32S3_DEV, ESP32_S3_BOX, UM TINYS3, UM PROS3, UM FEATHERS3`, etc.) using [ESP32 core, esp32-s3-support branch, v2.0.2+](https://github.com/espressif/arduino-esp32/tree/esp32-s3-support)
1 parent 993d241 commit 2fbd185

9 files changed

+93
-20
lines changed

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Please ensure to specify the following:
2929
Arduino IDE version: 1.8.19
3030
ESP8266 Core Version 3.0.2
3131
OS: Ubuntu 20.04 LTS
32-
Linux Inspiron 5.4.0-92-generic #103-Ubuntu SMP Fri Nov 26 16:13:00 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
32+
Linux xy-Inspiron-3593 5.4.0-99-generic #112-Ubuntu SMP Thu Feb 3 13:50:55 UTC 2022 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

+50-4
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](#Contributing)
77
[![GitHub issues](https://img.shields.io/github/issues/khoih-prog/ESP_WiFiManager_Lite.svg)](http://github.com/khoih-prog/ESP_WiFiManager_Lite/issues)
88

9-
<a href="https://www.buymeacoffee.com/khoihprog6" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" style="height: 60px !important;width: 217px !important;" ></a>
9+
<a href="https://www.buymeacoffee.com/khoihprog6" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" style="height: 50px !important;width: 181px !important;" ></a>
1010

1111
---
1212
---
@@ -84,6 +84,7 @@
8484
* [5. ESP_WiFi_MQTT on ESP32_DEV to demo WiFi Scan](#5-esp_wifi_mqtt-on-esp32_dev-to-demo-wifi-scan)
8585
* [5.1 MRD/DRD => Open Config Portal](#51-mrddrd--open-config-portal)
8686
* [5.2 Config Data Saved => Connection to Adafruit MQTT](#52-config-data-saved--connection-to-adafruit-mqtt)
87+
* [6. ESP_WiFi on ESP32S3_DEV](#6-ESP_WiFi-on-ESP32S3_DEV) **New**
8788
* [Debug](#debug)
8889
* [Troubleshooting](#troubleshooting)
8990
* [Issues](#issues)
@@ -137,6 +138,7 @@ This [**ESP_WiFiManager_Lite** library](https://github.com/khoih-prog/ESP_WiFiMa
137138
1. **ESP8266 and ESP32-based boards using EEPROM, SPIFFS or LittleFS**.
138139
2. **ESP32-S2 (ESP32-S2 Saola, AI-Thinker ESP-12K, etc.) using EEPROM, SPIFFS or LittleFS**.
139140
3. **ESP32-C3 (ARDUINO_ESP32C3_DEV) using EEPROM or SPIFFS**.
141+
4. **ESP32-S3 (ESP32S3_DEV, ESP32_S3_BOX, UM TINYS3, UM PROS3, UM FEATHERS3, etc.) using EEPROM, SPIFFS or LittleFS**.
140142

141143
---
142144
---
@@ -146,8 +148,8 @@ This [**ESP_WiFiManager_Lite** library](https://github.com/khoih-prog/ESP_WiFiMa
146148
1. [`Arduino IDE 1.8.19+` for Arduino](https://github.com/arduino/Arduino). [![GitHub release](https://img.shields.io/github/release/arduino/Arduino.svg)](https://github.com/arduino/Arduino/releases/latest)
147149
2. [`ESP32 Core 2.0.2+`](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/)
148150
3. [`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/). SPIFFS is deprecated from ESP8266 core 2.7.1+, to use LittleFS.
149-
4. [`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).
150-
5. [`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).
151+
4. [`ESP_DoubleResetDetector v1.3.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).
152+
5. [`ESP_MultiResetDetector v1.3.0+`](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).
151153
6. [`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+
152154

153155
---
@@ -171,7 +173,7 @@ You can also use this link [![arduino-library-badge](https://www.ardu-badge.com/
171173

172174
1. Install [VS Code](https://code.visualstudio.com/)
173175
2. Install [PlatformIO](https://platformio.org/platformio-ide)
174-
3. Install [**ESP_WiFiManager_Lite** library](https://platformio.org/lib/show/11771/ESP_WiFiManager_Lite) by using [Library Manager](https://platformio.org/lib/show/11771/ESP_WiFiManager_Lite/installation). Search for **ESP_WiFiManager_Lite** in [Platform.io Author's Libraries](https://platformio.org/lib/search?query=author:%22Khoi%20Hoang%22)
176+
3. Install [**ESP_WiFiManager_Lite** library](https://registry.platformio.org/libraries/khoih-prog/ESP_WiFiManager_Lite) by using [Library Manager](https://registry.platformio.org/libraries/khoih-prog/ESP_WiFiManager_Lite/installation). Search for **ESP_WiFiManager_Lite** in [Platform.io Author's Libraries](https://platformio.org/lib/search?query=author:%22Khoi%20Hoang%22)
175177
4. Use included [platformio.ini](platformio/platformio.ini) file from examples to ensure that all dependent libraries will installed automatically. Please visit documentation for the other options and examples at [Project Configuration File](https://docs.platformio.org/page/projectconf.html)
176178

177179

@@ -1921,6 +1923,48 @@ WiFi MQTT connection successful!
19211923
TWTWTWTW TWTW
19221924
```
19231925

1926+
---
1927+
1928+
### 6. [ESP_WiFi](examples/ESP_WiFi) on ESP32S3_DEV
1929+
1930+
1931+
This is the terminal output when running [**ESP_WiFi**](examples/ESP_WiFi) example on **ESP32S3_DEV**
1932+
1933+
1934+
```
1935+
Starting ESP_WiFi using LittleFS on ESP32S3_DEV
1936+
ESP_WiFiManager_Lite v1.8.0
1937+
ESP_MultiResetDetector v1.3.0
1938+
LittleFS Flag read = 0xFFFE0001
1939+
multiResetDetectorFlag = 0xFFFE0001
1940+
lowerBytes = 0x0001, upperBytes = 0x0001
1941+
No multiResetDetected, number of times = 1
1942+
LittleFS Flag read = 0xFFFE0001
1943+
Saving config file...
1944+
Saving config file OK
1945+
[WML] Hdr=ESP_WM_LITE,SSID=HueNet1,PW=jenniqqs
1946+
[WML] SSID1=HueNet2,PW1=jenniqqs
1947+
[WML] BName=ESP32_S3
1948+
[WML] Hdr=ESP_WM_LITE,SSID=HueNet1,PW=jenniqqs
1949+
[WML] SSID1=HueNet2,PW1=jenniqqs
1950+
[WML] BName=ESP32_S3
1951+
[WML] WiFi connected after time: 0
1952+
[WML] SSID=HueNet1,RSSI=-23
1953+
[WML] Channel=2,IP=192.168.2.83
1954+
H
1955+
Your stored Credentials :
1956+
Blynk Server1 = account.duckdns.org
1957+
Token1 = token1
1958+
Blynk Server2 = account.ddns.net
1959+
Token2 = token2
1960+
Port = 8080
1961+
MQTT Server = mqtt.duckdns.org
1962+
Stop multiResetDetecting
1963+
Saving config file...
1964+
Saving config file OK
1965+
HHH
1966+
```
1967+
19241968
---
19251969
---
19261970

@@ -1996,6 +2040,8 @@ Submit issues to: [ESP_WiFiManager_Lite issues](https://github.com/khoih-prog/ES
19962040
25. Ready for ESP32 core v2.0.0+
19972041
26. Fix ESP8266 bug not easy to connect to Config Portal for ESP8266 core v3.0.0+
19982042
27. Fix the blocking issue in loop() with configurable `WIFI_RECON_INTERVAL`
2043+
28. Add support to **ESP32-S3 (ESP32S3_DEV, ESP32_S3_BOX, UM TINYS3, UM PROS3, UM FEATHERS3, etc.) using EEPROM, SPIFFS or LittleFS**
2044+
19992045

20002046
---
20012047
---

changelog.md

+5
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
## Table of Contents
1313

1414
* [Changelog](#changelog)
15+
* [Release v1.8.0](#release-v180)
1516
* [Release v1.7.0](#release-v170)
1617
* [Release v1.6.0](#release-v160)
1718
* [Release v1.5.1](#release-v151)
@@ -27,6 +28,10 @@
2728

2829
## Changelog
2930

31+
### Release v1.8.0
32+
33+
1. Add support to `ESP32-S3` (`ESP32S3_DEV, ESP32_S3_BOX, UM TINYS3, UM PROS3, UM FEATHERS3`, etc.) using [ESP32 core, esp32-s3-support branch, v2.0.2+](https://github.com/espressif/arduino-esp32/tree/esp32-s3-support)
34+
3035
### Release v1.7.0
3136

3237
1. Fix ESP8266 bug not easy to connect to Config Portal for ESP8266 core v3.0.0+

keywords.txt

+7
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,13 @@ getCORSHeader KEYWORD2
4848

4949
# LITERAL1
5050

51+
ESP_WIFI_MANAGER_LITE_VERSION LITERAL1
52+
53+
ESP_WIFI_MANAGER_LITE_VERSION_MAJOR LITERAL1
54+
ESP_WIFI_MANAGER_LITE_VERSION_MINOR LITERAL1
55+
ESP_WIFI_MANAGER_LITE_VERSION_PATCH LITERAL1
56+
ESP_WIFI_MANAGER_LITE_VERSION_INT LITERAL1
57+
5158
CONFIG_DATA_SIZE LITERAL1
5259
NUM_MENU_ITEMS LITERAL1
5360
ESP_WM_LITE_HTML_HEAD LITERAL1

library.json

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "ESP_WiFiManager_Lite",
3-
"version": "1.7.0",
4-
"keywords": "wifi, wi-fi, MultiWiFi, multi-wifi, WiFiManager, esp8266, esp32, esp32-s2, esp32-c3, Communication, iot, credentials, persistent, config-portal, DoubleReset, MultiReset, DoubleResetDetector, littlefs, spiffs, eeprom, light-weight",
5-
"description": "Library to configure MultiWiFi/Credentials at runtime for ESP32 (including ESP32-S2 and ESP32-C3) 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.",
3+
"version": "1.8.0",
4+
"keywords": "wifi, wi-fi, MultiWiFi, multi-wifi, WiFiManager, esp8266, esp32, esp32-s2, esp32-s3, esp32-c3, Communication, iot, credentials, persistent, config-portal, DoubleReset, MultiReset, DoubleResetDetector, littlefs, spiffs, eeprom, light-weight",
5+
"description": "Library to configure MultiWiFi/Credentials at runtime for ESP32 (including ESP32-S2, ESP32-S3 and ESP32-C3) 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":
77
{
88
"name": "Khoi Hoang",
@@ -27,13 +27,13 @@
2727
{
2828
"owner": "khoih-prog",
2929
"name": "ESP_DoubleResetDetector",
30-
"version": "^1.2.1",
30+
"version": "^1.3.0",
3131
"platforms": ["espressif8266", "espressif32"]
3232
},
3333
{
3434
"owner": "khoih-prog",
3535
"name": "ESP_MultiResetDetector",
36-
"version": "^1.2.1",
36+
"version": "^1.3.0",
3737
"platforms": ["espressif8266", "espressif32"]
3838
},
3939
{
@@ -43,6 +43,7 @@
4343
"platforms": ["espressif32"]
4444
}
4545
],
46+
"license": "MIT",
4647
"frameworks": "*",
4748
"platforms": ["espressif8266", "espressif32"],
4849
"examples": "examples/*/*/*.ino",

library.properties

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
name=ESP_WiFiManager_Lite
2-
version=1.7.0
2+
version=1.8.0
33
author=Khoi Hoang
44
maintainer=Khoi Hoang <[email protected]>
55
license=MIT
6-
sentence=Light-Weight MultiWiFi/Credentials Manager for ESP32 (including ESP32-S2 and ESP32-C3) and ESP8266 boards. Powerful-yet-simple-to-use feature to enable adding dynamic custom parameters.
7-
paragraph=Library to configure MultiWiFi/Credentials at runtime for ESP32 (including ESP32-S2 and ESP32-C3) 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.
6+
sentence=Light-Weight MultiWiFi/Credentials Manager for ESP32 (including ESP32-S2, ESP32-S3 and ESP32-C3) and ESP8266 boards. Powerful-yet-simple-to-use feature to enable adding dynamic custom parameters.
7+
paragraph=Library to configure MultiWiFi/Credentials at runtime for ESP32 (including ESP32-S2, ESP32-S3 and ESP32-C3) 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.
88
category=Communication
99
url=https://github.com/khoih-prog/ESP_WiFiManager_Lite
1010
architectures=esp8266,esp32

platformio/platformio.ini

+4-4
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ lib_compat_mode = strict
3232

3333
lib_deps =
3434
; PlatformIO 4.x
35-
; ESP_DoubleResetDetector@>=1.2.1
36-
; ESP_MultiResetDetector@>=1.2.1
35+
; ESP_DoubleResetDetector@>=1.3.0
36+
; ESP_MultiResetDetector@>=1.3.0
3737
; LittleFS_esp32@>=1.0.6
3838
; PlatformIO 5.x
39-
khoih-prog/ESP_DoubleResetDetector@>=1.2.1
40-
khoih-prog/ESP_MultiResetDetector@>=1.2.1
39+
khoih-prog/ESP_DoubleResetDetector@>=1.3.0
40+
khoih-prog/ESP_MultiResetDetector@>=1.3.0
4141
lorol/LittleFS_esp32@>=1.0.6
4242

4343

src/ESP_WiFiManager_Lite.h

+15-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
Built by Khoi Hoang https://github.com/khoih-prog/ESP_WiFiManager_Lite
1010
Licensed under MIT license
1111
12-
Version: 1.7.0
12+
Version: 1.8.0
1313
1414
Version Modified By Date Comments
1515
------- ----------- ---------- -----------
@@ -22,6 +22,7 @@
2222
1.5.1 K Hoang 10/10/2021 Update `platform.ini` and `library.json`
2323
1.6.0 K Hoang 26/11/2021 Auto detect ESP32 core and use either built-in LittleFS or LITTLEFS library. Fix bug.
2424
1.7.0 K Hoang 08/01/2022 Fix the blocking issue in loop() with configurable WIFI_RECON_INTERVAL
25+
1.8.0 K Hoang 10/02/2022 Add support to new ESP32-S3
2526
*****************************************************************************************************************************/
2627

2728
#pragma once
@@ -39,9 +40,21 @@
3940
#elif ( ARDUINO_ESP32C3_DEV )
4041
#warning Using ESP32_C3. To follow library instructions to install esp32-c3 core. Only SPIFFS and EEPROM OK.
4142
#define USING_ESP32_C3 true
43+
#elif ( defined(ARDUINO_ESP32S3_DEV) || defined(ARDUINO_ESP32_S3_BOX) || defined(ARDUINO_TINYS3) || \
44+
defined(ARDUINO_PROS3) || defined(ARDUINO_FEATHERS3) )
45+
#warning Using ESP32_S3. To install esp32-s3-support branch if using core v2.0.2-.
46+
#define USING_ESP32_S3 true
4247
#endif
4348

44-
#define ESP_WIFI_MANAGER_LITE_VERSION "ESP_WiFiManager_Lite v1.7.0"
49+
#ifndef ESP_WIFI_MANAGER_LITE_VERSION
50+
#define ESP_WIFI_MANAGER_LITE_VERSION "ESP_WiFiManager_Lite v1.8.0"
51+
52+
#define ESP_WIFI_MANAGER_LITE_VERSION_MAJOR 1
53+
#define ESP_WIFI_MANAGER_LITE_VERSION_MINOR 8
54+
#define ESP_WIFI_MANAGER_LITE_VERSION_PATCH 0
55+
56+
#define ESP_WIFI_MANAGER_LITE_VERSION_INT 1008000
57+
#endif
4558

4659
#ifdef ESP8266
4760

src/ESP_WiFiManager_Lite_Debug.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
Built by Khoi Hoang https://github.com/khoih-prog/ESP_WiFiManager_Lite
1010
Licensed under MIT license
1111
12-
Version: 1.7.0
12+
Version: 1.8.0
1313
1414
Version Modified By Date Comments
1515
------- ----------- ---------- -----------
@@ -22,6 +22,7 @@
2222
1.5.1 K Hoang 10/10/2021 Update `platform.ini` and `library.json`
2323
1.6.0 K Hoang 26/11/2021 Auto detect ESP32 core and use either built-in LittleFS or LITTLEFS library. Fix bug.
2424
1.7.0 K Hoang 08/01/2022 Fix the blocking issue in loop() with configurable WIFI_RECON_INTERVAL
25+
1.8.0 K Hoang 10/02/2022 Add support to new ESP32-S3
2526
*****************************************************************************************************************************/
2627

2728
#ifndef ESP_WiFiManager_Lite_Debug_h

0 commit comments

Comments
 (0)