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

Commit

Permalink
v3.5.0 to add support to RTL8720DN
Browse files Browse the repository at this point in the history
### Releases v3.5.0

1. Add support to RTL8720DN, RTL8722DM, RTL8722CSM, etc. boards
2. Add examples with new features
  • Loading branch information
khoih-prog authored Aug 10, 2021
1 parent a52108a commit 1e07f5c
Show file tree
Hide file tree
Showing 44 changed files with 1,226 additions and 194 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Please ensure to specify the following:
Arduino IDE version: 1.8.15
Arduino SAMD Core Version 1.8.11
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-80-generic #90-Ubuntu SMP Fri Jul 9 22:49:44 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Context:
I encountered an endless loop while trying to connect to Local WiFi.
Expand Down
178 changes: 113 additions & 65 deletions README.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
/****************************************************************************************************************************
ESP_NTPClient_Advanced.ino
For AVR, ESP8266/ESP32, SAMD21/SAMD51, nRF52, STM32, SAM DUE, WT32_ETH01 boards using
For AVR, ESP8266/ESP32, SAMD21/SAMD51, nRF52, STM32, SAM DUE, WT32_ETH01, RTL8720DN boards using
a) Ethernet W5x00, ENC28J60, LAN8742A
b) WiFiNINA
c) ESP8266/ESP32 WiFi
d) ESP8266/ESP32-AT-command WiFi
e) WT32_ETH01 (ESP32 + LAN8720)
f) RTL8720DN
Based on and modified from Arduino NTPClient Library (https://github.com/arduino-libraries/NTPClient)
to support other boards such as ESP8266/ESP32, SAMD21, SAMD51, Adafruit's nRF52 boards, SAM DUE, etc.
to support other boards such as ESP8266/ESP32, SAMD21, SAMD51, Adafruit's nRF52 boards, SAM DUE, RTL8720DN, etc.
and Ethernet/WiFi/WiFiNINA shields
Copyright (C) 2015 by Fabrice Weinberg and licensed under MIT License (MIT)
Built by Khoi Hoang https://github.com/khoih-prog/NTPClient_Generic
Licensed under MIT license
Version: 3.4.0
Version: 3.5.0
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -25,6 +26,7 @@
3.2.2 K Hoang 28/10/2020 Add examples to use STM32 Built-In RTC.
3.3.0 K Hoang 04/06/2021 Add support to RP2040-based boards. Add packet validity checks, version string and debug
3.4.0 K Hoang 16/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720)
3.5.0 K Hoang 10/08/2021 Add support to Ameba Realtek RTL8720DN, RTL8722DM and RTL8722CSM
*****************************************************************************************************************************/

#if !( defined(ESP8266) || defined(ESP32) )
Expand Down
8 changes: 5 additions & 3 deletions examples/ESP/ESP_NTPClient_Basic/ESP_NTPClient_Basic.ino
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
/****************************************************************************************************************************
ESP_NTPClient_Bas.ino
For AVR, ESP8266/ESP32, SAMD21/SAMD51, nRF52, STM32, SAM DUE, WT32_ETH01 boards using
For AVR, ESP8266/ESP32, SAMD21/SAMD51, nRF52, STM32, SAM DUE, WT32_ETH01, RTL8720DN boards using
a) Ethernet W5x00, ENC28J60, LAN8742A
b) WiFiNINA
c) ESP8266/ESP32 WiFi
d) ESP8266/ESP32-AT-command WiFi
e) WT32_ETH01 (ESP32 + LAN8720)
f) RTL8720DN
Based on and modified from Arduino NTPClient Library (https://github.com/arduino-libraries/NTPClient)
to support other boards such as ESP8266/ESP32, SAMD21, SAMD51, Adafruit's nRF52 boards, SAM DUE, etc.
to support other boards such as ESP8266/ESP32, SAMD21, SAMD51, Adafruit's nRF52 boards, SAM DUE, RTL8720DN, etc.
and Ethernet/WiFi/WiFiNINA shields
Copyright (C) 2015 by Fabrice Weinberg and licensed under MIT License (MIT)
Built by Khoi Hoang https://github.com/khoih-prog/NTPClient_Generic
Licensed under MIT license
Version: 3.4.0
Version: 3.5.0
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -25,6 +26,7 @@
3.2.2 K Hoang 28/10/2020 Add examples to use STM32 Built-In RTC.
3.3.0 K Hoang 04/06/2021 Add support to RP2040-based boards. Add packet validity checks, version string and debug
3.4.0 K Hoang 16/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720)
3.5.0 K Hoang 10/08/2021 Add support to Ameba Realtek RTL8720DN, RTL8722DM and RTL8722CSM
*****************************************************************************************************************************/

