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

Commit

Permalink
v1.7.1 for SAMD
Browse files Browse the repository at this point in the history
### Releases v1.7.1

1. Update to be compatible with new `FlashStorage_SAMD` library version
2. Update `Packages' Patches`
  • Loading branch information
khoih-prog committed Jan 26, 2022
1 parent cdf1cf5 commit 48cfcff
Show file tree
Hide file tree
Showing 19 changed files with 144 additions and 143 deletions.
10 changes: 5 additions & 5 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ If you don't find anything, please [open a new issue](https://github.com/khoih-p

Please ensure to specify the following:

* Arduino IDE version (e.g. 1.8.16) or Platform.io version
* Board Core Version (e.g. Arduino SAMDUE core v1.6.12, ESP8266 core v3.0.2, Teensy core v1.55, etc.)
* Arduino IDE version (e.g. 1.8.19) or Platform.io version
* Board Core Version (e.g. Arduino SAMDUE core v1.6.12, ESP8266 core v3.0.2, Teensy core v1.56, etc.)
* Contextual information (e.g. what you were trying to achieve)
* Simplest possible steps to reproduce
* Anything that might be relevant in your opinion, such as:
Expand All @@ -26,11 +26,11 @@ Please ensure to specify the following:
### Example

```
Arduino IDE version: 1.8.16
Arduino IDE version: 1.8.19
WT32_ETH01 board
ESP32 core v2.0.1
ESP32 core v2.0.2
OS: Ubuntu 20.04 LTS
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
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
Context:
The board couldn't autoreconnect to Local Blynk Server after router power recycling.
Expand Down
179 changes: 73 additions & 106 deletions README.md

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@


* [Changelog](#changelog)
* [Releases v1.7.1](#releases-v171)
* [Major Releases v1.7.0](#major-releases-v170)
* [Releases v1.6.1](#releases-v161)
* [Major Releases v1.6.0](#major-releases-v160)
Expand All @@ -30,6 +31,11 @@

## Changelog

### Releases v1.7.1

1. Update to be compatible with new `FlashStorage_SAMD` library version
2. Update `Packages' Patches`

### Major Releases v1.7.0

