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

Commit efb5131

Browse files
authored
v1.5.1 to update and add support
### Release v1.5.1 1. Update to be compatible with new `FlashStorage_SAMD` 2. Use better `FlashStorage_STM32` or `FlashStorage_STM32F1` library for STM32 3. Add support to generic SAMD21 boards : `__SAMD21E1xA__`, `__SAMD21G1xA__` and `__SAMD21J1xA__` 4. Update `Packages' Patches`
1 parent d7d0154 commit efb5131

16 files changed

+214
-104
lines changed

CONTRIBUTING.md

Lines changed: 4 additions & 3 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.19) or Platform.io version
18-
* Board Core Version (e.g. Arduino SAMDUE core v1.6.12, STM32 core v2.2.0, etc.)
18+
* Board Core Version (e.g. Arduino SAMDUE core v1.6.12, ESP8266 core v3.0.2, ArduinoCore-mbed v2.6.1, etc.)
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:
@@ -27,9 +27,10 @@ Please ensure to specify the following:
2727

2828
```
2929
Arduino IDE version: 1.8.19
30-
Arduino STM32 Core v2.2.0
30+
Nano_RP2040_Connect board
31+
ArduinoCore-mbed v2.6.1
3132
OS: Ubuntu 20.04 LTS
32-
Linux xy-Inspiron-3593 5.4.0-92-generic #103-Ubuntu SMP Fri Nov 26 16:13:00 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
33+
Linux xy-Inspiron-3593 5.4.0-96-generic #109-Ubuntu SMP Wed Jan 12 16:49:16 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
3334
3435
Context:
3536
The board couldn't autoreconnect to Local Blynk Server after router power recycling.

README.md

Lines changed: 48 additions & 43 deletions
Large diffs are not rendered by default.

changelog.md

Lines changed: 8 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.5.1](#release-v151)
1516
* [Release v1.5.0](#release-v150)
1617
* [Release v1.4.1](#release-v141)
1718
* [Major Release v1.4.0](#major-release-v140)
@@ -28,6 +29,13 @@
2829

2930
## Changelog
3031

32+
### Release v1.5.1
33+
34+
1. Update to be compatible with new `FlashStorage_SAMD`
35+
2. Use better `FlashStorage_STM32` or `FlashStorage_STM32F1` library for STM32
36+
3. Add support to generic SAMD21 boards : `__SAMD21E1xA__`, `__SAMD21G1xA__` and `__SAMD21J1xA__`
37+
4. Update `Packages' Patches`
38+
3139
### Release v1.5.0
3240

