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

Commit

Permalink
v1.7.2 to use new Ethernet_Generic library
Browse files Browse the repository at this point in the history
### Releases v1.7.2

1. Use new [Ethernet_Generic library](https://github.com/khoih-prog/Ethernet_Generic) as default for W5x00.
2. Support SPI2 for ESP32
3. Add support to SPI1 for RP2040 using [arduino-pico core](https://github.com/earlephilhower/arduino-pico)
4. Drop `EthernetWrapper`
5. Rewrite all the examples to support new features
6. Update `Packages' Patches`
  • Loading branch information
khoih-prog committed Apr 10, 2022
1 parent 742cf3f commit 64db2c3
Show file tree
Hide file tree
Showing 18 changed files with 683 additions and 1,514 deletions.
8 changes: 4 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ 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.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.)
* Board Core Version (e.g. Arduino SAMDUE core v1.6.12, ESP32 core v2.0.2, ESP8266 core v3.0.2, ArduinoCore-mbed v3.0.1, 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 @@ -27,10 +27,10 @@ Please ensure to specify the following:

```
Arduino IDE version: 1.8.19
WT32_ETH01 board
ESP32 core v2.0.2
RASPBERRY_PI_PICO board
ArduinoCore-mbed v3.0.1
OS: Ubuntu 20.04 LTS
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
Linux xy-Inspiron-3593 5.13.0-39-generic #44~20.04.1-Ubuntu SMP Thu Mar 24 16:43:35 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
1,874 changes: 464 additions & 1,410 deletions README.md

Large diffs are not rendered by default.

10 changes: 10 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.2](#releases-v172)
* [Releases v1.7.1](#releases-v171)
* [Major Releases v1.7.0](#major-releases-v170)
* [Releases v1.6.1](#releases-v161)
Expand All @@ -31,6 +32,15 @@

## Changelog

### Releases v1.7.2

1. Use new [Ethernet_Generic library](https://github.com/khoih-prog/Ethernet_Generic) as default for W5x00.
2. Support SPI2 for ESP32
3. Add support to SPI1 for RP2040 using [arduino-pico core](https://github.com/earlephilhower/arduino-pico)
4. Drop `EthernetWrapper`
5. Rewrite all the examples to support new features
6. Update `Packages' Patches`

### Releases v1.7.1

1. Update to be compatible with new `FlashStorage_SAMD` library version
Expand Down
15 changes: 10 additions & 5 deletions library.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Ethernet_Manager",
"version": "1.7.1",
"version": "1.7.2",
"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,19 +27,19 @@
{
"owner": "khoih-prog",
"name": "EthernetWebServer",
"version": ">=2.0.0",
"version": ">=2.1.2",
"platforms": ["*"]
},
{
"owner": "khoih-prog",
"name": "ESP_DoubleResetDetector",
"version": ">=1.2.1",
"version": ">=1.3.1",
"platforms": ["espressif8266", "espressif32"]
},
{
"owner": "khoih-prog",
"name": "DoubleResetDetector_Generic",
"version": ">=1.8.0",
"version": ">=1.8.1",
"platforms": ["*"]
},
{
Expand All @@ -66,10 +66,15 @@
"version": "^1.0.0",
"platforms": ["*"]
},
{
"owner": "khoih-prog",
"name": "Ethernet_Generic",
"version": "^2.0.1"
},
{
"owner": "ssilverman",
"name": "QNEthernet",
"version": ">=0.13.0",
"version": ">=0.14.0",
"platforms": ["teensy"]
}
],
Expand Down
4 changes: 2 additions & 2 deletions library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=Ethernet_Manager
version=1.7.1
version=1.7.2
author=Khoi Hoang
license=MIT
maintainer=Khoi Hoang <khoih.prog@gmail.com>
Expand All @@ -8,5 +8,5 @@ paragraph=Library for configuring/auto(re)connecting Ethernet W5100/W5200/W5500,
category=Communication
url=https://github.com/khoih-prog/Ethernet_Manager
architectures=*
depends=EthernetWebServer,DoubleResetDetector_Generic,ESP_DoubleResetDetector,Functional-Vlpp,FlashStorage_SAMD,WebServer_WT32_ETH01
depends=EthernetWebServer, Ethernet_Generic, DoubleResetDetector_Generic, ESP_DoubleResetDetector, Functional-Vlpp, FlashStorage_SAMD, WebServer_WT32_ETH01
includes=Ethernet_Manager.h
165 changes: 155 additions & 10 deletions platformio/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,20 @@
; ESP32
; SAMD
; NRF52
; STM32
; pico
; portenta_h7_m7
; portenta_h7_m4

; ============================================================
default_envs = SAMD
;default_envs = ESP8266
;default_envs = ESP32
;default_envs = SAMD
default_envs = NRF52
;default_envs = STM32
;default_envs = pico
;default_envs = portenta_h7_m7
;default_envs = portenta_h7_m4

[env]
; ============================================================
Expand All @@ -34,21 +45,23 @@ lib_compat_mode = strict

lib_deps =
; PlatformIO 4.x
; EthernetWebServer@>=2.0.0
; ESP_DoubleResetDetector@>=1.2.1
; DoubleResetDetector_Generic@>=1.8.0
; EthernetWebServer@>=2.1.2
; Ethernet_Generic>=2.0.1
; ESP_DoubleResetDetector@>=1.3.1
; DoubleResetDetector_Generic@>=1.8.1
; Functional-Vlpp@>=1.0.2
; FlashStorage_SAMD@>=1.3.2
; WebServer_WT32_ETH01@>=1.4.1
; QNEthernet@>=0.12.0
; QNEthernet@>=0.14.0
; PlatformIO 5.x
khoih-prog/EthernetWebServer@>=2.0.0
khoih-prog/ESP_DoubleResetDetector@>=1.2.1
khoih-prog/DoubleResetDetector_Generic@>=1.8.0
khoih-prog/EthernetWebServer@>=2.1.2
khoih-prog/Ethernet_Generic@~2.0.1
khoih-prog/ESP_DoubleResetDetector@>=1.3.1
khoih-prog/DoubleResetDetector_Generic@>=1.8.1
khoih-prog/Functional-Vlpp@>=1.0.2
khoih-prog/FlashStorage_SAMD@>=1.3.2
khoih-prog/WebServer_WT32_ETH01@>=1.4.1
ssilverman/QNEthernet@>=0.12.0
ssilverman/QNEthernet@>=0.14.0

build_flags =
; set your debug output (default=Serial)
Expand Down Expand Up @@ -103,7 +116,7 @@ board = nodemcuv2

[env:ESP32]
platform = espressif32
framework = arduino
framework = arduino, espidf
; ============================================================
; Board configuration
; choose your board by uncommenting one of the following lines
Expand Down Expand Up @@ -235,3 +248,135 @@ board = feather52840
;board = mdbt50qrx
;board = ninab302
;board = ninab112

[env:STM32]
platform = ststm32
framework = arduino

; ============================================================
; Choose your board by uncommenting one of the following lines
; ============================================================

; ============================================================
; Board configuration Nucleo-144
; ============================================================

;board = nucleo_f207zg
;board = nucleo_f429zi
;board = nucleo_f746zg
;board = nucleo_f756zg
;board = nucleo_f767zi
;board = nucleo_h743zi
;board = nucleo_l496zg
;board = nucleo_l496zg-p
;board = nucleo_l4r5zi
;board = nucleo_l4r5zi-p

; ============================================================
; Board configuration Nucleo-64
; ============================================================

;board = nucleo_f030r8
;board = nucleo_f072rb

;board = nucleo_f091rc
;board = nucleo_f103rb
;board = nucleo_f302r8
;board = nucleo_f303re
;board = nucleo_f401re
;board = nucleo_f411re
;board = nucleo_f446re
;board = nucleo_g071rb
;board = nucleo_g431rb
;board = nucleo_g474re
;board = nucleo_l053r8
;board = nucleo_l073rz
;board = nucleo_l152re
;board = nucleo_l433rc_p
;board = nucleo_l452re
;board = nucleo_l452re-p
;board = nucleo_l476rg
;board = pnucleo_wb55rg

; ============================================================
; Board configuration Nucleo-32
; ============================================================

;board = nucleo_f031k6
;board = nucleo_l031k6
;board = nucleo_l412kb
;board = nucleo_l432lc
;board = nucleo_f303k8
;board = nucleo_g431kb

; ============================================================
; Board configuration Discovery Boards
; ============================================================

;board = disco_f030r8
;board = disco_f072rb
;board = disco_f030r8
;board = disco_f100rb
;board = disco_f407vg
;board = disco_f413zh
;board = disco_f746ng
;board = disco_g0316
;board = disco_l475vg_iot
;board = disco_f072cz-lrwan1

; ============================================================
; Board configuration STM32MP1 Boards
; ============================================================

;board = stm32mp157a-dk1
;board = stm32mp157c-dk2

; ============================================================
; Board configuration Generic Boards
; ============================================================

;board = bluepill_f103c6
;board = bluepill_f103c8
;board = blackpill_f103c8
;board = stm32f103cx
;board = stm32f103rx
;board = stm32f103tx
;board = stm32f103vx
;board = stm32f103zx
;board = stm32f103zet6
;board = maplemini_f103cb
;board = blackpill_f303cc
;board = black_f407ve
;board = black_f407vg
;board = black_f407ze
;board = black_f407zg
;board = blue_f407ve_mini
;board = blackpill_f401cc
;board = blackpill_f411ce
;board = coreboard_f401rc
;board = feather_f405

[env:portenta_h7_m7]
platform = ststm32
board = portenta_h7_m7
framework = arduino

[env:portenta_h7_m4]
platform = ststm32
board = portenta_h7_m4
framework = arduino

[env:pico]
; ============================================================
; Just a sample
; You have to research and fix if there is issue
; ============================================================
platform = raspberrypi
board = pico
framework = arduino
upload_protocol = picotool

; ============================================================
; Board configuration Many more Boards to be filled
; ============================================================

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.1
Version: 1.7.2
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -25,6 +25,7 @@
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.
1.7.2 K Hoang 10/04/2022 Use Ethernet_Generic library as default. Support SPI1/SPI2 for RP2040/ESP32
*****************************************************************************************************************************/

#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.1
Version: 1.7.2
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -26,6 +26,7 @@ net_Manager
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.
1.7.2 K Hoang 10/04/2022 Use Ethernet_Generic library as default. Support SPI1/SPI2 for RP2040/ESP32
*****************************************************************************************************************************/

#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.1
Version: 1.7.2
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -25,6 +25,7 @@
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.
1.7.2 K Hoang 10/04/2022 Use Ethernet_Generic library as default. Support SPI1/SPI2 for RP2040/ESP32
*****************************************************************************************************************************/

#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.1
Version: 1.7.2
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -25,6 +25,7 @@
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.
1.7.2 K Hoang 10/04/2022 Use Ethernet_Generic library as default. Support SPI1/SPI2 for RP2040/ESP32
*****************************************************************************************************************************/

#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.1
Version: 1.7.2
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -25,6 +25,7 @@
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.
1.7.2 K Hoang 10/04/2022 Use Ethernet_Generic library as default. Support SPI1/SPI2 for RP2040/ESP32
*****************************************************************************************************************************/

#pragma once
Expand Down
Loading

0 comments on commit 64db2c3

Please sign in to comment.