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

Commit b919dda

Browse files
authored
v1.9.0 to make compatible with old code
### Releases v1.9.0 1. Make compatible with old code 2. Update all examples 3. Update `Packages_Patches`
1 parent ef3c693 commit b919dda

File tree

27 files changed

+336
-323
lines changed

27 files changed

+336
-323
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Arduino IDE version: 1.8.19
3030
RASPBERRY_PI_PICO board
3131
ArduinoCore-mbed v2.6.1
3232
OS: Ubuntu 20.04 LTS
33-
Linux xy-Inspiron-3593 5.4.0-91-generic #102-Ubuntu SMP Fri Nov 5 16:31:28 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
33+
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
3434
3535
Context:
3636
I encountered an endless loop while trying to connect to Local WiFi.

README.md

Lines changed: 58 additions & 77 deletions
Large diffs are not rendered by default.

changelog.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
## Table of Contents
1313

1414
* [Changelog](#changelog)
15+
* [Releases v1.9.0](#releases-v190)
1516
* [Releases v1.8.0](#releases-v180)
1617
* [Releases v1.7.3](#releases-v173)
1718
* [Releases v1.7.2](#releases-v172)
@@ -30,6 +31,12 @@
3031

3132
## Changelog
3233

34+
### Releases v1.9.0
35+
36+
1. Make compatible with old code
37+
2. Update all examples
38+
3. Update `Packages_Patches`
39+
3340
### Releases v1.8.0
3441

3542
1. Fix `multiple-definitions` linker error and weird bug related to `src_cpp`. Check [Different behaviour using the src_cpp or src_h lib #80](https://github.com/khoih-prog/ESPAsync_WiFiManager/discussions/80)

examples/Ethernet/BI_RTC_Alarm_STM32_Ethernet/BI_RTC_Alarm_STM32_Ethernet.ino

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,13 @@
3434

3535
#include "defines.h"
3636

37-
#define TIMEZONE_GENERIC_VERSION_MIN_TARGET "Timezone_Generic v1.8.0"
38-
#define TIMEZONE_GENERIC_VERSION_MIN 1008000
37+
#define TIMEZONE_GENERIC_VERSION_MIN_TARGET "Timezone_Generic v1.9.0"
38+
#define TIMEZONE_GENERIC_VERSION_MIN 1009000
3939

4040
//////////////////////////////////////////
4141

42-
#include <Timezone_Generic.h> // https://github.com/khoih-prog/Timezone_Generic
43-
4442
// To be included only in main(), .ino with setup() to avoid `Multiple Definitions` Linker Error
45-
#include "Timezone_Generic_Impl.h" // https://github.com/khoih-prog/Timezone_Generic
43+
#include <Timezone_Generic.h> // https://github.com/khoih-prog/Timezone_Generic
4644

4745
#include <STM32RTC.h>
4846

examples/Ethernet/BI_RTC_STM32_Ethernet/BI_RTC_STM32_Ethernet.ino

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,13 @@
3535

3636
#include "defines.h"
3737

38-
#define TIMEZONE_GENERIC_VERSION_MIN_TARGET "Timezone_Generic v1.8.0"
39-
#define TIMEZONE_GENERIC_VERSION_MIN 1008000
38+
#define TIMEZONE_GENERIC_VERSION_MIN_TARGET "Timezone_Generic v1.9.0"
39+
#define TIMEZONE_GENERIC_VERSION_MIN 1009000
4040

4141
//////////////////////////////////////////
4242

43-
#include <Timezone_Generic.h> // https://github.com/khoih-prog/Timezone_Generic
44-
4543
// To be included only in main(), .ino with setup() to avoid `Multiple Definitions` Linker Error
46-
#include "Timezone_Generic_Impl.h" // https://github.com/khoih-prog/Timezone_Generic
44+
#include <Timezone_Generic.h> // https://github.com/khoih-prog/Timezone_Generic
4745

4846
#include <STM32RTC.h> // https://github.com/stm32duino/STM32RTC
4947

examples/Ethernet/RTC_Ethernet/RTC_Ethernet.ino

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,13 @@
1616

1717
#include "defines.h"
1818

19-
#define TIMEZONE_GENERIC_VERSION_MIN_TARGET "Timezone_Generic v1.8.0"
20-
#define TIMEZONE_GENERIC_VERSION_MIN 1008000
19+
#define TIMEZONE_GENERIC_VERSION_MIN_TARGET "Timezone_Generic v1.9.0"
20+
#define TIMEZONE_GENERIC_VERSION_MIN 1009000
2121

2222
//////////////////////////////////////////
2323

24-
#include <Timezone_Generic.h> // https://github.com/khoih-prog/Timezone_Generic
25-
2624
// To be included only in main(), .ino with setup() to avoid `Multiple Definitions` Linker Error
27-
#include "Timezone_Generic_Impl.h" // https://github.com/khoih-prog/Timezone_Generic
25+
#include <Timezone_Generic.h> // https://github.com/khoih-prog/Timezone_Generic
2826

2927
#include <DS323x_Generic.h> // https://github.com/khoih-prog/DS323x_Generic
3028

examples/Ethernet/RTC_STM32_Ethernet/RTC_STM32_Ethernet.ino

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,13 @@
1616

1717
#include "defines.h"
1818

19-
#define TIMEZONE_GENERIC_VERSION_MIN_TARGET "Timezone_Generic v1.8.0"
20-
#define TIMEZONE_GENERIC_VERSION_MIN 1008000
19+
#define TIMEZONE_GENERIC_VERSION_MIN_TARGET "Timezone_Generic v1.9.0"
20+
#define TIMEZONE_GENERIC_VERSION_MIN 1009000
2121

2222
//////////////////////////////////////////
2323

24-
#include <Timezone_Generic.h> // https://github.com/khoih-prog/Timezone_Generic
25-
2624
// To be included only in main(), .ino with setup() to avoid `Multiple Definitions` Linker Error
27-
#include "Timezone_Generic_Impl.h" // https://github.com/khoih-prog/Timezone_Generic
25+
#include <Timezone_Generic.h> // https://github.com/khoih-prog/Timezone_Generic
2826

2927
#include <DS323x_Generic.h> // https://github.com/khoih-prog/DS323x_Generic
3028

examples/Ethernet/TZ_NTP_Clock_Ethernet/TZ_NTP_Clock_Ethernet.ino

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,13 @@
2222

2323
//////////////////////////////////////////
2424

25-
#define TIMEZONE_GENERIC_VERSION_MIN_TARGET "Timezone_Generic v1.8.0"
26-
#define TIMEZONE_GENERIC_VERSION_MIN 1008000
25+
#define TIMEZONE_GENERIC_VERSION_MIN_TARGET "Timezone_Generic v1.9.0"
26+
#define TIMEZONE_GENERIC_VERSION_MIN 1009000
2727

2828
//////////////////////////////////////////
2929

30-
#include <Timezone_Generic.h> // https://github.com/khoih-prog/Timezone_Generic
31-
3230
// To be included only in main(), .ino with setup() to avoid `Multiple Definitions` Linker Error
33-
#include "Timezone_Generic_Impl.h" // https://github.com/khoih-prog/Timezone_Generic
31+
#include <Timezone_Generic.h> // https://github.com/khoih-prog/Timezone_Generic
3432

3533
#define USING_INITIALIZED_TZ false //true
3634

examples/Ethernet/TZ_NTP_Clock_STM32_Ethernet/TZ_NTP_Clock_STM32_Ethernet.ino

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,14 @@
1818

1919
//////////////////////////////////////////
2020

21-
#define TIMEZONE_GENERIC_VERSION_MIN_TARGET "Timezone_Generic v1.8.0"
22-
#define TIMEZONE_GENERIC_VERSION_MIN 1008000
21+
#define TIMEZONE_GENERIC_VERSION_MIN_TARGET "Timezone_Generic v1.9.0"
22+
#define TIMEZONE_GENERIC_VERSION_MIN 1009000
2323

2424
//////////////////////////////////////////
2525

26+
// To be included only in main(), .ino with setup() to avoid `Multiple Definitions` Linker Error
2627
#include <Timezone_Generic.h> // https://github.com/khoih-prog/Timezone_Generic
2728

28-
// To be included only in main(), .ino with setup() to avoid `Multiple Definitions` Linker Error
29-
#include "Timezone_Generic_Impl.h" // https://github.com/khoih-prog/Timezone_Generic
3029
#define USING_INITIALIZED_TZ false //true
3130

3231
#if USING_INITIALIZED_TZ

examples/Ethernet/TZ_NTP_WorldClock_Ethernet/TZ_NTP_WorldClock_Ethernet.ino

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,13 @@
2222

2323
//////////////////////////////////////////
2424

25-
#define TIMEZONE_GENERIC_VERSION_MIN_TARGET "Timezone_Generic v1.8.0"
26-
#define TIMEZONE_GENERIC_VERSION_MIN 1008000
25+
#define TIMEZONE_GENERIC_VERSION_MIN_TARGET "Timezone_Generic v1.9.0"
26+
#define TIMEZONE_GENERIC_VERSION_MIN 1009000
2727

2828
//////////////////////////////////////////
2929

30-
#include <Timezone_Generic.h> // https://github.com/khoih-prog/Timezone_Generic
31-
3230
// To be included only in main(), .ino with setup() to avoid `Multiple Definitions` Linker Error
33-
#include "Timezone_Generic_Impl.h" // https://github.com/khoih-prog/Timezone_Generic
31+
#include <Timezone_Generic.h> // https://github.com/khoih-prog/Timezone_Generic
3432

3533
// Australia Eastern Time Zone (Sydney, Melbourne)
3634
TimeChangeRule aEDT = {"AEDT", First, Sun, Oct, 2, 660}; // UTC + 11 hours

0 commit comments

Comments
 (0)