3341
1. Fix the blocking issue in loop(). Check [retries block the main loop #18](https://github.com/khoih-prog/WiFiManager_NINA_Lite/issues/18)

examples/SAMD_ESP8266Shield/defines.h

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,14 @@
2828
// Uncomment to use ESP32-AT commands
2929
//#define USE_ESP32_AT true
3030

31-
#if ( defined(ARDUINO_SAMD_ZERO) || defined(ARDUINO_SAMD_MKR1000) || defined(ARDUINO_SAMD_MKRWIFI1010) \
32-
|| defined(ARDUINO_SAMD_NANO_33_IOT) || defined(ARDUINO_SAMD_MKRFox1200) || defined(ARDUINO_SAMD_MKRWAN1300) || defined(ARDUINO_SAMD_MKRWAN1310) \
33-
|| defined(ARDUINO_SAMD_MKRGSM1400) || defined(ARDUINO_SAMD_MKRNB1500) || defined(ARDUINO_SAMD_MKRVIDOR4000) || defined(__SAMD21G18A__) \
34-
|| defined(ARDUINO_SAMD_CIRCUITPLAYGROUND_EXPRESS) || defined(__SAMD21E18A__) || defined(__SAMD51__) || defined(__SAMD51J20A__) || defined(__SAMD51J19A__) \
35-
|| defined(__SAMD51G19A__) || defined(__SAMD21G18A__) )
31+
#if ( defined(ARDUINO_SAMD_ZERO) || defined(ARDUINO_SAMD_MKR1000) || defined(ARDUINO_SAMD_MKRWIFI1010) \
32+
|| defined(ARDUINO_SAMD_NANO_33_IOT) || defined(ARDUINO_SAMD_MKRFox1200) || defined(ARDUINO_SAMD_MKRWAN1300) || defined(ARDUINO_SAMD_MKRWAN1310) \
33+
|| defined(ARDUINO_SAMD_MKRGSM1400) || defined(ARDUINO_SAMD_MKRNB1500) || defined(ARDUINO_SAMD_MKRVIDOR4000) \
34+
|| defined(ARDUINO_SAMD_CIRCUITPLAYGROUND_EXPRESS) || defined(__SAMD51__) || defined(__SAMD51J20A__) \
35+
|| defined(__SAMD51J19A__) || defined(__SAMD51G19A__) || defined(__SAMD51P19A__) \
36+
|| defined(__SAMD21E15A__) || defined(__SAMD21E16A__) || defined(__SAMD21E17A__) || defined(__SAMD21E18A__) \
37+
|| defined(__SAMD21G15A__) || defined(__SAMD21G16A__) || defined(__SAMD21G17A__) || defined(__SAMD21G18A__) \
38+
|| defined(__SAMD21J15A__) || defined(__SAMD21J16A__) || defined(__SAMD21J17A__) || defined(__SAMD21J18A__) )
3639
#if defined(ESP8266_AT_USE_SAMD)
3740
#undef ESP8266_AT_USE_SAMD
3841
#endif

keywords.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@ IPAddressToString KEYWORD2
3939

4040
# LITERAL1
4141

42+
ESP_AT_WM_LITE_VERSION LITERAL1
43+
ESP_AT_WM_LITE_VERSION_MAJOR LITERAL1
44+
ESP_AT_WM_LITE_VERSION_MINOR LITERAL1
45+
ESP_AT_WM_LITE_VERSION_PATCH LITERAL1
46+
ESP_AT_WM_LITE_VERSION_INT LITERAL1
47+
4248
CONFIG_DATA_SIZE LITERAL1
4349
NUM_MENU_ITEMS LITERAL1
4450
ESP_AT_HTML_HEAD LITERAL1

