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

Commit 307e33e

Browse files
authored
v1.10.3 to fix compiler errors
### Release v1.10.3 1. Fix compiler error if EEPROM is used. Check [fix compiler error if EEPROM is used #29](khoih-prog/ESPAsync_WiFiManager_Lite#29)
1 parent e61b589 commit 307e33e

File tree

7 files changed

+35
-24
lines changed

7 files changed

+35
-24
lines changed

README.md

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -319,10 +319,10 @@ ESP_WiFiManager_Lite* ESP_WiFiManager;
319319
320320
typedef struct
321321
{
322-
char id [MAX_ID_LEN + 1];
323-
char displayName [MAX_DISPLAY_NAME_LEN + 1];
324-
char *pdata;
325-
uint8_t maxlen;
322+
char id [MAX_ID_LEN + 1];
323+
char displayName [MAX_DISPLAY_NAME_LEN + 1];
324+
char *pdata;
325+
uint8_t maxlen;
326326
} MenuItem;
327327
**************************************/
328328

@@ -851,7 +851,7 @@ This is the terminal output when running [**ESP_WiFi**](examples/ESP_WiFi) examp
851851

852852
```
853853
Starting ESP_WiFi using LittleFS on ESP32_DEV
854-
ESP_WiFiManager_Lite v1.10.2
854+
ESP_WiFiManager_Lite v1.10.3
855855
ESP_MultiResetDetector v1.3.2
856856
LittleFS Flag read = 0xFFFC0003
857857
multiResetDetectorFlag = 0xFFFC0003
@@ -922,7 +922,7 @@ CCCCCCCCC
922922

923923
```
924924
Starting ESP_WiFi using LittleFS on ESP32_DEV
925-
ESP_WiFiManager_Lite v1.10.2
925+
ESP_WiFiManager_Lite v1.10.3
926926
ESP_MultiResetDetector v1.3.2
927927
LittleFS Flag read = 0xFFFE0001
928928
multiResetDetectorFlag = 0xFFFE0001
@@ -994,7 +994,7 @@ This is the terminal output when running [**ESP_WiFi_MQTT**](examples/ESP_WiFi_M
994994

995995
```
996996
Starting ESP_WiFi_MQTT using LittleFS on ESP8266_NODEMCU
997-
ESP_WiFiManager_Lite v1.10.2
997+
ESP_WiFiManager_Lite v1.10.3
998998
ESP_MultiResetDetector v1.3.2
999999
LittleFS Flag read = 0xFFFE0001
10001000
multiResetDetectorFlag = 0xFFFE0001
@@ -1069,7 +1069,7 @@ CCC
10691069
10701070
10711071
Starting ESP_WiFi_MQTT using LittleFS on ESP8266_NODEMCU
1072-
ESP_WiFiManager_Lite v1.10.2
1072+
ESP_WiFiManager_Lite v1.10.3
10731073
ESP_MultiResetDetector v1.3.2
10741074
LittleFS Flag read = 0xFFFE0001
10751075
multiResetDetectorFlag = 0xFFFE0001
@@ -1161,7 +1161,7 @@ This is the terminal output when running [**ESP_WiFi_MQTT**](examples/ESP_WiFi_M
11611161

11621162
```
11631163
Starting ESP_WiFi_MQTT using LittleFS on ESP32S2_DEV
1164-
ESP_WiFiManager_Lite v1.10.2
1164+
ESP_WiFiManager_Lite v1.10.3
11651165
ESP_MultiResetDetector v1.3.2
11661166
LittleFS Flag read = 0xFFFE0001
11671167
multiResetDetectorFlag = 0xFFFE0001
@@ -1274,7 +1274,7 @@ entry 0x4004c190
12741274
12751275
12761276
Starting ESP_WiFi_MQTT using LittleFS on ESP32S2_DEV
1277-
ESP_WiFiManager_Lite v1.10.2
1277+
ESP_WiFiManager_Lite v1.10.3
12781278
ESP_MultiResetDetector v1.3.2
12791279
LittleFS Flag read = 0xFFFE0001
12801280
multiResetDetectorFlag = 0xFFFE0001
@@ -1376,7 +1376,7 @@ This is the terminal output when running [**ESP_WiFi_MQTT**](examples/ESP_WiFi_M
13761376

13771377
```
13781378
Starting ESP_WiFi_MQTT using LittleFS on ESP32S2_DEV
1379-
ESP_WiFiManager_Lite v1.10.2
1379+
ESP_WiFiManager_Lite v1.10.3
13801380
ESP_MultiResetDetector v1.3.2
13811381
LittleFS Flag read = 0xFFFC0003
13821382
multiResetDetectorFlag = 0xFFFC0003
@@ -1404,7 +1404,7 @@ NNNN NNNNN NNNNN NNNNN NN[WML] h:UpdLittleFS
14041404

14051405
```
14061406
Starting ESP_WiFi_MQTT using LittleFS on ESP32S2_DEV
1407-
ESP_WiFiManager_Lite v1.10.2
1407+
ESP_WiFiManager_Lite v1.10.3
14081408
ESP_MultiResetDetector v1.3.2
14091409
LittleFS Flag read = 0xFFFE0001
14101410
multiResetDetectorFlag = 0xFFFE0001
@@ -1460,7 +1460,7 @@ This is the terminal output when running [**ESP_WiFi**](examples/ESP_WiFi) examp
14601460

14611461
```
14621462
Starting ESP_WiFi_MQTT using LittleFS on ESP32_DEV
1463-
ESP_WiFiManager_Lite v1.10.2
1463+
ESP_WiFiManager_Lite v1.10.3
14641464
ESP_MultiResetDetector v1.3.2
14651465
LittleFS Flag read = 0xFFFC0003
14661466
multiResetDetectorFlag = 0xFFFC0003
@@ -1504,7 +1504,7 @@ CCC
15041504

15051505
```
15061506
Starting ESP_WiFi_MQTT using LittleFS on ESP32_DEV
1507-
ESP_WiFiManager_Lite v1.10.2
1507+
ESP_WiFiManager_Lite v1.10.3
15081508
ESP_MultiResetDetector v1.3.2
15091509
LittleFS Flag read = 0xFFFE0001
15101510
multiResetDetectorFlag = 0xFFFE0001
@@ -1552,7 +1552,7 @@ This is the terminal output when running [**ESP_WiFi**](examples/ESP_WiFi) examp
15521552

15531553
```
15541554
Starting ESP_WiFi using LittleFS on ESP32S3_DEV
1555-
ESP_WiFiManager_Lite v1.10.2
1555+
ESP_WiFiManager_Lite v1.10.3
15561556
ESP_MultiResetDetector v1.3.2
15571557
LittleFS Flag read = 0xFFFE0001
15581558
multiResetDetectorFlag = 0xFFFE0001
@@ -1594,7 +1594,7 @@ This is the terminal output when running [**ESP_WiFi**](examples/ESP_WiFi) examp
15941594

15951595
```
15961596
Starting ESP_WiFi using LittleFS on ESP32C3_DEV
1597-
ESP_WiFiManager_Lite v1.10.2
1597+
ESP_WiFiManager_Lite v1.10.3
15981598
ESP_MultiResetDetector v1.3.2
15991599
LittleFS Flag read = 0xFFFE0001
16001600
multiResetDetectorFlag = 0xFFFE0001
@@ -1724,12 +1724,13 @@ Please help contribute to this project and add your name here.
17241724

17251725
1. Thanks to [Michael H. "bizprof"](https://github.com/bizprof). With the impressive new feature :
17261726
- `Enable scan of WiFi networks for selection in Configuration Portal`. Check [PR for v1.3.0 - Enable scan of WiFi networks #10](https://github.com/khoih-prog/WiFiManager_NINA_Lite/pull/10) leading to `v1.5.0 `
1727-
2. Thanks to [Holger Müller](https://github.com/hmueller01)for these PRs leading to `v1.10.0`, `v1.10.1` and `v1.10.2` :
1727+
2. Thanks to [Holger Müller](https://github.com/hmueller01) for creating the following merged PRs leading to many new versions
17281728
- [Captive portal #24](https://github.com/khoih-prog/ESP_WiFiManager_Lite/pull/24)
17291729
- [reset cleanup #21](https://github.com/khoih-prog/ESP_WiFiManager_Lite/pull/21)
17301730
- [added switch to turn use of builtin LED off #20](https://github.com/khoih-prog/ESP_WiFiManager_Lite/pull/20)
17311731
- [added public methods to load and save dynamic data #28](https://github.com/khoih-prog/ESP_WiFiManager_Lite/pull/28)
17321732
- [Mobile scale #30](https://github.com/khoih-prog/ESP_WiFiManager_Lite/pull/30)
1733+
- [fix compiler error if EEPROM is used #33](https://github.com/khoih-prog/ESP_WiFiManager_Lite/pull/33)
17331734

17341735
<table>
17351736
<tr>

changelog.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
## Table of Contents
1616

1717
* [Changelog](#changelog)
18+
* [Release v1.10.3](#release-v1103)
1819
* [Release v1.10.2](#release-v1102)
1920
* [Release v1.10.1](#release-v1101)
2021
* [Release v1.10.0](#release-v1100)
@@ -37,6 +38,10 @@
3738

3839
## Changelog
3940

41+
### Release v1.10.3
42+
43+
1. Fix compiler error if EEPROM is used. Check [fix compiler error if EEPROM is used #29](https://github.com/khoih-prog/ESPAsync_WiFiManager_Lite/pull/29)
44+
4045
### Release v1.10.2
4146

4247
1. Add Config Portal scaling support to mobile devices. Check [Mobile scale #30](https://github.com/khoih-prog/ESP_WiFiManager_Lite/pull/30)

library.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ESP_WiFiManager_Lite",
3-
"version": "1.10.2",
3+
"version": "1.10.3",
44
"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",
55
"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. Now using correct ESP32 chipIP",
66
"authors":

library.properties

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

platformio/platformio.ini

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ build_flags =
5555
; comment the following line to enable WiFi debugging
5656
-D NDEBUG
5757

58+
; comment the following line to use EEPROM
59+
-D USE_LITTLEFS=true
60+
5861
; ============================================================
5962
; ============================================================
6063
[env:ESP8266]

src/ESP_WiFiManager_Lite.h

Lines changed: 5 additions & 4 deletions
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.10.2
12+
Version: 1.10.3
1313
1414
Version Modified By Date Comments
1515
------- ----------- ---------- -----------
@@ -21,6 +21,7 @@
2121
1.10.0 K Hoang 10/01/2023 Add Captive-Portal feature
2222
1.10.1 K Hoang 12/01/2023 Added public methods to load and save dynamic data
2323
1.10.2 K Hoang 15/01/2023 Add Config Portal scaling support to mobile devices
24+
1.10.3 K Hoang 19/01/2023 Fix compiler error if EEPROM is used
2425
*****************************************************************************************************************************/
2526

2627
#pragma once
@@ -51,13 +52,13 @@
5152
#endif
5253

5354
#ifndef ESP_WIFI_MANAGER_LITE_VERSION
54-
#define ESP_WIFI_MANAGER_LITE_VERSION "ESP_WiFiManager_Lite v1.10.2"
55+
#define ESP_WIFI_MANAGER_LITE_VERSION "ESP_WiFiManager_Lite v1.10.3"
5556

5657
#define ESP_WIFI_MANAGER_LITE_VERSION_MAJOR 1
5758
#define ESP_WIFI_MANAGER_LITE_VERSION_MINOR 10
58-
#define ESP_WIFI_MANAGER_LITE_VERSION_PATCH 2
59+
#define ESP_WIFI_MANAGER_LITE_VERSION_PATCH 3
5960

60-
#define ESP_WIFI_MANAGER_LITE_VERSION_INT 1010002
61+
#define ESP_WIFI_MANAGER_LITE_VERSION_INT 1010003
6162
#endif
6263

6364
#ifdef ESP8266

src/ESP_WiFiManager_Lite_Debug.h

Lines changed: 2 additions & 1 deletion
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.10.2
12+
Version: 1.10.3
1313
1414
Version Modified By Date Comments
1515
------- ----------- ---------- -----------
@@ -21,6 +21,7 @@
2121
1.10.0 K Hoang 10/01/2023 Add Captive-Portal feature
2222
1.10.1 K Hoang 12/01/2023 Added public methods to load and save dynamic data
2323
1.10.2 K Hoang 15/01/2023 Add Config Portal scaling support to mobile devices
24+
1.10.3 K Hoang 19/01/2023 Fix compiler error if EEPROM is used
2425
*****************************************************************************************************************************/
2526

2627
#ifndef ESP_WiFiManager_Lite_Debug_h

0 commit comments

Comments
 (0)