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

Commit

Permalink
v1.5.0 adds Portenta_H7
Browse files Browse the repository at this point in the history
### Releases v1.5.0

1. Add support to **Portenta_H7**, using either WiFi or Vision-shield Ethernet
2. Add examples with new features
  • Loading branch information
khoih-prog authored Sep 17, 2021
1 parent b9e8d33 commit 6b33fb1
Show file tree
Hide file tree
Showing 12 changed files with 297 additions and 230 deletions.
11 changes: 6 additions & 5 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ If you don't find anything, please [open a new issue](https://github.com/khoih-p

Please ensure to specify the following:

* Arduino IDE version (e.g. 1.8.15) or Platform.io version
* Board Core Version (e.g. Arduino SAMDUE core v1.6.12, ESP8266 core v3.0.1, etc.)
* 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, etc.)
* Contextual information (e.g. what you were trying to achieve)
* Simplest possible steps to reproduce
* Anything that might be relevant in your opinion, such as:
Expand All @@ -26,10 +26,11 @@ Please ensure to specify the following:
### Example

```
Arduino IDE version: 1.8.15
Arduino SAM DUE Core Version 1.6.12
Arduino IDE version: 1.8.16
`ArduinoCore-mbed` mbed_portenta core v2.4.1
Portenta_H7 Rev2 ABX00042
OS: Ubuntu 20.04 LTS
Linux xy-Inspiron-3593 5.4.0-77-generic #86-Ubuntu SMP Thu Jun 17 02:35:03 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
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
Context:
I encountered a crash while trying to use the Timer Interrupt.
Expand Down
375 changes: 174 additions & 201 deletions README.md

Large diffs are not rendered by default.

73 changes: 73 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
# DDNS_Generic Library

[![arduino-library-badge](https://www.ardu-badge.com/badge/DDNS_Generic.svg?)](https://www.ardu-badge.com/DDNS_Generic)
[![GitHub release](https://img.shields.io/github/release/khoih-prog/DDNS_Generic.svg)](https://github.com/khoih-prog/DDNS_Generic/releases)
[![GitHub](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/khoih-prog/DDNS_Generic/blob/master/LICENSE)
[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](#Contributing)
[![GitHub issues](https://img.shields.io/github/issues/khoih-prog/DDNS_Generic.svg)](http://github.com/khoih-prog/DDNS_Generic/issues)

---
---

## Table of Contents

* [Changelog](#changelog)
* [Releases v1.5.0](#releases-v150)
* [Releases v1.4.0](#releases-v140)
* [Releases v1.3.0](#releases-v130)
* [Releases v1.2.0](#releases-v120)
* [Releases v1.1.0](#releases-v110)
* [Releases v1.0.1](#releases-v101)
* [Releases v1.0.0](#releases-v100)

---
---

## Changelog

### Releases v1.5.0

1. Add support to **Portenta_H7**, using either WiFi or Vision-shield Ethernet
2. Add examples with new features

### Releases v1.4.0

1. Add support to **WT32_ETH01 (ESP32 + LAN8720)** boards
2. Add examples with new features

### Releases v1.3.0

1. Add support to RP2040-based boards, such as **RASPBERRY_PI_PICO, ADAFRUIT_FEATHER_RP2040 and GENERIC_RP2040**, using [Earle Philhower's arduino-pico core](https://github.com/earlephilhower/arduino-pico) and ESP8266/ESP32-AT WiFi
1. Add support to RP2040-based boards, such as **RASPBERRY_PI_PICO, ADAFRUIT_FEATHER_RP2040 and GENERIC_RP2040**, using [**Arduino-mbed RP2040** core](https://github.com/arduino/ArduinoCore-mbed) and Ethernet W5x00, ENC28J60.
3. Update examples with new features

### Releases v1.2.0

1. Add support to **Teensy boards** such as **Teensy LC, 3.0, 3.1, 3.2, 3.5, 3.6, 4.0, 4.1** using ESP-AT, WiFiNINA, W5x00 / ENC28J60 Ethernet
2. Add support to **Teensy 4.1 boards** using NativeEthernet


### Releases v1.1.0

1. Add support to **Arduino AVR ATmega2560** such as **Mega, Mega2560, Mega ADK, etc.**
2. Add support to **Arduino ATmega4809** such as **UNO WiFi Rev2, AVR_NANO_EVERY, etc.**
3. Remove dependency on <functional>.
4. Add OVH.com support.
5. Update and add examples for AVR and megaAVR
6. Add Version string
7. Add Table-of-Contents


### Releases v1.0.1

1. Add HTTP_ResponseParser class to fix issue with **nRF52 and STM32F/L/H/G/WB/MP1 using ESP8266/ESP32-AT**.
2. Add support to **Ethernet2, Ethernet3 and EthernetLarge libraries for STM32 using W5x00**.
3. Update Platform.ini to support PlatformIO 5.x owner-based dependency declaration.
4. Add more debug features.

#### Releases v1.0.0

1. Initial coding for Generic boards using many different WiFi/Ethernet modules/shields.
2. Add more examples


14 changes: 7 additions & 7 deletions library.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "DDNS_Generic",
"version": "1.4.0",
"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, 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, rpi-pico, rp2040, teensy, samd, sam-due, nrf52, stm32, w5x00, enc28j60, wt32-eth01, esp32-at, esp8266-at, avr-mega, mega-avr",
"version": "1.5.0",
"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":
{
"name": "Khoi Hoang",
Expand Down Expand Up @@ -38,13 +38,13 @@
{
"owner": "khoih.prog",
"name": "WiFiNINA_Generic",
"version": ">=1.8.12",
"version": ">=1.8.13",
"platforms": ["*"]
},
{
"owner": "khoih-prog",
"name": "EthernetWebServer",
"version": ">=1.5.0",
"version": ">=1.7.0",
"platforms": ["*"]
},
{
Expand All @@ -62,13 +62,13 @@
{
"owner": "khoih-prog",
"name": "WiFiWebServer",
"version": ">=1.2.0",
"version": ">=1.4.0",
"platforms": ["*"]
},
{
"owner": "khoih-prog",
"name": "ESP8266_AT_WebServer",
"version": ">=1.3.0",
"version": ">=1.4.0",
"platforms": ["*"]
}
],
Expand Down
6 changes: 3 additions & 3 deletions library.properties
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name=DDNS_Generic
version=1.4.0
version=1.5.0
author=Ayush Sharma, Khoi Hoang
license=MIT
maintainer=Khoi Hoang <[email protected]>
sentence=DDNS Update Client Library for SAM DUE, nRF52, SAMD21/SAMD51, STM32F/L/H/G/WB/MP1, AVR Mega, megaAVR, Teensy, RP2040-based RASPBERRY_PI_PICO, WT32_ETH01, etc. besides ESP8266/ESP32, using ESP8266-AT/ESP32-AT WiFi, WiFiNINA, Ethernet W5x00, ENC28J60, LAN8742A or Teensy NativeEthernet
paragraph=A simple library that implements an automatic DDNS Update Client for SAM DUE, nRF52, SAMD21/SAMD51, STM32F/L/H/G/WB/MP1, AVR Mega, megaAVR, Teensy, RP2040-based RASPBERRY_PI_PICO, WT32_ETH01, etc. besides ESP8266/ESP32, using ESP8266-AT/ESP32-AT 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.
sentence=DDNS Update Client Library for 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 ESP8266-AT/ESP32-AT WiFi, WiFiNINA, Ethernet W5x00, ENC28J60, LAN8742A or Teensy NativeEthernet
paragraph=A simple library that implements an automatic DDNS Update Client for 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 ESP8266-AT/ESP32-AT 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.
category=Communication
url=https://github.com/khoih-prog/DDNS_Generic
architectures=*
Expand Down
Binary file added pics/Portenta_Vision.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
31 changes: 23 additions & 8 deletions platformio/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
default_envs = SAMD
;default_envs = NRF52
;default_envs = STM32
;default_envs = portenta_h7_m7
;default_envs = portenta_h7_m4

[env]
; ============================================================
Expand All @@ -33,16 +35,19 @@ upload_speed = 921600
;monitor_speed = 9600
;monitor_port = COM11

; Checks for the compatibility with frameworks and dev/platforms
lib_compat_mode = strict

lib_deps =
; PlatformIO 4.x
ArduinoHttpClient@>=0.4.0
Functional-VLPP@>=1.0.2
WiFiNINA_Generic@>=1.8.12
WiFiWebServer@>=1.2.0
EthernetWebServer@>=1.5.0
WiFiNINA_Generic@>=1.8.13
WiFiWebServer@>=1.4.0
EthernetWebServer@>=1.7.0
EthernetWebServer_STM32@>=1.2.0
WebServer_WT32_ETH01@>=1.2.0
ESP8266_AT_WebServer@>=1.3.0
ESP8266_AT_WebServer@>=1.4.0
Ethernet@>=2.0.0
EthernetLarge@>=2.0.0
Ethernet2@>=1.0.4
Expand All @@ -54,12 +59,12 @@ lib_deps =
; PlatformIO 5.x
; arduino-libraries/ArduinoHttpClient@>=0.4.0
; khoih-prog/Functional-Vlpp@>=1.0.2
; khoih.prog/WiFiNINA_Generic@>=1.8.12
; khoih-prog/WiFiWebServer@>=1.2.0
; khoih-prog/EthernetWebServer@>=1.5.0
; 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/ESP8266_AT_WebServer@>=1.3.0
; khoih-prog/ESP8266_AT_WebServer@>=1.4.0
; PaulStoffregen/Ethernet@>=2.0.0
; PaulStoffregen/EthernetLarge@>=2.0.0
; adafruit/Ethernet2@>=1.0.4
Expand All @@ -76,6 +81,16 @@ build_flags =
; comment the folowing line to enable WiFi debugging
; -D NDEBUG

[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:ESP8266]
platform = espressif8266
framework = arduino
Expand Down
5 changes: 3 additions & 2 deletions src/DDNS_Generic.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
Built by Khoi Hoang https://github.com/khoih-prog/DDNS_Generic
Licensed under MIT license
Version: 1.4.0
Version: 1.5.0
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -24,6 +24,7 @@
1.2.0 K Hoang 04/04/2021 Add support to Teensy LC, 3.x, 4.0 and 4.1 using Ethernet, NativeEthernet, WiFi or ESP-AT
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
*****************************************************************************************************************************/

#ifndef DDNS_Generic_H
Expand All @@ -33,7 +34,7 @@
#include "DDNS_Generic_Debug.h"

#ifndef DDNS_GENERIC_VERSION
#define DDNS_GENERIC_VERSION "DDNS_Generic v1.4.0"
#define DDNS_GENERIC_VERSION "DDNS_Generic v1.5.0"
#endif

#if ( !defined(DDNS_USING_WIFI) || DDNS_USING_WIFI || !DDNS_USING_ETHERNET)
Expand Down
3 changes: 2 additions & 1 deletion src/DDNS_Generic_Debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
Built by Khoi Hoang https://github.com/khoih-prog/DDNS_Generic
Licensed under MIT license
Version: 1.4.0
Version: 1.5.0
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -24,6 +24,7 @@
1.2.0 K Hoang 04/04/2021 Add support to Teensy LC, 3.x, 4.0 and 4.1 using Ethernet, NativeEthernet, WiFi or ESP-AT
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
*****************************************************************************************************************************/

#ifndef DDNS_Generic_Debug_H
Expand Down
3 changes: 2 additions & 1 deletion src/DDNS_Generic_Impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
Built by Khoi Hoang https://github.com/khoih-prog/DDNS_Generic
Licensed under MIT license
Version: 1.4.0
Version: 1.5.0
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -24,6 +24,7 @@
1.2.0 K Hoang 04/04/2021 Add support to Teensy LC, 3.x, 4.0 and 4.1 using Ethernet, NativeEthernet, WiFi or ESP-AT
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
*****************************************************************************************************************************/

#ifndef DDNS_Generic_Impl_H
Expand Down
3 changes: 2 additions & 1 deletion src/HTTP_ResponseParser.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
Built by Khoi Hoang https://github.com/khoih-prog/DDNS_Generic
Licensed under MIT license
Version: 1.4.0
Version: 1.5.0
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -24,6 +24,7 @@
1.2.0 K Hoang 04/04/2021 Add support to Teensy LC, 3.x, 4.0 and 4.1 using Ethernet, NativeEthernet, WiFi or ESP-AT
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
*****************************************************************************************************************************/

#ifndef HTTP_ResponseParser_h
Expand Down
3 changes: 2 additions & 1 deletion src/HTTP_ResponseParser_Impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
Built by Khoi Hoang https://github.com/khoih-prog/DDNS_Generic
Licensed under MIT license
Version: 1.4.0
Version: 1.5.0
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -24,6 +24,7 @@
1.2.0 K Hoang 04/04/2021 Add support to Teensy LC, 3.x, 4.0 and 4.1 using Ethernet, NativeEthernet, WiFi or ESP-AT
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
*****************************************************************************************************************************/

#ifndef HTTP_ResponseParser_Impl_h
Expand Down

0 comments on commit 6b33fb1

Please sign in to comment.