#if !( defined(ESP8266) || defined(ESP32) )
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,23 @@
Self-adjusting clock for one time zone using Built-in STM32 RTC
For AVR, ESP8266/ESP32, SAMD21/SAMD51, nRF52, STM32, SAM DUE, WT32_ETH01 boards using
For AVR, ESP8266/ESP32, SAMD21/SAMD51, nRF52, STM32, SAM DUE, WT32_ETH01, RTL8720DN boards using
a) Ethernet W5x00, ENC28J60, LAN8742A
b) WiFiNINA
c) ESP8266/ESP32 WiFi
d) ESP8266/ESP32-AT-command WiFi
e) WT32_ETH01 (ESP32 + LAN8720)
f) RTL8720DN
Based on and modified from Arduino NTPClient Library (https://github.com/arduino-libraries/NTPClient)
to support other boards such as ESP8266/ESP32, SAMD21, SAMD51, Adafruit's nRF52 boards, SAM DUE, etc.
to support other boards such as ESP8266/ESP32, SAMD21, SAMD51, Adafruit's nRF52 boards, SAM DUE, RTL8720DN, etc.
and Ethernet/WiFi/WiFiNINA shields
Copyright (C) 2015 by Fabrice Weinberg and licensed under MIT License (MIT)
Built by Khoi Hoang https://github.com/khoih-prog/NTPClient_Generic
Licensed under MIT license
Version: 3.4.0
Version: 3.5.0
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -27,6 +28,7 @@
3.2.2 K Hoang 28/10/2020 Add examples to use STM32 Built-In RTC.
3.3.0 K Hoang 04/06/2021 Add support to RP2040-based boards. Add packet validity checks, version string and debug
3.4.0 K Hoang 16/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720)
3.5.0 K Hoang 10/08/2021 Add support to Ameba Realtek RTL8720DN, RTL8722DM and RTL8722CSM
*****************************************************************************************************************************/
/****************************************************************************************************************************
STM32 has five clock sources: HSI, HSE, LSI, LSE, PLL.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,23 @@
Self-adjusting clock for one time zone using Built-in STM32 RTC
For AVR, ESP8266/ESP32, SAMD21/SAMD51, nRF52, STM32, SAM DUE, WT32_ETH01 boards using
For AVR, ESP8266/ESP32, SAMD21/SAMD51, nRF52, STM32, SAM DUE, WT32_ETH01, RTL8720DN boards using
a) Ethernet W5x00, ENC28J60, LAN8742A
b) WiFiNINA
c) ESP8266/ESP32 WiFi
d) ESP8266/ESP32-AT-command WiFi
e) WT32_ETH01 (ESP32 + LAN8720)
f) RTL8720DN
Based on and modified from Arduino NTPClient Library (https://github.com/arduino-libraries/NTPClient)
to support other boards such as ESP8266/ESP32, SAMD21, SAMD51, Adafruit's nRF52 boards, SAM DUE, etc.
to support other boards such as ESP8266/ESP32, SAMD21, SAMD51, Adafruit's nRF52 boards, SAM DUE, RTL8720DN, etc.
and Ethernet/WiFi/WiFiNINA shields
Copyright (C) 2015 by Fabrice Weinberg and licensed under MIT License (MIT)
Built by Khoi Hoang https://github.com/khoih-prog/NTPClient_Generic
Licensed under MIT license
Version: 3.4.0
Version: 3.5.0
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -27,6 +28,7 @@
3.2.2 K Hoang 28/10/2020 Add examples to use STM32 Built-In RTC.
3.3.0 K Hoang 04/06/2021 Add support to RP2040-based boards. Add packet validity checks, version string and debug
3.4.0 K Hoang 16/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720)
3.5.0 K Hoang 10/08/2021 Add support to Ameba Realtek RTL8720DN, RTL8722DM and RTL8722CSM
*****************************************************************************************************************************/
/****************************************************************************************************************************
STM32 has five clock sources: HSI, HSE, LSI, LSE, PLL.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
/****************************************************************************************************************************
Ethernet_NTPClient_Advanced.ino
For AVR, ESP8266/ESP32, SAMD21/SAMD51, nRF52, STM32, SAM DUE, WT32_ETH01 boards using
For AVR, ESP8266/ESP32, SAMD21/SAMD51, nRF52, STM32, SAM DUE, WT32_ETH01, RTL8720DN boards using
a) Ethernet W5x00, ENC28J60, LAN8742A
b) WiFiNINA
c) ESP8266/ESP32 WiFi
d) ESP8266/ESP32-AT-command WiFi
e) WT32_ETH01 (ESP32 + LAN8720)
f) RTL8720DN
Based on and modified from Arduino NTPClient Library (https://github.com/arduino-libraries/NTPClient)
to support other boards such as ESP8266/ESP32, SAMD21, SAMD51, Adafruit's nRF52 boards, SAM DUE, etc.
to support other boards such as ESP8266/ESP32, SAMD21, SAMD51, Adafruit's nRF52 boards, SAM DUE, RTL8720DN, etc.
and Ethernet/WiFi/WiFiNINA shields
Copyright (C) 2015 by Fabrice Weinberg and licensed under MIT License (MIT)
Built by Khoi Hoang https://github.com/khoih-prog/NTPClient_Generic
Licensed under MIT license
Version: 3.4.0
Version: 3.5.0
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -25,6 +26,7 @@
3.2.2 K Hoang 28/10/2020 Add examples to use STM32 Built-In RTC.
3.3.0 K Hoang 04/06/2021 Add support to RP2040-based boards. Add packet validity checks, version string and debug
3.4.0 K Hoang 16/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720)
3.5.0 K Hoang 10/08/2021 Add support to Ameba Realtek RTL8720DN, RTL8722DM and RTL8722CSM
*****************************************************************************************************************************/

