From 48cfcff4475ce97ff28c123e7af170eceda65c81 Mon Sep 17 00:00:00 2001 From: Khoi Hoang <57012152+khoih-prog@users.noreply.github.com> Date: Wed, 26 Jan 2022 16:12:22 -0500 Subject: [PATCH] v1.7.1 for SAMD ### Releases v1.7.1 1. Update to be compatible with new `FlashStorage_SAMD` library version 2. Update `Packages' Patches` --- CONTRIBUTING.md | 10 +- README.md | 179 ++++++++------------ changelog.md | 6 + keywords.txt | 6 + library.json | 14 +- library.properties | 2 +- platformio/platformio.ini | 20 +-- src/Adapters/Ethernet_DUE_Manager.h | 3 +- src/Adapters/Ethernet_ESP32_Manager.h | 3 +- src/Adapters/Ethernet_ESP8266_Manager.h | 3 +- src/Adapters/Ethernet_MBED_RP2040_Manager.h | 3 +- src/Adapters/Ethernet_NRF52_Manager.h | 3 +- src/Adapters/Ethernet_RP2040_Manager.h | 3 +- src/Adapters/Ethernet_SAMD_Manager.h | 6 +- src/Adapters/Ethernet_Teensy_Manager.h | 3 +- src/Adapters/Ethernet_WT32_ETH01_Manager.h | 3 +- src/Adapters/QNEthernet_Teensy_Manager.h | 3 +- src/Ethernet_Manager.h | 14 +- src/Ethernet_Manager_Debug.h | 3 +- 19 files changed, 144 insertions(+), 143 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index b01445f1..9669715c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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: @@ -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. diff --git a/README.md b/README.md index b48292ff..99adfb42 100644 --- a/README.md +++ b/README.md @@ -139,11 +139,11 @@ ### Important Notes about Nano_RP2040_Connect -The LittleFS of the new **Nano_RP2040_Connect** board ( see [New board](pics/New_Board.png) ), using ISSI Flash chip, is currently not working with [`Arduino mbed_rp2040 core 2.4.1`](https://github.com/arduino/ArduinoCore-mbed/releases/tag/2.4.1). Please downgrade to [`Arduino mbed_rp2040 core 2.3.1`](https://github.com/arduino/ArduinoCore-mbed/releases/tag/2.3.1) +The LittleFS of the new **Nano_RP2040_Connect** board ( see [New board](pics/New_Board.png) ), using ISSI Flash chip, is currently not working with [`Arduino mbed_rp2040 core 2.4.1+`](https://github.com/arduino/ArduinoCore-mbed/releases/tag/2.4.1). Please downgrade to [`Arduino mbed_rp2040 core 2.3.1`](https://github.com/arduino/ArduinoCore-mbed/releases/tag/2.3.1) Check [**RP2040 Connect board has faulty components in newest purchase** #318](https://github.com/arduino/ArduinoCore-mbed/issues/318#) for more information of when and how the issue will be fixed. -The old board ( see [Old board](pics/Old_Board.png) ), using Adesto Flash chip, is currently working with [`Arduino mbed_rp2040 core 2.4.1`](https://github.com/arduino/ArduinoCore-mbed/releases/tag/2.4.1). +The old board ( see [Old board](pics/Old_Board.png) ), using Adesto Flash chip, is currently working with [`Arduino mbed_rp2040 core 2.4.1+`](https://github.com/arduino/ArduinoCore-mbed/releases/tag/2.4.1). --- --- @@ -218,36 +218,36 @@ This [**Ethernet_Manager** library](https://github.com/khoih-prog/Ethernet_Manag ## Prerequisites - 1. [`Arduino IDE 1.8.16+` for Arduino](https://www.arduino.cc/en/Main/Software) + 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) 2. [`Arduino AVR core 1.8.4+`](https://github.com/arduino/ArduinoCore-avr) for Arduino (Use Arduino Board Manager) AVR boards. [![GitHub release](https://img.shields.io/github/release/arduino/ArduinoCore-avr.svg)](https://github.com/arduino/ArduinoCore-avr/releases/latest) - 3. [`Teensy core v1.55+`](https://www.pjrc.com/teensy/td_download.html) for Teensy (4.1, 4.0, 3.6, 3.5, 3,2, 3.1, 3.0) boards. + 3. [`Teensy core v1.56+`](https://www.pjrc.com/teensy/td_download.html) for Teensy (4.1, 4.0, 3.6, 3.5, 3,2, 3.1, 3.0) boards. 4. [`Arduino SAM DUE core v1.6.12+`](https://github.com/arduino/ArduinoCore-sam) for SAM DUE ARM Cortex-M3 boards. 5. [`Arduino SAMD core 1.8.12+`](https://github.com/arduino/ArduinoCore-samd) for SAMD ARM Cortex-M0+ boards. [![GitHub release](https://img.shields.io/github/release/arduino/ArduinoCore-samd.svg)](https://github.com/arduino/ArduinoCore-samd/releases/latest) - 6. [`Adafruit SAMD core 1.7.5+`](https://github.com/adafruit/ArduinoCore-samd) for SAMD ARM Cortex-M0+ and M4 boards (Nano 33 IoT, etc.). [![GitHub release](https://img.shields.io/github/release/adafruit/ArduinoCore-samd.svg)](https://github.com/adafruit/ArduinoCore-samd/releases/latest) + 6. [`Adafruit SAMD core 1.7.7+`](https://github.com/adafruit/ArduinoCore-samd) for SAMD ARM Cortex-M0+ and M4 boards (Nano 33 IoT, etc.). [![GitHub release](https://img.shields.io/github/release/adafruit/ArduinoCore-samd.svg)](https://github.com/adafruit/ArduinoCore-samd/releases/latest) 7. [`Seeeduino SAMD core 1.8.1+`](https://github.com/Seeed-Studio/ArduinoCore-samd) for SAMD21/SAMD51 boards (XIAO M0, Wio Terminal, etc.). [![Latest release](https://img.shields.io/github/release/Seeed-Studio/ArduinoCore-samd.svg)](https://github.com/Seeed-Studio/ArduinoCore-samd/releases/latest/) - 8. [`Adafruit nRF52 v1.2.0+`](https://github.com/adafruit/Adafruit_nRF52_Arduino) for nRF52 boards such as Adafruit NRF52840_FEATHER, NRF52832_FEATHER, NRF52840_FEATHER_SENSE, NRF52840_ITSYBITSY, NRF52840_CIRCUITPLAY, NRF52840_CLUE, NRF52840_METRO, NRF52840_PCA10056, PARTICLE_XENON, **NINA_B302_ublox**, etc. [![GitHub release](https://img.shields.io/github/release/adafruit/Adafruit_nRF52_Arduino.svg)](https://github.com/adafruit/Adafruit_nRF52_Arduino/releases/latest) - 9. [`ESP32 Core 2.0.1+`](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/) + 8. [`Adafruit nRF52 v1.3.0+`](https://github.com/adafruit/Adafruit_nRF52_Arduino) for nRF52 boards such as Adafruit NRF52840_FEATHER, NRF52832_FEATHER, NRF52840_FEATHER_SENSE, NRF52840_ITSYBITSY, NRF52840_CIRCUITPLAY, NRF52840_CLUE, NRF52840_METRO, NRF52840_PCA10056, PARTICLE_XENON, **NINA_B302_ublox**, etc. [![GitHub release](https://img.shields.io/github/release/adafruit/Adafruit_nRF52_Arduino.svg)](https://github.com/adafruit/Adafruit_nRF52_Arduino/releases/latest) + 9. [`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/) 10. [`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/). To use ESP8266 core 2.7.1+ for LittleFS. 11. [`Arduino mbed_rp2040 core 2.6.1+`](https://github.com/arduino/ArduinoCore-mbed) for Arduino (Use Arduino Board Manager) RP2040-based boards, such as RASPBERRY_PI_PICO. [![GitHub release](https://img.shields.io/github/release/arduino/ArduinoCore-mbed.svg)](https://github.com/arduino/ArduinoCore-mbed/releases/latest) -12. [`Earle Philhower's arduino-pico core v1.9.6+`](https://github.com/earlephilhower/arduino-pico) for RP2040-based boards such as **RASPBERRY_PI_PICO, ADAFRUIT_FEATHER_RP2040 and GENERIC_RP2040**, etc. [![GitHub release](https://img.shields.io/github/release/earlephilhower/arduino-pico.svg)](https://github.com/earlephilhower/arduino-pico/releases/latest) +12. [`Earle Philhower's arduino-pico core v1.9.14+`](https://github.com/earlephilhower/arduino-pico) for RP2040-based boards such as **RASPBERRY_PI_PICO, ADAFRUIT_FEATHER_RP2040 and GENERIC_RP2040**, etc. [![GitHub release](https://img.shields.io/github/release/earlephilhower/arduino-pico.svg)](https://github.com/earlephilhower/arduino-pico/releases/latest) 13. [`Functional-VLPP library v1.0.2+`](https://github.com/khoih-prog/functional-vlpp) to use server's lambda function. To install. check [![arduino-library-badge](https://www.ardu-badge.com/badge/Functional-Vlpp.svg?)](https://www.ardu-badge.com/Functional-Vlpp) 14. Depending on which Ethernet card you're using: - [`Ethernet library v2.0.0+`](https://github.com/arduino-libraries/Ethernet) for W5100, W5200 and W5500. [![GitHub release](https://img.shields.io/github/release/arduino-libraries/Ethernet.svg)](https://github.com/arduino-libraries/Ethernet/releases/latest) - [`EthernetLarge library v2.0.0+`](https://github.com/OPEnSLab-OSU/EthernetLarge) for W5100, W5200 and W5500. - [`Ethernet2 library v1.0.4+`](https://github.com/khoih-prog/Ethernet2) for W5500. [![GitHub release](https://img.shields.io/github/release/adafruit/Ethernet2.svg)](https://github.com/adafruit/Ethernet2/releases/latest) - [`Ethernet3 library v1.5.5+`](https://github.com/sstaub/Ethernet3) for W5500/WIZ550io/WIZ850io/USR-ES1 with Wiznet W5500 chip. [![GitHub release](https://img.shields.io/github/release/sstaub/Ethernet3.svg)](https://github.com/sstaub/Ethernet3/releases/latest) - - [`EthernetENC library v2.0.1+`](https://github.com/jandrassy/EthernetENC) for ENC28J60. [![GitHub release](https://img.shields.io/github/release/jandrassy/EthernetENC.svg)](https://github.com/jandrassy/EthernetENC/releases/latest). **New and Better** - - [`UIPEthernet library v2.0.10+`](https://github.com/UIPEthernet/UIPEthernet) for ENC28J60. [![GitHub release](https://img.shields.io/github/release/UIPEthernet/UIPEthernet.svg)](https://github.com/UIPEthernet/UIPEthernet/releases/latest) + - [`EthernetENC library v2.0.2+`](https://github.com/jandrassy/EthernetENC) for ENC28J60. [![GitHub release](https://img.shields.io/github/release/jandrassy/EthernetENC.svg)](https://github.com/jandrassy/EthernetENC/releases/latest). **New and Better** + - [`UIPEthernet library v2.0.11+`](https://github.com/UIPEthernet/UIPEthernet) for ENC28J60. [![GitHub release](https://img.shields.io/github/release/UIPEthernet/UIPEthernet.svg)](https://github.com/UIPEthernet/UIPEthernet/releases/latest) - [`NativeEthernet Library version stable111+`](https://github.com/vjmuzik/NativeEthernet) for Teensy 4.1 built-in Ethernet. - - [`QNEthernet Library version v0.10.0+`](https://github.com/ssilverman/QNEthernet) for Teensy 4.1 built-in Ethernet. **New** + - [`QNEthernet Library version v0.12.0+`](https://github.com/ssilverman/QNEthernet) for Teensy 4.1 built-in Ethernet. **New** 15. Depending on which board you're using: - [`DueFlashStorage library v1.0.0+`](https://github.com/sebnil/DueFlashStorage) for SAM DUE. To install, check [![arduino-library-badge](https://www.ardu-badge.com/badge/DueFlashStorage.svg?)](https://www.ardu-badge.com/DueFlashStorage) - - [`FlashStorage_SAMD library v1.2.0+`](https://github.com/khoih-prog/FlashStorage_SAMD) for SAMD21 and SAMD51 boards (ZERO, MKR, NANO_33_IOT, M0, M0 Pro, AdaFruit Itsy-Bitsy M4, etc.). [![GitHub release](https://img.shields.io/github/release/khoih-prog/FlashStorage_SAMD.svg)](https://github.com/khoih-prog/FlashStorage_SAMD/releases/latest) + - [`FlashStorage_SAMD library v1.3.2+`](https://github.com/khoih-prog/FlashStorage_SAMD) for SAMD21 and SAMD51 boards (ZERO, MKR, NANO_33_IOT, M0, M0 Pro, AdaFruit Itsy-Bitsy M4, etc.). [![GitHub release](https://img.shields.io/github/release/khoih-prog/FlashStorage_SAMD.svg)](https://github.com/khoih-prog/FlashStorage_SAMD/releases/latest) - [`Adafruit's LittleFS/InternalFS`](www.adafruit.com) for nRF52 -16. [`EthernetWebServer library v1.7.1+`](https://github.com/khoih-prog/EthernetWebServer). To install. check [![arduino-library-badge](https://www.ardu-badge.com/badge/EthernetWebServer.svg?)](https://www.ardu-badge.com/EthernetWebServer). -17. [`WebServer_WT32_ETH01 library v1.4.0+`](https://github.com/khoih-prog/WebServer_WT32_ETH01) for WT32_ETH01 boards. To install. check [![arduino-library-badge](https://www.ardu-badge.com/badge/WebServer_WT32_ETH01.svg?)](https://www.ardu-badge.com/WebServer_WT32_ETH01). +16. [`EthernetWebServer library v2.0.0+`](https://github.com/khoih-prog/EthernetWebServer). To install. check [![arduino-library-badge](https://www.ardu-badge.com/badge/EthernetWebServer.svg?)](https://www.ardu-badge.com/EthernetWebServer). +17. [`WebServer_WT32_ETH01 library v1.4.1+`](https://github.com/khoih-prog/WebServer_WT32_ETH01) for WT32_ETH01 boards. To install. check [![arduino-library-badge](https://www.ardu-badge.com/badge/WebServer_WT32_ETH01.svg?)](https://www.ardu-badge.com/WebServer_WT32_ETH01). 18. [`ESP_DoubleResetDetector library v1.2.1+`](https://github.com/khoih-prog/ESP_DoubleResetDetector) for ESP32 and ESP8266. To install. check [![arduino-library-badge](https://www.ardu-badge.com/badge/ESP_DoubleResetDetector.svg?)](https://www.ardu-badge.com/ESP_DoubleResetDetector). -19. [`DoubleResetDetector_Generic library v1.7.3+`](https://github.com/khoih-prog/DoubleResetDetector_Generic) for other boards (not ESP32 or ESP8266). To install. check [![arduino-library-badge](https://www.ardu-badge.com/badge/DoubleResetDetector_Generic.svg?)](https://www.ardu-badge.com/DoubleResetDetector_Generic). +19. [`DoubleResetDetector_Generic library v1.8.0+`](https://github.com/khoih-prog/DoubleResetDetector_Generic) for other boards (not ESP32 or ESP8266). To install. check [![arduino-library-badge](https://www.ardu-badge.com/badge/DoubleResetDetector_Generic.svg?)](https://www.ardu-badge.com/DoubleResetDetector_Generic). 20. [`Functional-VLPP library v1.0.2+`](https://github.com/khoih-prog/functional-vlpp) to use server's lambda function. To install. check [![arduino-library-badge](https://www.ardu-badge.com/badge/Functional-Vlpp.svg?)](https://www.ardu-badge.com/Functional-Vlpp) 21. [`LittleFS_esp32 v1.0.6+`](https://github.com/lorol/LITTLEFS) for ESP32-based boards using LittleFS with ESP32 core v1.0.5-. 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+ @@ -283,37 +283,19 @@ The best way is to use `Arduino Library Manager`. Search for `Ethernet_Manager`, #### 1. For Adafruit nRF52840 and nRF52832 boards ---- - -#### Note: - -Please be noted that the v1.1.0- `platform.txt` can't be used for v1.2.0. The modification must be - -``` -'-DBOARD_NAME="{build.board}"' -``` +**To be able to compile, run and automatically detect and display BOARD_NAME on nRF52840/nRF52832 boards**, you have to copy the whole [nRF52 Packages_Patches](Packages_Patches/adafruit/hardware/nrf52/1.3.0) directory into Adafruit nRF52 directory (~/.arduino15/packages/adafruit/hardware/nrf52/1.3.0). -instead of - -``` --DBOARD_NAME="{build.board}" -``` - ---- - -**To be able to compile, run and automatically detect and display BOARD_NAME on nRF52840/nRF52832 boards**, you have to copy the whole [nRF52 Packages_Patches](Packages_Patches/adafruit/hardware/nrf52/1.2.0) directory into Adafruit nRF52 directory (~/.arduino15/packages/adafruit/hardware/nrf52/1.2.0). - -Supposing the Adafruit nRF52 version is 1.2.0. These files must be copied into the directory: -- `~/.arduino15/packages/adafruit/hardware/nrf52/1.2.0/platform.txt` -- `~/.arduino15/packages/adafruit/hardware/nrf52/1.2.0/boards.txt` -- `~/.arduino15/packages/adafruit/hardware/nrf52/1.2.0/cores/nRF5/Udp.h` -- `~/.arduino15/packages/adafruit/hardware/nrf52/1.2.0/cores/nRF5/Print.h` -- `~/.arduino15/packages/adafruit/hardware/nrf52/1.2.0/cores/nRF5/Print.cpp` -- `~/.arduino15/packages/adafruit/hardware/nrf52/1.2.0/variants/NINA_B302_ublox/variant.h` -- `~/.arduino15/packages/adafruit/hardware/nrf52/1.2.0/variants/NINA_B302_ublox/variant.cpp` -- `~/.arduino15/packages/adafruit/hardware/nrf52/1.2.0/variants/NINA_B112_ublox/variant.h` -- `~/.arduino15/packages/adafruit/hardware/nrf52/1.2.0/variants/NINA_B112_ublox/variant.cpp` -- **`~/.arduino15/packages/adafruit/hardware/nrf52/1.2.0/cores/nRF5/Udp.h`** +Supposing the Adafruit nRF52 version is 1.3.0. These files must be copied into the directory: +- `~/.arduino15/packages/adafruit/hardware/nrf52/1.3.0/platform.txt` +- `~/.arduino15/packages/adafruit/hardware/nrf52/1.3.0/boards.txt` +- `~/.arduino15/packages/adafruit/hardware/nrf52/1.3.0/cores/nRF5/Udp.h` +- `~/.arduino15/packages/adafruit/hardware/nrf52/1.3.0/cores/nRF5/Print.h` +- `~/.arduino15/packages/adafruit/hardware/nrf52/1.3.0/cores/nRF5/Print.cpp` +- `~/.arduino15/packages/adafruit/hardware/nrf52/1.3.0/variants/NINA_B302_ublox/variant.h` +- `~/.arduino15/packages/adafruit/hardware/nrf52/1.3.0/variants/NINA_B302_ublox/variant.cpp` +- `~/.arduino15/packages/adafruit/hardware/nrf52/1.3.0/variants/NINA_B112_ublox/variant.h` +- `~/.arduino15/packages/adafruit/hardware/nrf52/1.3.0/variants/NINA_B112_ublox/variant.cpp` +- **`~/.arduino15/packages/adafruit/hardware/nrf52/1.3.0/cores/nRF5/Udp.h`** Whenever a new version is installed, remember to copy these files into the new version directory. For example, new version is x.yy.z These files must be copied into the directory: @@ -329,18 +311,16 @@ These files must be copied into the directory: - `~/.arduino15/packages/adafruit/hardware/nrf52/x.yy.z/variants/NINA_B112_ublox/variant.cpp` - **`~/.arduino15/packages/adafruit/hardware/nrf52/x.yy.z/cores/nRF5/Udp.h`** ---- - #### 2. For Teensy boards - **To be able to compile and run on Teensy boards**, you have to copy the files in [**Packages_Patches for Teensy directory**](Packages_Patches/hardware/teensy/avr) into Teensy hardware directory (./arduino-1.8.16/hardware/teensy/avr/boards.txt). + **To be able to compile and run on Teensy boards**, you have to copy the files in [**Packages_Patches for Teensy directory**](Packages_Patches/hardware/teensy/avr) into Teensy hardware directory (./arduino-1.8.19/hardware/teensy/avr/boards.txt). -Supposing the Arduino version is 1.8.16. These files must be copied into the directory: +Supposing the Arduino version is 1.8.19. These files must be copied into the directory: -- `./arduino-1.8.16/hardware/teensy/avr/boards.txt` -- `./arduino-1.8.16/hardware/teensy/avr/cores/teensy/Stream.h` -- `./arduino-1.8.16/hardware/teensy/avr/cores/teensy3/Stream.h` -- `./arduino-1.8.16/hardware/teensy/avr/cores/teensy4/Stream.h` +- `./arduino-1.8.19/hardware/teensy/avr/boards.txt` +- `./arduino-1.8.19/hardware/teensy/avr/cores/teensy/Stream.h` +- `./arduino-1.8.19/hardware/teensy/avr/cores/teensy3/Stream.h` +- `./arduino-1.8.19/hardware/teensy/avr/cores/teensy4/Stream.h` Whenever a new version is installed, remember to copy this file into the new version directory. For example, new version is x.yy.zz These files must be copied into the directory: @@ -350,8 +330,6 @@ These files must be copied into the directory: - `./arduino-x.yy.zz/hardware/teensy/avr/cores/teensy3/Stream.h` - `./arduino-x.yy.zz/hardware/teensy/avr/cores/teensy4/Stream.h` ---- - #### 3. For Arduino SAM DUE boards **To be able to compile and run on SAM DUE boards**, you have to copy the whole [SAM DUE](Packages_Patches/arduino/hardware/sam/1.6.12) directory into Arduino sam directory (~/.arduino15/packages/arduino/hardware/sam/1.6.12). @@ -365,8 +343,6 @@ This file must be copied into the directory: - `~/.arduino15/packages/arduino/hardware/sam/x.yy.zz/platform.txt` ---- - #### 4. For Arduino SAMD boards ***To be able to compile, run and automatically detect and display BOARD_NAME on Arduino SAMD (Nano-33-IoT, etc) boards***, you have to copy the whole [Arduino SAMD Packages_Patches](Packages_Patches/arduino/hardware/samd/1.8.12) directory into Arduino SAMD directory (~/.arduino15/packages/arduino/hardware/samd/1.8.12). @@ -406,17 +382,15 @@ These files must be copied into the directory: Whenever the above-mentioned compiler error issue is fixed with the new Arduino SAMD release, you don't need to copy the `Arduino.h` file anymore. ---- - #### 5. For Adafruit SAMD boards - ***To be able to compile, run and automatically detect and display BOARD_NAME on Adafruit SAMD (Itsy-Bitsy M4, etc) boards***, you have to copy the whole [Adafruit SAMD Packages_Patches](Packages_Patches/adafruit/hardware/samd/1.7.5) directory into Adafruit samd directory (~/.arduino15/packages/adafruit/hardware/samd/1.7.5). + ***To be able to compile, run and automatically detect and display BOARD_NAME on Adafruit SAMD (Itsy-Bitsy M4, etc) boards***, you have to copy the whole [Adafruit SAMD Packages_Patches](Packages_Patches/adafruit/hardware/samd/1.7.7) directory into Adafruit samd directory (~/.arduino15/packages/adafruit/hardware/samd/1.7.7). -Supposing the Adafruit SAMD core version is 1.7.5. This file must be copied into the directory: +Supposing the Adafruit SAMD core version is 1.7.7. This file must be copied into the directory: -- `~/.arduino15/packages/adafruit/hardware/samd/1.7.5/platform.txt` -- `~/.arduino15/packages/adafruit/hardware/samd/1.7.5/cores/arduino/Print.h` -- `~/.arduino15/packages/adafruit/hardware/samd/1.7.5/cores/arduino/Print.cpp` +- `~/.arduino15/packages/adafruit/hardware/samd/1.7.7/platform.txt` +- `~/.arduino15/packages/adafruit/hardware/samd/1.7.7/cores/arduino/Print.h` +- `~/.arduino15/packages/adafruit/hardware/samd/1.7.7/cores/arduino/Print.cpp` Whenever a new version is installed, remember to copy this file into the new version directory. For example, new version is x.yy.zz This file must be copied into the directory: @@ -425,8 +399,6 @@ This file must be copied into the directory: - `~/.arduino15/packages/adafruit/hardware/samd/x.yy.zz/cores/arduino/Print.h` - `~/.arduino15/packages/adafruit/hardware/samd/x.yy.zz/cores/arduino/Print.cpp` ---- - #### 6. For Seeeduino SAMD boards ***To be able to compile, run and automatically detect and display BOARD_NAME on Seeeduino SAMD (XIAO M0, Wio Terminal, etc) boards***, you have to copy the whole [Seeeduino SAMD Packages_Patches](Packages_Patches/Seeeduino/hardware/samd/1.8.2) directory into Seeeduino samd directory (~/.arduino15/packages/Seeeduino/hardware/samd/1.8.2). @@ -446,8 +418,6 @@ This file must be copied into the directory: - `~/.arduino15/packages/Seeeduino/hardware/samd/x.yy.zz/cores/arduino/Print.h` - `~/.arduino15/packages/Seeeduino/hardware/samd/x.yy.zz/cores/arduino/Print.cpp` ---- - #### 7. For STM32 boards #### 7.1 For STM32 boards to use LAN8720 @@ -458,12 +428,12 @@ To use LAN8720 on some STM32 boards - **Discovery (DISCO_F746NG)** - **STM32F4 boards (BLACK_F407VE, BLACK_F407VG, BLACK_F407ZE, BLACK_F407ZG, BLACK_F407VE_Mini, DIYMORE_F407VGT, FK407M1)** -you have to copy the files [stm32f4xx_hal_conf_default.h](Packages_Patches/STM32/hardware/stm32/2.1.0/system/STM32F4xx) and [stm32f7xx_hal_conf_default.h](Packages_Patches/STM32/hardware/stm32/2.1.0/system/STM32F7xx) into STM32 stm32 directory (~/.arduino15/packages/STM32/hardware/stm32/2.1.0/system) to overwrite the old files. +you have to copy the files [stm32f4xx_hal_conf_default.h](Packages_Patches/STM32/hardware/stm32/2.2.0/system/STM32F4xx) and [stm32f7xx_hal_conf_default.h](Packages_Patches/STM32/hardware/stm32/2.2.0/system/STM32F7xx) into STM32 stm32 directory (~/.arduino15/packages/STM32/hardware/stm32/2.2.0/system) to overwrite the old files. -Supposing the STM32 stm32 core version is 2.1.0. These files must be copied into the directory: +Supposing the STM32 stm32 core version is 2.2.0. These files must be copied into the directory: -- `~/.arduino15/packages/STM32/hardware/stm32/2.1.0/system/STM32F4xx/stm32f4xx_hal_conf_default.h` for STM32F4. -- `~/.arduino15/packages/STM32/hardware/stm32/2.1.0/system/STM32F7xx/stm32f7xx_hal_conf_default.h` for Nucleo-144 STM32F7. +- `~/.arduino15/packages/STM32/hardware/stm32/2.2.0/system/STM32F4xx/stm32f4xx_hal_conf_default.h` for STM32F4. +- `~/.arduino15/packages/STM32/hardware/stm32/2.2.0/system/STM32F7xx/stm32f7xx_hal_conf_default.h` for Nucleo-144 STM32F7. Whenever a new version is installed, remember to copy this file into the new version directory. For example, new version is x.yy.zz, theses files must be copied into the corresponding directory: @@ -474,12 +444,12 @@ theses files must be copied into the corresponding directory: #### 7.2 For STM32 boards to use Serial1 -**To use Serial1 on some STM32 boards without Serial1 definition (Nucleo-144 NUCLEO_F767ZI, Nucleo-64 NUCLEO_L053R8, etc.) boards**, you have to copy the files [STM32 variant.h](Packages_Patches/STM32/hardware/stm32/2.1.0) into STM32 stm32 directory (~/.arduino15/packages/STM32/hardware/stm32/2.1.0). You have to modify the files corresponding to your boards, this is just an illustration how to do. +**To use Serial1 on some STM32 boards without Serial1 definition (Nucleo-144 NUCLEO_F767ZI, Nucleo-64 NUCLEO_L053R8, etc.) boards**, you have to copy the files [STM32 variant.h](Packages_Patches/STM32/hardware/stm32/2.2.0) into STM32 stm32 directory (~/.arduino15/packages/STM32/hardware/stm32/2.2.0). You have to modify the files corresponding to your boards, this is just an illustration how to do. -Supposing the STM32 stm32 core version is 2.1.0. These files must be copied into the directory: +Supposing the STM32 stm32 core version is 2.2.0. These files must be copied into the directory: -- `~/.arduino15/packages/STM32/hardware/stm32/2.1.0/variants/STM32F7xx/F765Z(G-I)T_F767Z(G-I)T_F777ZIT/NUCLEO_F767ZI/variant.h` for Nucleo-144 NUCLEO_F767ZI. -- `~/.arduino15/packages/STM32/hardware/stm32/2.1.0/variants/STM32L0xx/L052R(6-8)T_L053R(6-8)T_L063R8T/NUCLEO_L053R8/variant.h` for Nucleo-64 NUCLEO_L053R8. +- `~/.arduino15/packages/STM32/hardware/stm32/2.2.0/variants/STM32F7xx/F765Z(G-I)T_F767Z(G-I)T_F777ZIT/NUCLEO_F767ZI/variant.h` for Nucleo-144 NUCLEO_F767ZI. +- `~/.arduino15/packages/STM32/hardware/stm32/2.2.0/variants/STM32L0xx/L052R(6-8)T_L053R(6-8)T_L063R8T/NUCLEO_L053R8/variant.h` for Nucleo-64 NUCLEO_L053R8. Whenever a new version is installed, remember to copy this file into the new version directory. For example, new version is x.yy.zz, theses files must be copied into the corresponding directory: @@ -487,8 +457,6 @@ theses files must be copied into the corresponding directory: - `~/.arduino15/packages/STM32/hardware/stm32/x.yy.zz/variants/STM32F7xx/F765Z(G-I)T_F767Z(G-I)T_F777ZIT/NUCLEO_F767ZI/variant.h` - `~/.arduino15/packages/STM32/hardware/stm32/x.yy.zz/variants/STM32L0xx/L052R(6-8)T_L053R(6-8)T_L063R8T/NUCLEO_L053R8/variant.h` ---- - #### 8. For RP2040-based boards using [Earle Philhower arduino-pico core](https://github.com/earlephilhower/arduino-pico) #### 8.1 To use BOARD_NAME @@ -521,7 +489,6 @@ This file must be copied to replace: With core after v1.5.0, this step is not necessary anymore thanks to the PR [Add defs for compatibility #142](https://github.com/earlephilhower/arduino-pico/pull/142). ---- #### 9. For Portenta_H7 boards using Arduino IDE in Linux @@ -2430,8 +2397,8 @@ This is the terminal output of an Adafruit NRF52840_FEATHER board with W5500 Eth ``` Start Ethernet_nRF52 on NRF52840_FEATHER Ethernet Shield type W5x00 using Ethernet2 Library -Ethernet_Manager v1.7.0 -DoubleResetDetector_Generic v1.7.3 +Ethernet_Manager v1.7.1 +DoubleResetDetector_Generic v1.8.0 [ETHERNET_WEBSERVER] =========== USE_ETHERNET2 =========== [ETHERNET_WEBSERVER] Default SPI pinout: [ETHERNET_WEBSERVER] MOSI: 25 @@ -2522,8 +2489,8 @@ Pubs Topics = old-mqtt-PubTopic ```cpp Start Ethernet_nRF52 on NRF52840_FEATHER Ethernet Shield type : W5x00 using Ethernet2 Library -Ethernet_Manager v1.7.0 -DoubleResetDetector_Generic v1.7.3 +Ethernet_Manager v1.7.1 +DoubleResetDetector_Generic v1.8.0 [ETHERNET_WEBSERVER] =========== USE_ETHERNET2 =========== [ETHERNET_WEBSERVER] Default SPI pinout: [ETHERNET_WEBSERVER] MOSI: 25 @@ -2705,8 +2672,8 @@ This is the terminal output of an SeeedStudio SAMD21 SEEED_XIAO_M0 board with W5 ``` Start Ethernet_SAMD on SEEED_XIAO_M0 Ethernet Shield type : W5x00 using Ethernet Library -Ethernet_Manager v1.7.0 -DoubleResetDetector_Generic v1.7.3 +Ethernet_Manager v1.7.1 +DoubleResetDetector_Generic v1.8.0 Flag read = 0xffffffff No doubleResetDetected SetFlag write = 0xd0d01234 @@ -2782,8 +2749,8 @@ This is the terminal output of an Arduino SAM DUE board with W5100 Ethernet shie ``` Start Ethernet_SAM_DUE on SAM DUE Ethernet Shield type : W5x00 using EthernetLarge Library -Ethernet_Manager v1.7.0 -DoubleResetDetector_Generic v1.7.3 +Ethernet_Manager v1.7.1 +DoubleResetDetector_Generic v1.8.0 Flag read = 0xd0d01234 doubleResetDetected ClearFlag write = 0xd0d04321 @@ -2868,7 +2835,7 @@ If no valid config data are stored in EEPROM, it will switch to `Configuration M ``` Start MQTT_ThingStream_Ethernet_Generic using LittleFS on ESP8266_NODEMCU Ethernet Shield type : W5x00 using Ethernet2 Library -Ethernet_Manager v1.7.0 +Ethernet_Manager v1.7.1 ESP_DoubleResetDetector v1.2.1 ========================= Currently Used SPI pinout: @@ -2916,7 +2883,7 @@ Enter your credentials (Blynk Servers/Tokens and Port). If you prefer static IP, ``` Start MQTT_ThingStream_Ethernet_Generic using LittleFS on ESP8266_NODEMCU Ethernet Shield type : W5x00 using Ethernet2 Library -Ethernet_Manager v1.7.0 +Ethernet_Manager v1.7.1 ESP_DoubleResetDetector v1.2.1 ========================= Currently Used SPI pinout: @@ -2976,8 +2943,8 @@ This is the terminal output of NRF52840_FEATHER board with ENC28J60 using Ethern ``` Start MQTT_ThingStream_Ethernet_Generic on NRF52840_FEATHER Ethernet Shield type : ENC28J60 using EthernetENC Library -Ethernet_Manager v1.7.0 -DoubleResetDetector_Generic v1.7.3 +Ethernet_Manager v1.7.1 +DoubleResetDetector_Generic v1.8.0 LittleFS Flag read = 0xd0d01234 Flag read = 0xd0d01234 doubleResetDetected @@ -3014,8 +2981,8 @@ esp32-sniffer/12345678/ble ``` Start MQTT_ThingStream_Ethernet_Generic on NRF52840_FEATHER Ethernet Shield type : ENC28J60 using EthernetENC Library -Ethernet_Manager v1.7.0 -DoubleResetDetector_Generic v1.7.3 +Ethernet_Manager v1.7.1 +DoubleResetDetector_Generic v1.8.0 LittleFS Flag read = 0xd0d04321 Flag read = 0xd0d04321 No doubleResetDetected @@ -3071,8 +3038,8 @@ This is the terminal output of RASPBERRY_PI_PICO board with W5x00 using Ethernet ``` Start MQTT_ThingStream_Ethernet_RP2040 on RASPBERRY_PI_PICO Ethernet Shield type : W5x00 using Ethernet Library -Ethernet_Manager v1.7.0 -DoubleResetDetector_Generic v1.7.3 +Ethernet_Manager v1.7.1 +DoubleResetDetector_Generic v1.8.0 [EWS] =========== USE_ETHERNET =========== [EWS] Default SPI pinout: [EWS] MOSI: 19 @@ -3128,8 +3095,8 @@ esp32-sniffer/12345678/ble ``` Start MQTT_ThingStream_Ethernet_RP2040 on RASPBERRY_PI_PICO Ethernet Shield type : W5x00 using Ethernet Library -Ethernet_Manager v1.7.0 -DoubleResetDetector_Generic v1.7.3 +Ethernet_Manager v1.7.1 +DoubleResetDetector_Generic v1.8.0 [EWS] =========== USE_ETHERNET =========== [EWS] Default SPI pinout: [EWS] MOSI: 19 @@ -3201,8 +3168,8 @@ This is the terminal output of an MBED RASPBERRY_PI_PICO board with W5500 Ethern ``` Start Ethernet_RP2040 on MBED RASPBERRY_PI_PICO Ethernet Shield type : W5x00 using EthernetLarge Library -Ethernet_Manager v1.7.0 -DoubleResetDetector_Generic v1.7.3 +Ethernet_Manager v1.7.1 +DoubleResetDetector_Generic v1.8.0 [EWS] =========== USE_ETHERNET_LARGE =========== [EWS] Default SPI pinout: [EWS] MOSI: 3 @@ -3274,8 +3241,8 @@ HHHH[ETM] h:Updating LittleFS: /fs/etm_config.dat ``` Start Ethernet_RP2040 on MBED RASPBERRY_PI_PICO Ethernet Shield type : W5x00 using EthernetLarge Library -Ethernet_Manager v1.7.0 -DoubleResetDetector_Generic v1.7.3 +Ethernet_Manager v1.7.1 +DoubleResetDetector_Generic v1.8.0 [EWS] =========== USE_ETHERNET_LARGE =========== [EWS] Default SPI pinout: [EWS] MOSI: 3 @@ -3343,8 +3310,8 @@ This is the terminal output of WT32-ETH01 board with LAN8720 Ethernet, running c ``` Start MQTT_ThingStream_Ethernet_WT32_ETH01 on WT32-ETH01 Ethernet Shield type : ETH_PHY_LAN8720 -WebServer_WT32_ETH01 v1.3.0 -Ethernet_Manager v1.7.0 +WebServer_WT32_ETH01 v1.4.1 +Ethernet_Manager v1.7.1 ESP_DoubleResetDetector v1.2.1 [ETM] Set CustomsStyle to : [ETM] Set CustomsHeadElement to : @@ -3426,8 +3393,8 @@ This is the terminal output of Teensy 4.1 board with built-in Ethernet, using QN ``` Starting QNEthernet_Teensy on TEENSY 4.1 using QNEthernet -Ethernet_Manager v1.7.0 -DoubleResetDetector_Generic v1.7.3 +Ethernet_Manager v1.7.1 +DoubleResetDetector_Generic v1.8.0 [EWS] =========== USE_QN_ETHERNET =========== QNEthernet using static IP @@ -3540,7 +3507,7 @@ Default Credentials and dynamic parameters 29. Fix QNEthernet-related linkStatus. 30. Add support to many more RP2040 boards 31. Add support to generic SAMD21 : `__SAMD21E1xA__`, `__SAMD21G1xA__` and `__SAMD21J1xA__` - +32. Update to be compatible with new `FlashStorage_SAMD` library version --- --- diff --git a/changelog.md b/changelog.md index 001fc39b..8304f2c3 100644 --- a/changelog.md +++ b/changelog.md @@ -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) @@ -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. diff --git a/keywords.txt b/keywords.txt index 3c5e5b64..008caab9 100644 --- a/keywords.txt +++ b/keywords.txt @@ -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 diff --git a/library.json b/library.json index f4758007..92c8dc16 100644 --- a/library.json +++ b/library.json @@ -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": @@ -27,7 +27,7 @@ { "owner": "khoih-prog", "name": "EthernetWebServer", - "version": ">=1.7.1", + "version": ">=2.0.0", "platforms": ["*"] }, { @@ -39,7 +39,7 @@ { "owner": "khoih-prog", "name": "DoubleResetDetector_Generic", - "version": ">=1.7.3", + "version": ">=1.8.0", "platforms": ["*"] }, { @@ -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"] }, { @@ -67,8 +67,10 @@ "platforms": ["*"] }, { + "owner": "ssilverman", "name": "QNEthernet", - "version": "https://github.com/ssilverman/QNEthernet" + "version": ">=0.12.0", + "platforms": ["teensy"] } ], "frameworks": "*", diff --git a/library.properties b/library.properties index 1c050d65..d22283e2 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=Ethernet_Manager -version=1.7.0 +version=1.7.1 author=Khoi Hoang license=MIT maintainer=Khoi Hoang diff --git a/platformio/platformio.ini b/platformio/platformio.ini index 0af9f20b..c2d6b11b 100644 --- a/platformio/platformio.ini +++ b/platformio/platformio.ini @@ -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) diff --git a/src/Adapters/Ethernet_DUE_Manager.h b/src/Adapters/Ethernet_DUE_Manager.h index 89b10de7..b75c7cdf 100644 --- a/src/Adapters/Ethernet_DUE_Manager.h +++ b/src/Adapters/Ethernet_DUE_Manager.h @@ -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 ------- ----------- ---------- ----------- @@ -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 diff --git a/src/Adapters/Ethernet_ESP32_Manager.h b/src/Adapters/Ethernet_ESP32_Manager.h index 93cb8e37..8044b64a 100644 --- a/src/Adapters/Ethernet_ESP32_Manager.h +++ b/src/Adapters/Ethernet_ESP32_Manager.h @@ -10,7 +10,7 @@ net_Manager Licensed under MIT license - Version: 1.7.0 + Version: 1.7.1 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -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 diff --git a/src/Adapters/Ethernet_ESP8266_Manager.h b/src/Adapters/Ethernet_ESP8266_Manager.h index a5bc4ae0..fbd998c6 100644 --- a/src/Adapters/Ethernet_ESP8266_Manager.h +++ b/src/Adapters/Ethernet_ESP8266_Manager.h @@ -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 ------- ----------- ---------- ----------- @@ -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 diff --git a/src/Adapters/Ethernet_MBED_RP2040_Manager.h b/src/Adapters/Ethernet_MBED_RP2040_Manager.h index c13030f5..caa0d0d0 100644 --- a/src/Adapters/Ethernet_MBED_RP2040_Manager.h +++ b/src/Adapters/Ethernet_MBED_RP2040_Manager.h @@ -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 ------- ----------- ---------- ----------- @@ -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 diff --git a/src/Adapters/Ethernet_NRF52_Manager.h b/src/Adapters/Ethernet_NRF52_Manager.h index 29ee0330..af7d03d4 100644 --- a/src/Adapters/Ethernet_NRF52_Manager.h +++ b/src/Adapters/Ethernet_NRF52_Manager.h @@ -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 ------- ----------- ---------- ----------- @@ -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 diff --git a/src/Adapters/Ethernet_RP2040_Manager.h b/src/Adapters/Ethernet_RP2040_Manager.h index 7f891e6c..3ce36f85 100644 --- a/src/Adapters/Ethernet_RP2040_Manager.h +++ b/src/Adapters/Ethernet_RP2040_Manager.h @@ -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 ------- ----------- ---------- ----------- @@ -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 diff --git a/src/Adapters/Ethernet_SAMD_Manager.h b/src/Adapters/Ethernet_SAMD_Manager.h index 206a1e21..874d104e 100644 --- a/src/Adapters/Ethernet_SAMD_Manager.h +++ b/src/Adapters/Ethernet_SAMD_Manager.h @@ -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 ------- ----------- ---------- ----------- @@ -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 @@ -52,8 +53,7 @@ #define HTTP_UPLOAD_BUFLEN 4096 // Include EEPROM-like API for FlashStorage -//#include //https://github.com/cmaglie/FlashStorage -#include //https://github.com/khoih-prog/FlashStorage_SAMD +#include //https://github.com/khoih-prog/FlashStorage_SAMD ////////////////////////////////////////// diff --git a/src/Adapters/Ethernet_Teensy_Manager.h b/src/Adapters/Ethernet_Teensy_Manager.h index 2736b982..d7cc33bd 100644 --- a/src/Adapters/Ethernet_Teensy_Manager.h +++ b/src/Adapters/Ethernet_Teensy_Manager.h @@ -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 ------- ----------- ---------- ----------- @@ -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 diff --git a/src/Adapters/Ethernet_WT32_ETH01_Manager.h b/src/Adapters/Ethernet_WT32_ETH01_Manager.h index b198b871..ef36313a 100644 --- a/src/Adapters/Ethernet_WT32_ETH01_Manager.h +++ b/src/Adapters/Ethernet_WT32_ETH01_Manager.h @@ -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 ------- ----------- ---------- ----------- @@ -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 diff --git a/src/Adapters/QNEthernet_Teensy_Manager.h b/src/Adapters/QNEthernet_Teensy_Manager.h index dd547531..c3b16827 100644 --- a/src/Adapters/QNEthernet_Teensy_Manager.h +++ b/src/Adapters/QNEthernet_Teensy_Manager.h @@ -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 ------- ----------- ---------- ----------- @@ -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 diff --git a/src/Ethernet_Manager.h b/src/Ethernet_Manager.h index 9d05a856..1c44e412 100644 --- a/src/Ethernet_Manager.h +++ b/src/Ethernet_Manager.h @@ -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 ------- ----------- ---------- ----------- @@ -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 @@ -31,7 +32,16 @@ #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 diff --git a/src/Ethernet_Manager_Debug.h b/src/Ethernet_Manager_Debug.h index d6c53323..a6ad4926 100644 --- a/src/Ethernet_Manager_Debug.h +++ b/src/Ethernet_Manager_Debug.h @@ -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 ------- ----------- ---------- ----------- @@ -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