diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 2779ccc..caca0de 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -27,10 +27,10 @@ Please ensure to specify the following: ``` Arduino IDE version: 1.8.16 -`ArduinoCore-mbed` mbed_portenta core v2.4.1 +`ArduinoCore-mbed` mbed_portenta core v2.5.2 Portenta_H7 Rev2 ABX00042 OS: Ubuntu 20.04 LTS -Linux xy-Inspiron-3593 5.4.0-84-generic #94-Ubuntu SMP Thu Aug 26 20:27:37 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux +Linux xy-Inspiron-3593 5.4.0-86-generic #97-Ubuntu SMP Fri Sep 17 19:19:40 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux Context: I encountered a crash while trying to use the Timer Interrupt. diff --git a/README.md b/README.md index b7bb388..d4fc7fa 100644 --- a/README.md +++ b/README.md @@ -215,16 +215,16 @@ The **RP2040-based boards, such as RASPBERRY_PI_PICO**, are currently supported 2. [`Arduino AVR core 1.8.3+`](https://github.com/arduino/ArduinoCore-avr) for Arduino (Use Arduino Board Manager) for AVR boards. [![GitHub release](https://img.shields.io/github/release/arduino/ArduinoCore-avr.svg)](https://github.com/arduino/ArduinoCore-avr/releases/latest). **New** 3. [`ESP32 Core 2.0.0+`](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/) 4. [`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. - 5. [`Teensy core 1.54+`](https://www.pjrc.com/teensy/td_download.html) for Teensy (4.1, 4.0, 3.6, 3.5, 3,2, 3.1, 3.0, LC) boards. **New** + 5. [`Teensy core 1.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, LC) boards. **New** 6. [`Arduino SAM DUE core v1.6.12+`](https://github.com/arduino/ArduinoCore-sam) for SAM DUE ARM Cortex-M3 boards. 7. [`Arduino SAMD core 1.8.11+`](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) 8. [`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) - 9. [`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/) -10. [`Adafruit nRF52 v1.0.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) -11. [`Arduino Core for STM32 v2.0.0+`](https://github.com/stm32duino/Arduino_Core_STM32) for STM32F/L/H/G/WB/MP1 boards. [![GitHub release](https://img.shields.io/github/release/stm32duino/Arduino_Core_STM32.svg)](https://github.com/stm32duino/Arduino_Core_STM32/releases/latest) + 9. [`Seeeduino SAMD core 1.8.2+`](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/) +10. [`Adafruit nRF52 v1.1.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) +11. [`Arduino Core for STM32 v2.1.0+`](https://github.com/stm32duino/Arduino_Core_STM32) for STM32F/L/H/G/WB/MP1 boards. [![GitHub release](https://img.shields.io/github/release/stm32duino/Arduino_Core_STM32.svg)](https://github.com/stm32duino/Arduino_Core_STM32/releases/latest) 12. [`Arduino megaAVR core 1.8.7+`](https://github.com/arduino/ArduinoCore-megaavr/releases) for Arduino megaAVR boards. Use Arduino Board Manager to install. -13. [`Earle Philhower's arduino-pico core v1.9.4+`](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) -14. [`ArduinoCore-mbed mbed_rp2040, mbed_nano, mbed_portenta core 2.4.1+`](https://github.com/arduino/ArduinoCore-mbed) for Arduino (Use Arduino Board Manager) **Portenta_H7, RP2040-based boards, such as Nano_RP2040_Connect, RASPBERRY_PI_PICO**. [![GitHub release](https://img.shields.io/github/release/arduino/ArduinoCore-mbed.svg)](https://github.com/arduino/ArduinoCore-mbed/releases/latest) +13. [`Earle Philhower's arduino-pico core v1.9.5+`](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) +14. [`ArduinoCore-mbed mbed_rp2040, mbed_nano, mbed_portenta core 2.5.2+`](https://github.com/arduino/ArduinoCore-mbed) for Arduino (Use Arduino Board Manager) **Portenta_H7, RP2040-based boards, such as Nano_RP2040_Connect, RASPBERRY_PI_PICO**. [![GitHub release](https://img.shields.io/github/release/arduino/ArduinoCore-mbed.svg)](https://github.com/arduino/ArduinoCore-mbed/releases/latest) 15. [`ArduinoHttpClient v0.4.0+`](https://github.com/arduino-libraries/ArduinoHttpClient). 16. [`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) @@ -238,9 +238,9 @@ The **RP2040-based boards, such as RASPBERRY_PI_PICO**, are currently supported - [`STM32Ethernet library v1.2.0+`](https://github.com/stm32duino/STM32Ethernet) for built-in LAN8742A Ethernet on (Nucleo-144, Discovery). [![GitHub release](https://img.shields.io/github/release/stm32duino/STM32Ethernet.svg)](https://github.com/stm32duino/STM32Ethernet/releases/latest). To be used with [`LwIP library v2.1.2+`](https://github.com/stm32duino/LwIP) for built-in LAN8742A Ethernet on (Nucleo-144, Discovery). [![GitHub release](https://img.shields.io/github/release/stm32duino/LwIP.svg)](https://github.com/stm32duino/LwIP/releases/latest) - [`NativeEthernet Library version stable111+`](https://github.com/vjmuzik/NativeEthernet) for Teensy 4.1 built-in NativeEthernet. **New** 18. [`WiFiNINA_Generic library v1.8.13+`](https://github.com/khoih-prog/WiFiNINA_Generic) to use WiFiNINA modules/shields. To install. check [![arduino-library-badge](https://www.ardu-badge.com/badge/WiFiNINA_Generic.svg?)](https://www.ardu-badge.com/WiFiNINA_Generic) if using WiFiNINA for boards such as Nano 33 IoT, nRF52, Teensy, etc. -19. [`WiFiWebServer library v1.4.0+`](https://github.com/khoih-prog/WiFiWebServer) to use WiFi/WiFiNINA modules/shields. To install, check [![arduino-library-badge](https://www.ardu-badge.com/badge/WiFiWebServer.svg?)](https://www.ardu-badge.com/WiFiWebServer) -20. [`EthernetWebServer library v1.7.0+`](https://github.com/khoih-prog/EthernetWebServer) to use Ethernet modules/shields on boards other than STM32F/L/H/G/WB/MP1. To install. check [![arduino-library-badge](https://www.ardu-badge.com/badge/EthernetWebServer.svg?)](https://www.ardu-badge.com/EthernetWebServer). -21. [`EthernetWebServer_STM32 library v1.2.0+`](https://github.com/khoih-prog/EthernetWebServer_STM32) to use Ethernet modules/shields on STM32F/L/H/G/WB/MP1 boards. To install, check [![arduino-library-badge](https://www.ardu-badge.com/badge/EthernetWebServer_STM32.svg?)](https://www.ardu-badge.com/EthernetWebServer_STM32). +19. [`WiFiWebServer library v1.4.1+`](https://github.com/khoih-prog/WiFiWebServer) to use WiFi/WiFiNINA modules/shields. To install, check [![arduino-library-badge](https://www.ardu-badge.com/badge/WiFiWebServer.svg?)](https://www.ardu-badge.com/WiFiWebServer) +20. [`EthernetWebServer library v1.7.1+`](https://github.com/khoih-prog/EthernetWebServer) to use Ethernet modules/shields on boards other than STM32F/L/H/G/WB/MP1. To install. check [![arduino-library-badge](https://www.ardu-badge.com/badge/EthernetWebServer.svg?)](https://www.ardu-badge.com/EthernetWebServer). +21. [`EthernetWebServer_STM32 library v1.2.1+`](https://github.com/khoih-prog/EthernetWebServer_STM32) to use Ethernet modules/shields on STM32F/L/H/G/WB/MP1 boards. To install, check [![arduino-library-badge](https://www.ardu-badge.com/badge/EthernetWebServer_STM32.svg?)](https://www.ardu-badge.com/EthernetWebServer_STM32). 22. [`ESP8266_AT_WebServer library v1.4.0+`](https://github.com/khoih-prog/ESP8266_AT_WebServer) to use ESP8266-AT/ESP32-AT WiFi modules/shields. To install, check [![arduino-library-badge](https://www.ardu-badge.com/badge/ESP8266_AT_WebServer.svg?)](https://www.ardu-badge.com/ESP8266_AT_WebServer). Using [![arduino-library-badge](https://www.ardu-badge.com/badge/ESP8266_AT_WebServer.svg?)](https://www.ardu-badge.com/ESP8266_AT_WebServer) is mandatory to avoid error while using ESP8266/ESP32-AT shields. 23. [`WebServer_WT32_ETH01 library v1.2.0+`](https://github.com/khoih-prog/WebServer_WT32_ETH01) to use WT32_ETH01 (ESP32 + LAN8720). To install, check [![arduino-library-badge](https://www.ardu-badge.com/badge/WebServer_WT32_ETH01.svg?)](https://www.ardu-badge.com/WebServer_WT32_ETH01). @@ -267,7 +267,6 @@ Another way to install is to: 1. Install [VS Code](https://code.visualstudio.com/) 2. Install [PlatformIO](https://platformio.org/platformio-ide) -3. Install **DDNS_Generic** library by using [Library Manager](https://docs.platformio.org/en/latest/librarymanager/). Search for DDNS_Generic in [Platform.io Author's Libraries](https://platformio.org/lib/search?query=author:%22Khoi%20Hoang%22) 3. Install [**DDNS_Generic** library](https://platformio.org/lib/show/11241/DDNS_Generic) by using [Library Manager](https://platformio.org/lib/show/11241/DDNS_Generic/installation). Search for **DDNS_Generic** in [Platform.io Author's Libraries](https://platformio.org/lib/search?query=author:%22Khoi%20Hoang%22) 4. Use included [platformio.ini](platformio/platformio.ini) file from examples to ensure that all dependent libraries will installed automatically. Please visit documentation for the other options and examples at [Project Configuration File](https://docs.platformio.org/page/projectconf.html) @@ -278,22 +277,28 @@ Another way to install is to: #### 1. For Adafruit nRF52840 and nRF52832 boards -**To be able to compile, run and automatically detect and display BOARD_NAME on nRF52840/nRF52832 boards**, you have to copy the whole [nRF52 1.0.0](Packages_Patches/adafruit/hardware/nrf52/1.0.0) directory into Adafruit nRF52 directory (~/.arduino15/packages/adafruit/hardware/nrf52/1.0.0). +**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.1.0) directory into Adafruit nRF52 directory (~/.arduino15/packages/adafruit/hardware/nrf52/1.1.0). -Supposing the Adafruit nRF52 version is 1.0.0. These files must be copied into the directory: -- `~/.arduino15/packages/adafruit/hardware/nrf52/1.0.0/platform.txt` -- `~/.arduino15/packages/adafruit/hardware/nrf52/1.0.0/boards.txt` -- `~/.arduino15/packages/adafruit/hardware/nrf52/1.0.0/variants/NINA_B302_ublox/variant.h` -- `~/.arduino15/packages/adafruit/hardware/nrf52/1.0.0/variants/NINA_B302_ublox/variant.cpp` -- `~/.arduino15/packages/adafruit/hardware/nrf52/1.0.0/variants/NINA_B112_ublox/variant.h` -- `~/.arduino15/packages/adafruit/hardware/nrf52/1.0.0/variants/NINA_B112_ublox/variant.cpp` -- **`~/.arduino15/packages/adafruit/hardware/nrf52/1.0.0/cores/nRF5/Udp.h`** +Supposing the Adafruit nRF52 version is 1.1.0. These files must be copied into the directory: +- `~/.arduino15/packages/adafruit/hardware/nrf52/1.1.0/platform.txt` +- `~/.arduino15/packages/adafruit/hardware/nrf52/1.1.0/boards.txt` +- `~/.arduino15/packages/adafruit/hardware/nrf52/1.1.0/cores/nRF5/Udp.h` +- `~/.arduino15/packages/adafruit/hardware/nrf52/1.1.0/cores/nRF5/Print.h` +- `~/.arduino15/packages/adafruit/hardware/nrf52/1.1.0/cores/nRF5/Print.cpp` +- `~/.arduino15/packages/adafruit/hardware/nrf52/1.1.0/variants/NINA_B302_ublox/variant.h` +- `~/.arduino15/packages/adafruit/hardware/nrf52/1.1.0/variants/NINA_B302_ublox/variant.cpp` +- `~/.arduino15/packages/adafruit/hardware/nrf52/1.1.0/variants/NINA_B112_ublox/variant.h` +- `~/.arduino15/packages/adafruit/hardware/nrf52/1.1.0/variants/NINA_B112_ublox/variant.cpp` +- **`~/.arduino15/packages/adafruit/hardware/nrf52/1.1.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: - `~/.arduino15/packages/adafruit/hardware/nrf52/x.yy.z/platform.txt` - `~/.arduino15/packages/adafruit/hardware/nrf52/x.yy.z/boards.txt` +- `~/.arduino15/packages/adafruit/hardware/nrf52/x.yy.z/cores/nRF5/Udp.h` +- `~/.arduino15/packages/adafruit/hardware/nrf52/x.yy.z/cores/nRF5/Print.h` +- `~/.arduino15/packages/adafruit/hardware/nrf52/x.yy.z/cores/nRF5/Print.cpp` - `~/.arduino15/packages/adafruit/hardware/nrf52/x.yy.z/variants/NINA_B302_ublox/variant.h` - `~/.arduino15/packages/adafruit/hardware/nrf52/x.yy.z/variants/NINA_B302_ublox/variant.cpp` - `~/.arduino15/packages/adafruit/hardware/nrf52/x.yy.z/variants/NINA_B112_ublox/variant.h` @@ -334,7 +339,7 @@ This file must be copied into the directory: #### 4. For Arduino SAMD boards - ***To be able to compile without error and automatically detect and display BOARD_NAME on Arduino SAMD (Nano-33-IoT, etc) boards***, you have to copy the whole [Arduino SAMD cores 1.8.11](Packages_Patches/arduino/hardware/samd/1.8.11) directory into Arduino SAMD directory (~/.arduino15/packages/arduino/hardware/samd/1.8.11). + ***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.11) directory into Arduino SAMD directory (~/.arduino15/packages/arduino/hardware/samd/1.8.11). #### For core version v1.8.10+ @@ -373,29 +378,39 @@ Whenever the above-mentioned compiler error issue is fixed with the new Arduino #### 5. For Adafruit SAMD boards - ***To be able to automatically detect and display BOARD_NAME on Adafruit SAMD (Itsy-Bitsy M4, etc) boards***, you have to copy the file [Adafruit SAMD platform.txt](Packages_Patches/adafruit/hardware/samd/1.7.5) 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.5) directory into Adafruit samd directory (~/.arduino15/packages/adafruit/hardware/samd/1.7.5). Supposing the Adafruit SAMD core version is 1.7.5. 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` 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: - `~/.arduino15/packages/adafruit/hardware/samd/x.yy.zz/platform.txt` +- `~/.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 automatically detect and display BOARD_NAME on Seeeduino SAMD (XIAO M0, Wio Terminal, etc) boards***, you have to copy the file [Seeeduino SAMD platform.txt](Packages_Patches/Seeeduino/hardware/samd/1.8.1) into Adafruit samd directory (~/.arduino15/packages/Seeeduino/hardware/samd/1.8.1). + ***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). -Supposing the Seeeduino SAMD core version is 1.8.1. This file must be copied into the directory: +Supposing the Seeeduino SAMD core version is 1.8.2. This file must be copied into the directory: -- `~/.arduino15/packages/Seeeduino/hardware/samd/1.8.1/platform.txt` +- `~/.arduino15/packages/Seeeduino/hardware/samd/1.8.2/platform.txt` +- `~/.arduino15/packages/Seeeduino/hardware/samd/1.8.2/cores/arduino/Arduino.h` +- `~/.arduino15/packages/Seeeduino/hardware/samd/1.8.2/cores/arduino/Print.h` +- `~/.arduino15/packages/Seeeduino/hardware/samd/1.8.2/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: - `~/.arduino15/packages/Seeeduino/hardware/samd/x.yy.zz/platform.txt` +- `~/.arduino15/packages/Seeeduino/hardware/samd/x.yy.zz/cores/arduino/Arduino.h` +- `~/.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 @@ -407,12 +422,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/1.9.0/system/STM32F4xx) and [stm32f7xx_hal_conf_default.h](Packages_Patches/STM32/hardware/stm32/1.9.0/system/STM32F7xx) into STM32 stm32 directory (~/.arduino15/packages/STM32/hardware/stm32/1.9.0/system) to overwrite the old files. +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. -Supposing the STM32 stm32 core version is 1.9.0. These files must be copied into the directory: +Supposing the STM32 stm32 core version is 2.1.0. These files must be copied into the directory: -- `~/.arduino15/packages/STM32/hardware/stm32/1.9.0/system/STM32F4xx/stm32f4xx_hal_conf_default.h` for STM32F4. -- `~/.arduino15/packages/STM32/hardware/stm32/1.9.0/system/STM32F7xx/stm32f7xx_hal_conf_default.h` for Nucleo-144 STM32F7. +- `~/.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. 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: @@ -423,18 +438,18 @@ 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/1.9.0) into STM32 stm32 directory (~/.arduino15/packages/STM32/hardware/stm32/1.9.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.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. -Supposing the STM32 stm32 core version is 1.9.0. These files must be copied into the directory: +Supposing the STM32 stm32 core version is 2.1.0. These files must be copied into the directory: -- `~/.arduino15/packages/STM32/hardware/stm32/1.9.0/variants/NUCLEO_F767ZI/variant.h` for Nucleo-144 NUCLEO_F767ZI. -- `~/.arduino15/packages/STM32/hardware/stm32/1.9.0/variants/NUCLEO_L053R8/variant.h` for Nucleo-64 NUCLEO_L053R8. +- `~/.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. 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: -- `~/.arduino15/packages/STM32/hardware/stm32/x.yy.zz/variants/NUCLEO_F767ZI/variant.h` -- `~/.arduino15/packages/STM32/hardware/stm32/x.yy.zz/variants/NUCLEO_L053R8/variant.h` +- `~/.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) @@ -1810,7 +1825,7 @@ Debug terminal output when running example [No-ip_Client](examples/Generic/No-ip ``` Start No-ip_Client on NUCLEO_F767ZI with LAN8742A using STM32Ethernet Library -DDNS_Generic v1.5.0 +DDNS_Generic v1.5.1 HTTP WebServer is @ IP : 192.168.2.84 [DDNS] Access whatismyipaddress [DDNS] httpCode = 200 @@ -1835,7 +1850,7 @@ Debug terminal output when running example [DuckDNS_Client](examples/Generic/Duc ``` Start DuckDNS_Client on NUCLEO_F767ZI with LAN8742A using STM32Ethernet Library -DDNS_Generic v1.5.0 +DDNS_Generic v1.5.1 HTTP WebServer is @ IP : 192.168.2.84 [DDNS] Access whatismyipaddress [DDNS] httpCode = 200 @@ -1856,7 +1871,7 @@ Debug terminal output when running example [DuckDNS_Client](examples/Generic/Duc ``` Start DuckDNS_Client on NRF52840_FEATHER with W5x00 using EthernetLarge Library -DDNS_Generic v1.5.0 +DDNS_Generic v1.5.1 _pinCS = 0 W5100 init, using SS_PIN_DEFAULT = 10, new ss_pin = 10, W5100Class::ss_pin = 10 W5100::init: W5500, SSIZE =8192 @@ -1881,7 +1896,7 @@ Debug terminal output when running example [No-ip_Client](examples/Generic/No-ip ``` Start No-ip_Client on NRF52840_FEATHER with W5x00 using EthernetLarge Library -DDNS_Generic v1.5.0 +DDNS_Generic v1.5.1 _pinCS = 0 W5100 init, using SS_PIN_DEFAULT = 10, new ss_pin = 10, W5100Class::ss_pin = 10 W5100::init: W5500, SSIZE =8192 @@ -1906,7 +1921,7 @@ Debug terminal output when running example [DuckDNS_Client](examples/Generic/Duc ``` Start nRF52_Ethernet_DuckDNS_Client on NRF52840_FEATHER with ENC28J60 using EthernetENC Library -DDNS_Generic v1.5.0 +DDNS_Generic v1.5.1 HTTP WebServer is @ IP : 192.168.2.83 [DDNS] Access whatismyipaddress [DDNS] httpCode = 200 @@ -1927,7 +1942,7 @@ Debug terminal output when running example [DuckDNS_Client](examples/Generic/Duc ``` Start DuckDNS_Client on NRF52840_FEATHER with ENC28J60 using UIPEthernet Library -DDNS_Generic v1.5.0 +DDNS_Generic v1.5.1 ENC28J60_CONTROL_CS =10 SS =5 SPI_MOSI =25 @@ -1954,7 +1969,7 @@ Debug terminal output when running example [DuckDNS_Client](examples/Generic/Duc ``` Start DuckDNS_Client on SAMD_NANO_33_IOT with WiFiNINA using WiFiNINA_Generic Library -DDNS_Generic v1.5.0 +DDNS_Generic v1.5.1 Connecting to WiFi SSID: HueNet1 HTTP WebServer is @ IP : 192.168.2.83 @@ -1977,7 +1992,7 @@ Debug terminal output when running example [No-ip_Client](examples/Generic/No-ip ``` Start No-ip_Client on SAMD_NANO_33_IOT with WiFiNINA using WiFiNINA_Generic Library -DDNS_Generic v1.5.0 +DDNS_Generic v1.5.1 Connecting to WiFi SSID: HueNet1 HTTP WebServer is @ IP : 192.168.2.83 @@ -2000,7 +2015,7 @@ Debug terminal output when running example [DuckDNS_Client](examples/Generic/Duc ``` Start DuckDNS_Client on SAM DUE with W5x00 using Ethernet Library -DDNS_Generic v1.5.0 +DDNS_Generic v1.5.1 _pinCS = 0 W5100 init, using SS_PIN_DEFAULT = 10, new ss_pin = 10, W5100Class::ss_pin = 10 W5100::init: W5100, SSIZE =4096 @@ -2025,7 +2040,7 @@ Debug terminal output when running example [No-ip_Client](examples/Generic/No-ip ``` Start No-ip_Client on SAM DUE with W5x00 using EthernetLarge Library -DDNS_Generic v1.5.0 +DDNS_Generic v1.5.1 _pinCS = 0 W5100 init, using SS_PIN_DEFAULT = 10, new ss_pin = 10, W5100Class::ss_pin = 10 W5100::init: W5100, SSIZE =4096 @@ -2050,7 +2065,7 @@ Debug terminal output when running example [DuckDNS_Client](examples/Generic/Duc ``` Start DuckDNS_Client on SEEED_XIAO_M0 with ESP8266-AT/ESP32-AT using ESP8266_AT_WebServer Library -DDNS_Generic v1.5.0 +DDNS_Generic v1.5.1 [ESP_AT] Use ES8266-AT Command WiFi shield init done Connecting to WiFi SSID: HueNet1 @@ -2075,7 +2090,7 @@ Debug terminal output when running example [No-ip_Client](examples/Generic/No-ip ``` Start No-ip_Client on SEEED_XIAO_M0 with ESP8266-AT/ESP32-AT using ESP8266_AT_WebServer Library -DDNS_Generic v1.5.0 +DDNS_Generic v1.5.1 [ESP_AT] Use ES8266-AT Command WiFi shield init done Connecting to WiFi SSID: HueNet1 @@ -2100,7 +2115,7 @@ Debug terminal output when running example [AVR_Ethernet_DuckDNS_Client](example ``` Start AVR_Ethernet_DuckDNS_Client on AVR_MEGA2560 with W5x00 using EthernetLarge Library -DDNS_Generic v1.5.0 +DDNS_Generic v1.5.1 HTTP WebServer is @ IP : 192.168.2.99 [DDNS] Access whatismyipaddress @@ -2125,7 +2140,7 @@ Debug terminal output when running example [Teensy_Ethernet_DuckDNS_Client](exam ``` Start Teensy_Ethernet_DuckDNS_Client on TEENSY 4.1 with Custom Ethernet using Teensy 4.1 NativeEthernet Library -DDNS_Generic v1.5.0 +DDNS_Generic v1.5.1 HTTP WebServer is @ IP : 192.168.2.102 [DDNS] Access whatismyipaddress @@ -2149,7 +2164,7 @@ Debug terminal output when running example [RP2040_ESP_AT_DuckDNS_Client](exampl ``` Start RP2040_ESP_AT_DuckDNS_Client on RASPBERRY_PI_PICO with ESP8266-AT/ESP32-AT using ESP8266_AT_WebServer Library -DDNS_Generic v1.5.0 +DDNS_Generic v1.5.1 [ESP_AT] Use ES8266-AT Command WiFi shield init done Connecting to WiFi SSID: HueNet1 @@ -2169,7 +2184,7 @@ Debug terminal output when running example [RP2040_Ethernet_DuckDNS_Client](exam ``` Start RP2040_Ethernet_DuckDNS_Client on MBED RASPBERRY_PI_PICO with W5x00 using EthernetLarge Library -DDNS_Generic v1.5.0 +DDNS_Generic v1.5.1 _pinCS = 0 W5100 init, using SS_PIN_DEFAULT = 5, new ss_pin = 10, W5100Class::ss_pin = 5 W5100::init: W5500, SSIZE =8192 @@ -2196,7 +2211,7 @@ Debug terminal output when running example [DuckDNS_Client](examples/Generic/Duc ``` Start DuckDNS_Client on RASPBERRY_PI_PICO with ESP8266-AT/ESP32-AT using ESP8266_AT_WebServer Library -DDNS_Generic v1.5.0 +DDNS_Generic v1.5.1 [ESP_AT] Use ES8266-AT Command WiFi shield init done Connecting to WiFi SSID: HueNet1 @@ -2217,7 +2232,7 @@ Debug terminal output when running example [WT32_ETH01_DuckDNS_Client](examples/ ``` Start WT32_ETH01_DuckDNS_Client on WT32-ETH01 with ETH_PHY_LAN8720 WebServer_WT32_ETH01 v1.2.0 -DDNS_Generic v1.5.0 +DDNS_Generic v1.5.1 ETH MAC: A8:03:2A:A1:61:73, IPv4: 192.168.2.232 FULL_DUPLEX, 100Mbps @@ -2236,7 +2251,7 @@ Debug terminal output when running example [Portenta_H7_Ethernet_DuckDNS_Client] ``` Start Portenta_H7_Ethernet_DuckDNS_Client on PORTENTA_H7_M7 with Ethernet using Portenta_Ethernet Library -DDNS_Generic v1.5.0 +DDNS_Generic v1.5.1 HTTP WebServer is @ IP : 192.168.2.132 [DDNS] Access whatismyipaddress @@ -2260,7 +2275,7 @@ Debug terminal output when running example [WT32_ETH01_DuckDNS_Client](examples/ ``` Start Portenta_H7_DuckDNS_Client on PORTENTA_H7_M7 with Portenta_H7 WiFi -DDNS_Generic v1.5.0 +DDNS_Generic v1.5.1 Connecting to WiFi SSID: HueNet1 HTTP WebServer is @ IP : 192.168.2.130 diff --git a/changelog.md b/changelog.md index bf43eb1..52b6f12 100644 --- a/changelog.md +++ b/changelog.md @@ -12,6 +12,7 @@ ## Table of Contents * [Changelog](#changelog) + * [Releases v1.5.1](#releases-v151) * [Releases v1.5.0](#releases-v150) * [Releases v1.4.0](#releases-v140) * [Releases v1.3.0](#releases-v130) @@ -25,6 +26,11 @@ ## Changelog +### Releases v1.5.1 + +1. Update `platform.ini` and `library.json` to use original `khoih-prog` instead of `khoih.prog` after PIO fix +2. Update `Packages' Patches` + ### Releases v1.5.0 1. Add support to **Portenta_H7**, using either WiFi or Vision-shield Ethernet diff --git a/library.json b/library.json index 72a4373..5e44a3b 100644 --- a/library.json +++ b/library.json @@ -1,6 +1,6 @@ { "name": "DDNS_Generic", - "version": "1.5.0", + "version": "1.5.1", "description": "DDNS Update Client for Arduino boards, ported to run on SAM DUE, nRF52, SAMD21/SAMD51, STM32F/L/H/G/WB/MP1, AVR Mega, megaAVR, Teensy, RP2040-based RASPBERRY_PI_PICO, WT32_ETH01, Portenta_H7, etc. besides ESP8266/ESP32, using WiFi, WiFiNINA, Ethernet W5x00, ENC28J60, LAN8742A or Teensy NativeEthernet. It is designed to be light-weight and currently supports DuckDNS, No-ip, DynDNS, Dynu, enom, all-inkl, selfhost.de, dyndns.it, strato, freemyip, afraid.org, OVH.com", "keywords": "ddns, wifi, ethernet, native-ethernet, noip, duckdns, dyndns, communication, dynamic-dns, esp32, esp8266, rp2040, teensy, samd, sam-due, nrf52, Portenta-H7, stm32, w5x00, enc28j60, wt32-eth01, rpi-pico, esp32-at, esp8266-at, avr-mega, mega-avr", "authors": @@ -36,7 +36,7 @@ "platforms": "espressif32" }, { - "owner": "khoih.prog", + "owner": "khoih-prog", "name": "WiFiNINA_Generic", "version": ">=1.8.13", "platforms": ["*"] @@ -44,17 +44,17 @@ { "owner": "khoih-prog", "name": "EthernetWebServer", - "version": ">=1.7.0", + "version": ">=1.7.1", "platforms": ["*"] }, { "owner": "khoih-prog", "name": "EthernetWebServer_STM32", - "version": ">=1.2.0", + "version": ">=1.2.1", "platforms": ["ststm32", "stm32"] }, { - "owner": "khoih.prog", + "owner": "khoih-prog", "name": "WebServer_WT32_ETH01", "version": ">=1.2.0", "platforms": ["espressif32"] @@ -62,7 +62,7 @@ { "owner": "khoih-prog", "name": "WiFiWebServer", - "version": ">=1.4.0", + "version": ">=1.4.1", "platforms": ["*"] }, { diff --git a/library.properties b/library.properties index 4563cb7..f007687 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=DDNS_Generic -version=1.5.0 +version=1.5.1 author=Ayush Sharma, Khoi Hoang license=MIT maintainer=Khoi Hoang diff --git a/platformio/platformio.ini b/platformio/platformio.ini index 863b13d..6bfb744 100644 --- a/platformio/platformio.ini +++ b/platformio/platformio.ini @@ -43,9 +43,9 @@ lib_deps = ArduinoHttpClient@>=0.4.0 Functional-VLPP@>=1.0.2 WiFiNINA_Generic@>=1.8.13 - WiFiWebServer@>=1.4.0 - EthernetWebServer@>=1.7.0 - EthernetWebServer_STM32@>=1.2.0 + WiFiWebServer@>=1.4.1 + EthernetWebServer@>=1.7.1 + EthernetWebServer_STM32@>=1.2.1 WebServer_WT32_ETH01@>=1.2.0 ESP8266_AT_WebServer@>=1.4.0 Ethernet@>=2.0.0 @@ -59,11 +59,11 @@ lib_deps = ; PlatformIO 5.x ; arduino-libraries/ArduinoHttpClient@>=0.4.0 ; khoih-prog/Functional-Vlpp@>=1.0.2 -; khoih.prog/WiFiNINA_Generic@>=1.8.13 -; khoih-prog/WiFiWebServer@>=1.4.0 -; khoih-prog/EthernetWebServer@>=1.7.0 -; khoih-prog/EthernetWebServer_STM32@>=1.2.0 -; khoih.prog/WebServer_WT32_ETH01@>=1.2.0 +; khoih-prog/WiFiNINA_Generic@>=1.8.13 +; khoih-prog/WiFiWebServer@>=1.4.1 +; khoih-prog/EthernetWebServer@>=1.7.1 +; khoih-prog/EthernetWebServer_STM32@>=1.2.1 +; khoih-prog/WebServer_WT32_ETH01@>=1.2.0 ; khoih-prog/ESP8266_AT_WebServer@>=1.4.0 ; PaulStoffregen/Ethernet@>=2.0.0 ; PaulStoffregen/EthernetLarge@>=2.0.0 diff --git a/src/DDNS_Generic.h b/src/DDNS_Generic.h index 78ca083..6e7f775 100644 --- a/src/DDNS_Generic.h +++ b/src/DDNS_Generic.h @@ -14,7 +14,7 @@ Built by Khoi Hoang https://github.com/khoih-prog/DDNS_Generic Licensed under MIT license - Version: 1.5.0 + Version: 1.5.1 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -25,6 +25,7 @@ 1.3.0 K Hoang 15/05/2021 Add support to RP2040 using Ethernet or ESP-AT 1.4.0 K Hoang 16/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720) 1.5.0 K Hoang 16/09/2021 Add support to Portenta_H7, using either WiFi or Vision-shield Ethernet + 1.5.1 K Hoang 10/10/2021 Update `platform.ini` and `library.json` *****************************************************************************************************************************/ #ifndef DDNS_Generic_H @@ -34,7 +35,7 @@ #include "DDNS_Generic_Debug.h" #ifndef DDNS_GENERIC_VERSION - #define DDNS_GENERIC_VERSION "DDNS_Generic v1.5.0" + #define DDNS_GENERIC_VERSION "DDNS_Generic v1.5.1" #endif #if ( !defined(DDNS_USING_WIFI) || DDNS_USING_WIFI || !DDNS_USING_ETHERNET) diff --git a/src/DDNS_Generic_Debug.h b/src/DDNS_Generic_Debug.h index e2f59f3..b2c1214 100644 --- a/src/DDNS_Generic_Debug.h +++ b/src/DDNS_Generic_Debug.h @@ -14,7 +14,7 @@ Built by Khoi Hoang https://github.com/khoih-prog/DDNS_Generic Licensed under MIT license - Version: 1.5.0 + Version: 1.5.1 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -25,6 +25,7 @@ 1.3.0 K Hoang 15/05/2021 Add support to RP2040 using Ethernet or ESP-AT 1.4.0 K Hoang 16/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720) 1.5.0 K Hoang 16/09/2021 Add support to Portenta_H7, using either WiFi or Vision-shield Ethernet + 1.5.1 K Hoang 10/10/2021 Update `platform.ini` and `library.json` *****************************************************************************************************************************/ #ifndef DDNS_Generic_Debug_H diff --git a/src/DDNS_Generic_Impl.h b/src/DDNS_Generic_Impl.h index 1750527..be1f5ac 100644 --- a/src/DDNS_Generic_Impl.h +++ b/src/DDNS_Generic_Impl.h @@ -14,7 +14,7 @@ Built by Khoi Hoang https://github.com/khoih-prog/DDNS_Generic Licensed under MIT license - Version: 1.5.0 + Version: 1.5.1 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -25,6 +25,7 @@ 1.3.0 K Hoang 15/05/2021 Add support to RP2040 using Ethernet or ESP-AT 1.4.0 K Hoang 16/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720) 1.5.0 K Hoang 16/09/2021 Add support to Portenta_H7, using either WiFi or Vision-shield Ethernet + 1.5.1 K Hoang 10/10/2021 Update `platform.ini` and `library.json` *****************************************************************************************************************************/ #ifndef DDNS_Generic_Impl_H diff --git a/src/HTTP_ResponseParser.h b/src/HTTP_ResponseParser.h index 50b1caf..2f1fa53 100644 --- a/src/HTTP_ResponseParser.h +++ b/src/HTTP_ResponseParser.h @@ -14,7 +14,7 @@ Built by Khoi Hoang https://github.com/khoih-prog/DDNS_Generic Licensed under MIT license - Version: 1.5.0 + Version: 1.5.1 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -25,6 +25,7 @@ 1.3.0 K Hoang 15/05/2021 Add support to RP2040 using Ethernet or ESP-AT 1.4.0 K Hoang 16/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720) 1.5.0 K Hoang 16/09/2021 Add support to Portenta_H7, using either WiFi or Vision-shield Ethernet + 1.5.1 K Hoang 10/10/2021 Update `platform.ini` and `library.json` *****************************************************************************************************************************/ #ifndef HTTP_ResponseParser_h diff --git a/src/HTTP_ResponseParser_Impl.h b/src/HTTP_ResponseParser_Impl.h index 0a16931..7791a79 100644 --- a/src/HTTP_ResponseParser_Impl.h +++ b/src/HTTP_ResponseParser_Impl.h @@ -14,7 +14,7 @@ Built by Khoi Hoang https://github.com/khoih-prog/DDNS_Generic Licensed under MIT license - Version: 1.5.0 + Version: 1.5.1 Version Modified By Date Comments ------- ----------- ---------- ----------- @@ -25,6 +25,7 @@ 1.3.0 K Hoang 15/05/2021 Add support to RP2040 using Ethernet or ESP-AT 1.4.0 K Hoang 16/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720) 1.5.0 K Hoang 16/09/2021 Add support to Portenta_H7, using either WiFi or Vision-shield Ethernet + 1.5.1 K Hoang 10/10/2021 Update `platform.ini` and `library.json` *****************************************************************************************************************************/ #ifndef HTTP_ResponseParser_Impl_h