#include "defines.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,23 @@
For STM32 with built-in Ethernet (Nucleo-144, DISCOVERY, etc) or W5x00/ENC28J60 Ethernet
For AVR, ESP8266/ESP32, SAMD21/SAMD51, nRF52, STM32, SAM DUE, WT32_ETH01 boards using
For AVR, ESP8266/ESP32, SAMD21/SAMD51, nRF52, STM32, SAM DUE, WT32_ETH01, RTL8720DN boards using
a) Ethernet W5x00, ENC28J60, LAN8742A
b) WiFiNINA
c) ESP8266/ESP32 WiFi
d) ESP8266/ESP32-AT-command WiFi
e) WT32_ETH01 (ESP32 + LAN8720)
f) RTL8720DN
Based on and modified from Arduino NTPClient Library (https://github.com/arduino-libraries/NTPClient)
to support other boards such as ESP8266/ESP32, SAMD21, SAMD51, Adafruit's nRF52 boards, SAM DUE, etc.
to support other boards such as ESP8266/ESP32, SAMD21, SAMD51, Adafruit's nRF52 boards, SAM DUE, RTL8720DN, etc.
and Ethernet/WiFi/WiFiNINA shields
Copyright (C) 2015 by Fabrice Weinberg and licensed under MIT License (MIT)
Built by Khoi Hoang https://github.com/khoih-prog/NTPClient_Generic
Licensed under MIT license
Version: 3.4.0
Version: 3.5.0
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -27,6 +28,7 @@
3.2.2 K Hoang 28/10/2020 Add examples to use STM32 Built-In RTC.
3.3.0 K Hoang 04/06/2021 Add support to RP2040-based boards. Add packet validity checks, version string and debug
3.4.0 K Hoang 16/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720)
3.5.0 K Hoang 10/08/2021 Add support to Ameba Realtek RTL8720DN, RTL8722DM and RTL8722CSM
*****************************************************************************************************************************/