1. Auto detect ESP32 core and use either built-in LittleFS or [LITTLEFS](https://github.com/lorol/LITTLEFS) library for ESP32 and WT32-ETH01.
Expand Down
6 changes: 6 additions & 0 deletions keywords.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ link_status KEYWORD2
# Literals (LITERAL1)
#######################################

ETHERNET_MANAGER_VERSION LITERAL1
ETHERNET_MANAGER_VERSION_MAJOR LITERAL1
ETHERNET_MANAGER_VERSION_MINOR LITERAL1
ETHERNET_MANAGER_VERSION_PATCH LITERAL1
ETHERNET_MANAGER_VERSION_INT LITERAL1

ETM_HTML_HEAD LITERAL1
ETM_HTML_HEAD_START LITERAL1
ETM_HTML_HEAD_STYLE LITERAL1
Expand Down
14 changes: 8 additions & 6 deletions library.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Ethernet_Manager",
"version": "1.7.0",
"version": "1.7.1",
"keywords": "communication, ethernet, esp8266, esp32, esp32-s2, esp32-c3, QNEthernet, rp2040, nano-rp2040-connect, W5x00, lan8720, SAM-DUE, SAMD, STM32, nRF52, Credentials, config-portal, WT32-ETH01, Double-Reset, MQTT, rpi-pico, ENC28J60, SAMD51, DynamicParameters, dynamic-params, customs-header, Manager",
"description": "Simple Ethernet Manager for Teensy, SAM DUE, SAMD, nRF52, ESP32 (including ESP32-S2/C3), ESP8266, RP2040-based Nano_RP2040_Connect, RASPBERRY_PI_PICO, etc. boards. Config data saved in ESP LittleFS, SPIFFS or EEPROM, nRF52 LittleFS, EEPROM, DueFlashStorage or SAMD FlashStorage. For configuring/auto(re)connecting Ethernet W5x00, ENC28J60 and NativeEthernet/QNEthernet at runtime. Use much less memory compared to full-fledge WiFiManager. Config Portal (CP) will be auto-adjusted to match the number of dynamic custom parameters. Optional default Credentials to be autoloaded into CP to use or change instead of manually input. Credentials are saved in LittleFS, (emulated-)EEPROM, FlashStorage_SAMD or DueFlashStorage. New powerful-yet-simple-to-use feature to enable adding dynamic parameters from sketch and input using the same CP. DoubleDetectDetector as well as Virtual Switches feature permits entering CP as requested. Configurable HTML Headers, Customs Style, Head Elements, CORS Header",
"authors":
Expand All @@ -27,7 +27,7 @@
{
"owner": "khoih-prog",
"name": "EthernetWebServer",
"version": ">=1.7.1",
"version": ">=2.0.0",
"platforms": ["*"]
},
{
Expand All @@ -39,7 +39,7 @@
{
"owner": "khoih-prog",
"name": "DoubleResetDetector_Generic",
"version": ">=1.7.3",
"version": ">=1.8.0",
"platforms": ["*"]
},
{
Expand All @@ -51,13 +51,13 @@
{
"owner": "khoih-prog",
"name": "FlashStorage_SAMD",
"version": "^1.2.1",
"version": "^1.3.2",
"platforms": ["*"]
},
{
"owner": "khoih-prog",
"name": "WebServer_WT32_ETH01",
"version": "^1.4.0",
"version": "^1.4.1",
"platforms": ["espressif32"]
},
{
Expand All @@ -67,8 +67,10 @@
"platforms": ["*"]
},
{
"owner": "ssilverman",
"name": "QNEthernet",
"version": "https://github.com/ssilverman/QNEthernet"
"version": ">=0.12.0",
"platforms": ["teensy"]
}
],
"frameworks": "*",
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=Ethernet_Manager
version=1.7.0
version=1.7.1
author=Khoi Hoang
license=MIT
maintainer=Khoi Hoang <khoih.prog@gmail.com>
Expand Down
20 changes: 10 additions & 10 deletions platformio/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -34,21 +34,21 @@ lib_compat_mode = strict

lib_deps =
; PlatformIO 4.x
; EthernetWebServer@>=1.7.1
; EthernetWebServer@>=2.0.0
; ESP_DoubleResetDetector@>=1.2.1
; DoubleResetDetector_Generic@>=1.7.3
; DoubleResetDetector_Generic@>=1.8.0
; Functional-Vlpp@>=1.0.2
; FlashStorage_SAMD@>=1.2.1
; WebServer_WT32_ETH01@>=1.4.0
; https://github.com/ssilverman/QNEthernet
; FlashStorage_SAMD@>=1.3.2
; WebServer_WT32_ETH01@>=1.4.1
; QNEthernet@>=0.12.0
; PlatformIO 5.x
khoih-prog/EthernetWebServer@>=1.7.1
khoih-prog/EthernetWebServer@>=2.0.0
khoih-prog/ESP_DoubleResetDetector@>=1.2.1
khoih-prog/DoubleResetDetector_Generic@>=1.7.3
khoih-prog/DoubleResetDetector_Generic@>=1.8.0
khoih-prog/Functional-Vlpp@>=1.0.2
khoih-prog/FlashStorage_SAMD@>=1.2.1
khoih-prog/WebServer_WT32_ETH01@>=1.4.0
https://github.com/ssilverman/QNEthernet
khoih-prog/FlashStorage_SAMD@>=1.3.2
khoih-prog/WebServer_WT32_ETH01@>=1.4.1
ssilverman/QNEthernet@>=0.12.0

build_flags =
; set your debug output (default=Serial)
Expand Down
3 changes: 2 additions & 1 deletion src/Adapters/Ethernet_DUE_Manager.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
Built by Khoi Hoang https://github.com/khoih-prog/Ethernet_Manager
Licensed under MIT license
Version: 1.7.0
Version: 1.7.1
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -24,6 +24,7 @@
1.6.0 K Hoang 05/09/2021 Add support to QNEthernet Library for Teensy 4.1
1.6.1 K Hoang 10/10/2021 Update `platform.ini` and `library.json`
1.7.0 K Hoang 27/11/2021 Auto detect ESP32 core to use correct LittleFS. Fix QNEthernet-related linkStatus.
1.7.1 K Hoang 26/01/2022 Update to be compatible with new FlashStorage libraries.
*****************************************************************************************************************************/

#pragma once
Expand Down
3 changes: 2 additions & 1 deletion src/Adapters/Ethernet_ESP32_Manager.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
net_Manager
Licensed under MIT license
Version: 1.7.0
Version: 1.7.1
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -25,6 +25,7 @@ net_Manager
1.6.0 K Hoang 05/09/2021 Add support to QNEthernet Library for Teensy 4.1
1.6.1 K Hoang 10/10/2021 Update `platform.ini` and `library.json`
1.7.0 K Hoang 27/11/2021 Auto detect ESP32 core to use correct LittleFS. Fix QNEthernet-related linkStatus.
1.7.1 K Hoang 26/01/2022 Update to be compatible with new FlashStorage libraries.
*****************************************************************************************************************************/

#pragma once
Expand Down
3 changes: 2 additions & 1 deletion src/Adapters/Ethernet_ESP8266_Manager.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
Built by Khoi Hoang https://github.com/khoih-prog/Ethernet_Manager
Licensed under MIT license
Version: 1.7.0
Version: 1.7.1
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -24,6 +24,7 @@
1.6.0 K Hoang 05/09/2021 Add support to QNEthernet Library for Teensy 4.1
1.6.1 K Hoang 10/10/2021 Update `platform.ini` and `library.json`
1.7.0 K Hoang 27/11/2021 Auto detect ESP32 core to use correct LittleFS. Fix QNEthernet-related linkStatus.
1.7.1 K Hoang 26/01/2022 Update to be compatible with new FlashStorage libraries.
*****************************************************************************************************************************/

#pragma once
Expand Down
3 changes: 2 additions & 1 deletion src/Adapters/Ethernet_MBED_RP2040_Manager.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
Built by Khoi Hoang https://github.com/khoih-prog/Ethernet_Manager
Licensed under MIT license
Version: 1.7.0
Version: 1.7.1
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -24,6 +24,7 @@
1.6.0 K Hoang 05/09/2021 Add support to QNEthernet Library for Teensy 4.1
1.6.1 K Hoang 10/10/2021 Update `platform.ini` and `library.json`
1.7.0 K Hoang 27/11/2021 Auto detect ESP32 core to use correct LittleFS. Fix QNEthernet-related linkStatus.
1.7.1 K Hoang 26/01/2022 Update to be compatible with new FlashStorage libraries.
*****************************************************************************************************************************/

#pragma once
Expand Down
3 changes: 2 additions & 1 deletion src/Adapters/Ethernet_NRF52_Manager.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
Built by Khoi Hoang https://github.com/khoih-prog/Ethernet_Manager
Licensed under MIT license
Version: 1.7.0
Version: 1.7.1
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -24,6 +24,7 @@
1.6.0 K Hoang 05/09/2021 Add support to QNEthernet Library for Teensy 4.1
1.6.1 K Hoang 10/10/2021 Update `platform.ini` and `library.json`
1.7.0 K Hoang 27/11/2021 Auto detect ESP32 core to use correct LittleFS. Fix QNEthernet-related linkStatus.
1.7.1 K Hoang 26/01/2022 Update to be compatible with new FlashStorage libraries.
*****************************************************************************************************************************/

#pragma once
Expand Down
3 changes: 2 additions & 1 deletion src/Adapters/Ethernet_RP2040_Manager.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
Built by Khoi Hoang https://github.com/khoih-prog/Ethernet_Manager
Licensed under MIT license
Version: 1.7.0
Version: 1.7.1
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -24,6 +24,7 @@
1.6.0 K Hoang 05/09/2021 Add support to QNEthernet Library for Teensy 4.1
1.6.1 K Hoang 10/10/2021 Update `platform.ini` and `library.json`
1.7.0 K Hoang 27/11/2021 Auto detect ESP32 core to use correct LittleFS. Fix QNEthernet-related linkStatus.
1.7.1 K Hoang 26/01/2022 Update to be compatible with new FlashStorage libraries.
*****************************************************************************************************************************/

#pragma once
Expand Down
6 changes: 3 additions & 3 deletions src/Adapters/Ethernet_SAMD_Manager.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
Built by Khoi Hoang https://github.com/khoih-prog/Ethernet_Manager
Licensed under MIT license
Version: 1.7.0
Version: 1.7.1
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -24,6 +24,7 @@
1.6.0 K Hoang 05/09/2021 Add support to QNEthernet Library for Teensy 4.1
1.6.1 K Hoang 10/10/2021 Update `platform.ini` and `library.json`
1.7.0 K Hoang 27/11/2021 Auto detect ESP32 core to use correct LittleFS. Fix QNEthernet-related linkStatus.
1.7.1 K Hoang 26/01/2022 Update to be compatible with new FlashStorage libraries.
*****************************************************************************************************************************/

#pragma once
Expand Down Expand Up @@ -52,8 +53,7 @@
#define HTTP_UPLOAD_BUFLEN 4096

// Include EEPROM-like API for FlashStorage
//#include <FlashAsEEPROM.h> //https://github.com/cmaglie/FlashStorage
#include <FlashAsEEPROM_SAMD.h> //https://github.com/khoih-prog/FlashStorage_SAMD
#include <FlashStorage_SAMD.h> //https://github.com/khoih-prog/FlashStorage_SAMD

//////////////////////////////////////////

Expand Down
3 changes: 2 additions & 1 deletion src/Adapters/Ethernet_Teensy_Manager.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
Built by Khoi Hoang https://github.com/khoih-prog/Ethernet_Manager
Licensed under MIT license
Version: 1.7.0
Version: 1.7.1
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -24,6 +24,7 @@
1.6.0 K Hoang 05/09/2021 Add support to QNEthernet Library for Teensy 4.1
1.6.1 K Hoang 10/10/2021 Update `platform.ini` and `library.json`
1.7.0 K Hoang 27/11/2021 Auto detect ESP32 core to use correct LittleFS. Fix QNEthernet-related linkStatus.
1.7.1 K Hoang 26/01/2022 Update to be compatible with new FlashStorage libraries.
*****************************************************************************************************************************/

#pragma once
Expand Down
3 changes: 2 additions & 1 deletion src/Adapters/Ethernet_WT32_ETH01_Manager.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
Built by Khoi Hoang https://github.com/khoih-prog/Ethernet_Manager
Licensed under MIT license
Version: 1.7.0
Version: 1.7.1
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -24,6 +24,7 @@
1.6.0 K Hoang 05/09/2021 Add support to QNEthernet Library for Teensy 4.1
1.6.1 K Hoang 10/10/2021 Update `platform.ini` and `library.json`
1.7.0 K Hoang 27/11/2021 Auto detect ESP32 core to use correct LittleFS. Fix QNEthernet-related linkStatus.
1.7.1 K Hoang 26/01/2022 Update to be compatible with new FlashStorage libraries.
*****************************************************************************************************************************/

#pragma once
Expand Down
3 changes: 2 additions & 1 deletion src/Adapters/QNEthernet_Teensy_Manager.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
Built by Khoi Hoang https://github.com/khoih-prog/Ethernet_Manager
Licensed under MIT license
Version: 1.7.0
Version: 1.7.1
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -24,6 +24,7 @@
1.6.0 K Hoang 05/09/2021 Add support to QNEthernet Library for Teensy 4.1
1.6.1 K Hoang 10/10/2021 Update `platform.ini` and `library.json`
1.7.0 K Hoang 27/11/2021 Auto detect ESP32 core to use correct LittleFS. Fix QNEthernet-related linkStatus.
1.7.1 K Hoang 26/01/2022 Update to be compatible with new FlashStorage libraries.
*****************************************************************************************************************************/

#pragma once
Expand Down
14 changes: 12 additions & 2 deletions src/Ethernet_Manager.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
Built by Khoi Hoang https://github.com/khoih-prog/Ethernet_Manager
Licensed under MIT license
Version: 1.7.0
Version: 1.7.1
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -24,14 +24,24 @@
1.6.0 K Hoang 05/09/2021 Add support to QNEthernet Library for Teensy 4.1
1.6.1 K Hoang 10/10/2021 Update `platform.ini` and `library.json`
1.7.0 K Hoang 27/11/2021 Auto detect ESP32 core to use correct LittleFS. Fix QNEthernet-related linkStatus.
1.7.1 K Hoang 26/01/2022 Update to be compatible with new FlashStorage libraries.
*****************************************************************************************************************************/

#pragma once

#ifndef Ethernet_Manager_h
#define Ethernet_Manager_h

#define ETHERNET_MANAGER_VERSION "Ethernet_Manager v1.7.0"
#ifndef ETHERNET_MANAGER_VERSION
#define ETHERNET_MANAGER_VERSION "Ethernet_Manager v1.7.1"

#define ETHERNET_MANAGER_VERSION_MAJOR 1
#define ETHERNET_MANAGER_VERSION_MINOR 7
#define ETHERNET_MANAGER_VERSION_PATCH 1

#define ETHERNET_MANAGER_VERSION_INT 1007001

#endif

#if ( USE_ETHERNET2 || USE_ETHERNET3 || USE_ETHERNET_LARGE || USE_ETHERNET_ESP8266 || USE_ETHERNET_ENC || USE_NATIVE_ETHERNET )
#ifdef USE_CUSTOM_ETHERNET
Expand Down
3 changes: 2 additions & 1 deletion src/Ethernet_Manager_Debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
Built by Khoi Hoang https://github.com/khoih-prog/Ethernet_Manager
Licensed under MIT license
Version: 1.7.0
Version: 1.7.1
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -24,6 +24,7 @@
1.6.0 K Hoang 05/09/2021 Add support to QNEthernet Library for Teensy 4.1
1.6.1 K Hoang 10/10/2021 Update `platform.ini` and `library.json`
1.7.0 K Hoang 27/11/2021 Auto detect ESP32 core to use correct LittleFS. Fix QNEthernet-related linkStatus.
1.7.1 K Hoang 26/01/2022 Update to be compatible with new FlashStorage libraries.
*****************************************************************************************************************************/

#pragma once
Expand Down

0 comments on commit 48cfcff

Please sign in to comment.