library.json

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "ESP_AT_WM_Lite",
3-
"version": "1.5.0",
3+
"version": "1.5.1",
44
"keywords": "wifi, MultiWiFi, ESP8266-AT, ESP32-AT, SAM DUE, SAMD, nRF52, STM32, rpi-pico, rp2040, nano-rp2040-connect, Credentials, config-portal, dynamic-params, EEPROM, FlashStorage-SAMD, FlashStorage-STM32, LittleFS, DueFlashStorage, AVR Mega, Double-Reset, FlashStorage, light-weight",
5-
"description": "Light-Weight WiFi/Credentials Manager for AVR Mega, SAM DUE, SAMD21, SAMD51, nRF52, STM32, RP2040-based Nano_RP2040_connect, RASPBERRY_PI_PICO boards, etc. using ESP8266/ESP32-AT-command shields with web configuration portal. Powerful-yet-simple-to-use feature to enable adding dynamic custom parameters. You can also specify 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. Credentials and dynamic custom parameters are saved in EPROM, FlashStorage_SAMD, FlashStorage_STM32, DueFlashStorage or nRF52/RP2040 LittleFS.",
5+
"description": "Light-Weight WiFi/Credentials Manager for AVR Mega, SAM DUE, SAMD21, SAMD51, nRF52, STM32, RP2040-based Nano_RP2040_connect, RASPBERRY_PI_PICO boards, etc. using ESP8266/ESP32-AT-command shields with web configuration portal. Powerful-yet-simple-to-use feature to enable adding dynamic custom parameters. You can also specify 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. Credentials and dynamic custom parameters are saved in EPROM, FlashStorage_SAMD, FlashStorage_STM32, FlashStorage_STM32F1, DueFlashStorage or nRF52/RP2040 LittleFS.",
66
"authors":
77
{
88
"name": "Khoi Hoang",
@@ -27,19 +27,25 @@
2727
{
2828
"owner": "khoih-prog",
2929
"name": "DoubleResetDetector_Generic",
30-
"version": ">=1.7.3",
30+
"version": ">=1.8.0",
3131
"platforms": ["*"]
3232
},
3333
{
3434
"owner": "khoih-prog",
3535
"name": "FlashStorage_STM32",
36-
"version": ">=1.1.0",
36+
"version": ">=1.2.0",
37+
"platforms": ["*"]
38+
},
39+
{
40+
"owner": "khoih-prog",
41+
"name": "FlashStorage_STM32F1",
42+
"version": "^1.1.0",
3743
"platforms": ["*"]
3844
},
3945
{
4046
"owner": "khoih-prog",
4147
"name": "FlashStorage_SAMD",
42-
"version": "^1.2.1",
48+
"version": "^1.3.2",
4349
"platforms": ["*"]
4450
},
4551
{
@@ -51,10 +57,11 @@
5157
{
5258
"owner": "khoih-prog",
5359
"name": "ESP8266_AT_WebServer",
54-
"version": "^1.5.2",
60+
"version": "^1.5.3",
5561
"platforms": ["*"]
5662
}
5763
],
64+
"license": "MIT",
5865
"frameworks": "*",
5966
"platforms": "*",
6067
"examples": "examples/*/*/*.ino"

library.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=ESP_AT_WM_Lite
2-
version=1.5.0
2+
version=1.5.1
33
author=Khoi Hoang
44
maintainer=Khoi Hoang <khoih.prog@gmail.com>
55
license=MIT
@@ -8,4 +8,4 @@ paragraph=Light-Weight WiFi/Credentials Manager for AVR Mega, SAM DUE, SAMD21, S
88
category=Communication
99
url=https://github.com/khoih-prog/ESP_AT_WM_Lite
1010
architectures=*
11-
depends=ESP8266_AT_WebServer,DoubleResetDetector_Generic,FlashStorage_SAMD,FlashStorage_STM32,DueFlashStorage
11+
depends=ESP8266_AT_WebServer,DoubleResetDetector_Generic,FlashStorage_SAMD,FlashStorage_STM32,FlashStorage_STM32F1,DueFlashStorage

platformio/platformio.ini

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,17 +38,19 @@ lib_compat_mode = strict
3838

3939
lib_deps =
4040
; PlatformIO 4.x
41-
; ESP8266_AT_WebServer@~1.5.2
42-
; DoubleResetDetector_Generic@~1.7.3
43-
; FlashStorage_STM32@~1.1.0
44-
; FlashStorage_SAMD@~1.2.1
41+
; ESP8266_AT_WebServer@~1.5.3
42+
; DoubleResetDetector_Generic@~1.8.0
43+
; FlashStorage_STM32@~1.2.0
44+
; FlashStorage_STM32F1@~1.1.0
45+
; FlashStorage_SAMD@~1.32
4546
; DueFlashStorage@~1.0.0
4647

4748
; PlatformIO 5.x
48-
khoih-prog/ESP8266_AT_WebServer@~1.5.2
49-
khoih-prog/DoubleResetDetector_Generic@~1.7.3
50-
khoih-prog/FlashStorage_STM32@~1.1.0
51-
khoih-prog/FlashStorage_SAMD@~1.2.1
49+
khoih-prog/ESP8266_AT_WebServer@~1.5.3
50+
khoih-prog/DoubleResetDetector_Generic@~1.8.0
51+
khoih-prog/FlashStorage_STM32@~1.2.0
52+
khoih-prog/FlashStorage_STM32F1@~1.1.0
53+
khoih-prog/FlashStorage_SAMD@~1.3.2
5254
sebnil/DueFlashStorage@~1.0.0
5355

5456
build_flags =

src/Esp8266_AT_WM_Lite.h

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
99
Built by Khoi Hoang https://github.com/khoih-prog/ESP_AT_WM_Lite
1010
Licensed under MIT license
11-
Version: 1.5.0
11+
Version: 1.5.1
1212
1313
Version Modified By Date Comments
1414
------- ----------- ---------- -----------
@@ -26,6 +26,7 @@
2626
1.4.0 K Hoang 01/06/2021 Add support to Nano_RP2040_Connect, RASPBERRY_PI_PICO using RP2040 Arduino mbed core
2727
1.4.1 K Hoang 10/10/2021 Update `platform.ini` and `library.json`
2828
1.5.0 K Hoang 08/01/2022 Fix the blocking issue in loop() with configurable WIFI_RECON_INTERVAL
29+
1.5.1 K Hoang 26/01/2022 Update to be compatible with new FlashStorage libraries. Add support to more SAMD/STM32 boards
2930
***************************************************************************************************************************************/
3031

3132
#ifndef Esp8266_AT_WM_Lite_h
@@ -39,7 +40,16 @@
3940
#error This code is intended to run on the Mega2560 platform! Please check your Tools->Board setting.
4041
#endif
4142

42-
#define ESP_AT_WM_LITE_VERSION "ESP_AT_WM_Lite v1.5.0"
43+
#ifndef ESP_AT_WM_LITE_VERSION
44+
#define ESP_AT_WM_LITE_VERSION "ESP_AT_WM_Lite v1.5.1"
45+
46+
#define ESP_AT_WM_LITE_VERSION_MAJOR 1
47+
#define ESP_AT_WM_LITE_VERSION_MINOR 5
48+
#define ESP_AT_WM_LITE_VERSION_PATCH 1
49+
50+
#define ESP_AT_WM_LITE_VERSION_INT 1005001
51+
52+
#endif
4353

4454
#define DEFAULT_BOARD_NAME "AVR-MEGA"
4555

src/Esp8266_AT_WM_Lite_DUE.h

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
99
Built by Khoi Hoang https://github.com/khoih-prog/ESP_AT_WM_Lite
1010
Licensed under MIT license
11-
Version: 1.5.0
11+
Version: 1.5.1
1212
1313
Version Modified By Date Comments
1414
------- ----------- ---------- -----------
@@ -26,6 +26,7 @@
2626
1.4.0 K Hoang 01/06/2021 Add support to Nano_RP2040_Connect, RASPBERRY_PI_PICO using RP2040 Arduino mbed core
2727
1.4.1 K Hoang 10/10/2021 Update `platform.ini` and `library.json`
2828
1.5.0 K Hoang 08/01/2022 Fix the blocking issue in loop() with configurable WIFI_RECON_INTERVAL
29+
1.5.1 K Hoang 26/01/2022 Update to be compatible with new FlashStorage libraries. Add support to more SAMD/STM32 boards
2930
***************************************************************************************************************************************/
3031

3132
#ifndef Esp8266_AT_WM_Lite_DUE_h
@@ -41,7 +42,16 @@
4142
#error This code is intended to run on the SAM DUE platform! Please check your Tools->Board setting.
4243
#endif
4344

44-
#define ESP_AT_WM_LITE_VERSION "ESP_AT_WM_Lite v1.5.0"
45+
#ifndef ESP_AT_WM_LITE_VERSION
46+
#define ESP_AT_WM_LITE_VERSION "ESP_AT_WM_Lite v1.5.1"
47+
48+
#define ESP_AT_WM_LITE_VERSION_MAJOR 1
49+
#define ESP_AT_WM_LITE_VERSION_MINOR 5
50+
#define ESP_AT_WM_LITE_VERSION_PATCH 1
51+
52+
#define ESP_AT_WM_LITE_VERSION_INT 1005001
53+
54+
#endif
4555

4656
#define DEFAULT_BOARD_NAME "SAM-DUE"
4757

0 commit comments

Comments
 (0)