#include "defines.h"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
/****************************************************************************************************************************
Ethernet_NTPClient_Basic.ino
For AVR, ESP8266/ESP32, SAMD21/SAMD51, nRF52, STM32, SAM DUE, WT32_ETH01 boards using
For AVR, ESP8266/ESP32, SAMD21/SAMD51, nRF52, STM32, SAM DUE, WT32_ETH01, RTL8720DN boards using
a) Ethernet W5x00, ENC28J60, LAN8742A
b) WiFiNINA
c) ESP8266/ESP32 WiFi
d) ESP8266/ESP32-AT-command WiFi
e) WT32_ETH01 (ESP32 + LAN8720)
f) RTL8720DN
Based on and modified from Arduino NTPClient Library (https://github.com/arduino-libraries/NTPClient)
to support other boards such as ESP8266/ESP32, SAMD21, SAMD51, Adafruit's nRF52 boards, SAM DUE, etc.
to support other boards such as ESP8266/ESP32, SAMD21, SAMD51, Adafruit's nRF52 boards, SAM DUE, RTL8720DN, etc.
and Ethernet/WiFi/WiFiNINA shields
Copyright (C) 2015 by Fabrice Weinberg and licensed under MIT License (MIT)
Built by Khoi Hoang https://github.com/khoih-prog/NTPClient_Generic
Licensed under MIT license
Version: 3.4.0
Version: 3.5.0
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -25,6 +26,7 @@
3.2.2 K Hoang 28/10/2020 Add examples to use STM32 Built-In RTC.
3.3.0 K Hoang 04/06/2021 Add support to RP2040-based boards. Add packet validity checks, version string and debug
3.4.0 K Hoang 16/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720)
3.5.0 K Hoang 10/08/2021 Add support to Ameba Realtek RTL8720DN, RTL8722DM and RTL8722CSM
*****************************************************************************************************************************/

#include "defines.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,23 @@
For STM32 with built-in Ethernet (Nucleo-144, DISCOVERY, etc) or W5x00/ENC28J60 Ethernet
For AVR, ESP8266/ESP32, SAMD21/SAMD51, nRF52, STM32, SAM DUE, WT32_ETH01 boards using
For AVR, ESP8266/ESP32, SAMD21/SAMD51, nRF52, STM32, SAM DUE, WT32_ETH01, RTL8720DN boards using
a) Ethernet W5x00, ENC28J60, LAN8742A
b) WiFiNINA
c) ESP8266/ESP32 WiFi
d) ESP8266/ESP32-AT-command WiFi
e) WT32_ETH01 (ESP32 + LAN8720)
f) RTL8720DN
Based on and modified from Arduino NTPClient Library (https://github.com/arduino-libraries/NTPClient)
to support other boards such as ESP8266/ESP32, SAMD21, SAMD51, Adafruit's nRF52 boards, SAM DUE, etc.
to support other boards such as ESP8266/ESP32, SAMD21, SAMD51, Adafruit's nRF52 boards, SAM DUE, RTL8720DN, etc.
and Ethernet/WiFi/WiFiNINA shields
Copyright (C) 2015 by Fabrice Weinberg and licensed under MIT License (MIT)
Built by Khoi Hoang https://github.com/khoih-prog/NTPClient_Generic
Licensed under MIT license
Version: 3.4.0
Version: 3.5.0
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -27,6 +28,7 @@
3.2.2 K Hoang 28/10/2020 Add examples to use STM32 Built-In RTC.
3.3.0 K Hoang 04/06/2021 Add support to RP2040-based boards. Add packet validity checks, version string and debug
3.4.0 K Hoang 16/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720)
3.5.0 K Hoang 10/08/2021 Add support to Ameba Realtek RTL8720DN, RTL8722DM and RTL8722CSM
*****************************************************************************************************************************/

#include "defines.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,23 @@
Self-adjusting clock for one time zone using an external DS3231 RTC
For AVR, ESP8266/ESP32, SAMD21/SAMD51, nRF52, STM32, SAM DUE, WT32_ETH01 boards using
For AVR, ESP8266/ESP32, SAMD21/SAMD51, nRF52, STM32, SAM DUE, WT32_ETH01, RTL8720DN boards using
a) Ethernet W5x00, ENC28J60, LAN8742A
b) WiFiNINA
c) ESP8266/ESP32 WiFi
d) ESP8266/ESP32-AT-command WiFi
e) WT32_ETH01 (ESP32 + LAN8720)
f) RTL8720DN
Based on and modified from Arduino NTPClient Library (https://github.com/arduino-libraries/NTPClient)
to support other boards such as ESP8266/ESP32, SAMD21, SAMD51, Adafruit's nRF52 boards, SAM DUE, etc.
to support other boards such as ESP8266/ESP32, SAMD21, SAMD51, Adafruit's nRF52 boards, SAM DUE, RTL8720DN, etc.
and Ethernet/WiFi/WiFiNINA shields
Copyright (C) 2015 by Fabrice Weinberg and licensed under MIT License (MIT)
Built by Khoi Hoang https://github.com/khoih-prog/NTPClient_Generic
Licensed under MIT license
Version: 3.4.0
Version: 3.5.0
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -27,6 +28,7 @@
3.2.2 K Hoang 28/10/2020 Add examples to use STM32 Built-In RTC.
3.3.0 K Hoang 04/06/2021 Add support to RP2040-based boards. Add packet validity checks, version string and debug
3.4.0 K Hoang 16/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720)
3.5.0 K Hoang 10/08/2021 Add support to Ameba Realtek RTL8720DN, RTL8722DM and RTL8722CSM
*****************************************************************************************************************************/

#include "defines.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,23 @@
Self-adjusting clock for one time zone using an external DS3231 RTC
For AVR, ESP8266/ESP32, SAMD21/SAMD51, nRF52, STM32, SAM DUE, WT32_ETH01 boards using
For AVR, ESP8266/ESP32, SAMD21/SAMD51, nRF52, STM32, SAM DUE, WT32_ETH01, RTL8720DN boards using
a) Ethernet W5x00, ENC28J60, LAN8742A
b) WiFiNINA
c) ESP8266/ESP32 WiFi
d) ESP8266/ESP32-AT-command WiFi
e) WT32_ETH01 (ESP32 + LAN8720)
f) RTL8720DN
Based on and modified from Arduino NTPClient Library (https://github.com/arduino-libraries/NTPClient)
to support other boards such as ESP8266/ESP32, SAMD21, SAMD51, Adafruit's nRF52 boards, SAM DUE, etc.
to support other boards such as ESP8266/ESP32, SAMD21, SAMD51, Adafruit's nRF52 boards, SAM DUE, RTL8720DN, etc.
and Ethernet/WiFi/WiFiNINA shields
Copyright (C) 2015 by Fabrice Weinberg and licensed under MIT License (MIT)
Built by Khoi Hoang https://github.com/khoih-prog/NTPClient_Generic
Licensed under MIT license
Version: 3.4.0
Version: 3.5.0
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -27,6 +28,7 @@
3.2.2 K Hoang 28/10/2020 Add examples to use STM32 Built-In RTC.
3.3.0 K Hoang 04/06/2021 Add support to RP2040-based boards. Add packet validity checks, version string and debug
3.4.0 K Hoang 16/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720)
3.5.0 K Hoang 10/08/2021 Add support to Ameba Realtek RTL8720DN, RTL8722DM and RTL8722CSM
*****************************************************************************************************************************/

#include "defines.h"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
/****************************************************************************************************************************
TZ_NTP_Clock_Ethernet.ino
For AVR, ESP8266/ESP32, SAMD21/SAMD51, nRF52, STM32, SAM DUE, WT32_ETH01 boards using
For AVR, ESP8266/ESP32, SAMD21/SAMD51, nRF52, STM32, SAM DUE, WT32_ETH01, RTL8720DN boards using
a) Ethernet W5x00, ENC28J60, LAN8742A
b) WiFiNINA
c) ESP8266/ESP32 WiFi
d) ESP8266/ESP32-AT-command WiFi
e) WT32_ETH01 (ESP32 + LAN8720)
f) RTL8720DN
Based on and modified from Arduino NTPClient Library (https://github.com/arduino-libraries/NTPClient)
to support other boards such as ESP8266/ESP32, SAMD21, SAMD51, Adafruit's nRF52 boards, SAM DUE, etc.
to support other boards such as ESP8266/ESP32, SAMD21, SAMD51, Adafruit's nRF52 boards, SAM DUE, RTL8720DN, etc.
and Ethernet/WiFi/WiFiNINA shields
Copyright (C) 2015 by Fabrice Weinberg and licensed under MIT License (MIT)
Built by Khoi Hoang https://github.com/khoih-prog/NTPClient_Generic
Licensed under MIT license
Version: 3.4.0
Version: 3.5.0
Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -25,6 +26,7 @@
3.2.2 K Hoang 28/10/2020 Add examples to use STM32 Built-In RTC.
3.3.0 K Hoang 04/06/2021 Add support to RP2040-based boards. Add packet validity checks, version string and debug
3.4.0 K Hoang 16/07/2021 Add support to WT32_ETH01 (ESP32 + LAN8720)
3.5.0 K Hoang 10/08/2021 Add support to Ameba Realtek RTL8720DN, RTL8722DM and RTL8722CSM
*****************************************************************************************************************************/

/*
Expand Down
Loading

0 comments on commit 1e07f5c

Please sign in to comment.