diff --git a/.github/workflows/aunit_tests.yml b/.github/workflows/aunit_tests.yml index 4265ffd..6c74d04 100644 --- a/.github/workflows/aunit_tests.yml +++ b/.github/workflows/aunit_tests.yml @@ -21,6 +21,7 @@ jobs: git clone https://github.com/bxparks/AceRoutine git clone https://github.com/bxparks/AUnit git clone https://github.com/bxparks/AceCommon + git clone https://github.com/bxparks/AceSorting git clone https://github.com/bxparks/AceTime git clone https://github.com/bxparks/AceWire diff --git a/CHANGELOG.md b/CHANGELOG.md index c2cbe13..fd4d9f4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ # Changelog * Unreleased +* v1.0.3 (2021-12-02) + * Add `AceSorting` library to various Makefiles, a new dependency for + AceTime v1.9.0. + * Adding accidentally missing Baseline line in MemoryBenchmark. * v1.0.2 (2021-10-19) * Add `examples/HelloDS3231Clock` to show how to configure and use the new `DS3231Clock` template class. diff --git a/README.md b/README.md index f1968b4..5acc2b7 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ in the future. This library can be an alternative to the Arduino Time (https://github.com/PaulStoffregen/Time) library. -**Version**: v1.0.2 (2021-10-19) +**Version**: v1.0.3 (2021-12-02) **Changelog**: [CHANGELOG.md](CHANGELOG.md) @@ -89,6 +89,7 @@ This library can be an alternative to the Arduino Time * [Hardware](#Hardware) * [Tool Chain](#ToolChain) * [Operating System](#OperatingSystem) +* [Bugs and Limitations](#Bugs) * [License](#License) * [Feedback and Support](#FeedbackAndSupport) * [Authors](#Authors) @@ -1478,6 +1479,21 @@ I use Ubuntu 18.04 and 20.04 for the vast majority of my development. I expect that the library will work fine under MacOS and Windows, but I have not tested them. + +## Bugs and Limitations + +* `NtpClock` + * The `NtpClock` on an ESP8266 calls `WiFi.hostByName()` to resolve + the IP address of the NTP server. Unfortunately, when I tested this + library, it seems to be a blocking call (later versions may have fixed + this). When the DNS resolver is working properly, this call returns in + ~10ms or less. But sometimes, the DNS resolver seems to get into a state + where it takes 4-5 **seconds** to time out. Even if you use AceRoutine + coroutines, the entire program will block for those 4-5 seconds. + * [NTP](https://en.wikipedia.org/wiki/Network_Time_Protocol) uses an epoch + of 1900-01-01T00:00:00Z, with 32-bit unsigned integer as the seconds + counter. It will overflow just after 2036-02-07T06:28:15Z. + ## License @@ -1486,14 +1502,14 @@ them. ## Feedback and Support -If you have any questions, comments and other support questions about how to -use this library, please use the -[GitHub Discussions](https://github.com/bxparks/AceTimeClock/discussions) -for this project. If you have bug reports or feature requests, please file a -ticket in [GitHub Issues](https://github.com/bxparks/AceTimeClock/issues). -I'd love to hear about how this software and its documentation can be improved. -I can't promise that I will incorporate everything, but I will give your ideas -serious consideration. +If you have any questions, comments, or feature requests for this library, +please use the [GitHub +Discussions](https://github.com/bxparks/AceTimeClock/discussions) for this +project. If you have bug reports, please file a ticket in [GitHub +Issues](https://github.com/bxparks/AceTimeClock/issues). Feature requests should +go into Discussions first because they often have alternative solutions which +are useful to remain visible, instead of disappearing from the default view of +the Issue tracker after the ticket is closed. Please refrain from emailing me directly unless the content is sensitive. The problem with email is that I cannot reference the email conversation when other diff --git a/docs/doxygen.cfg b/docs/doxygen.cfg index 60fd7c6..fe1ee67 100644 --- a/docs/doxygen.cfg +++ b/docs/doxygen.cfg @@ -38,7 +38,7 @@ PROJECT_NAME = "AceTimeClock" # could be handy for archiving the generated documentation or if some version # control system is used. -PROJECT_NUMBER = 1.0.2 +PROJECT_NUMBER = 1.0.3 # Using the PROJECT_BRIEF tag one can provide an optional one line description # for a project that appears at the top of each page and should give viewer a diff --git a/docs/html/AceTimeClock_8h_source.html b/docs/html/AceTimeClock_8h_source.html index 1631640..868cc95 100644 --- a/docs/html/AceTimeClock_8h_source.html +++ b/docs/html/AceTimeClock_8h_source.html @@ -22,7 +22,7 @@
AceTimeClock -  1.0.2 +  1.0.3
Clock classes for Arduino that can synchronize from an NTP server or an RTC chip
@@ -107,8 +107,8 @@
45 
46 
47 // Version format: xxyyzz == "xx.yy.zz"
-
48 #define ACE_TIME_CLOCK_VERSION 10002
-
49 #define ACE_TIME_CLOCK_VERSION_STRING "1.0.2"
+
48 #define ACE_TIME_CLOCK_VERSION 10003
+
49 #define ACE_TIME_CLOCK_VERSION_STRING "1.0.3"
50 
51 #endif
diff --git a/docs/html/ClockInterface_8h_source.html b/docs/html/ClockInterface_8h_source.html index 3df36b2..ee1448a 100644 --- a/docs/html/ClockInterface_8h_source.html +++ b/docs/html/ClockInterface_8h_source.html @@ -22,7 +22,7 @@
AceTimeClock -  1.0.2 +  1.0.3
Clock classes for Arduino that can synchronize from an NTP server or an RTC chip
diff --git a/docs/html/Clock_8h_source.html b/docs/html/Clock_8h_source.html index 7bb36f4..8f9ec43 100644 --- a/docs/html/Clock_8h_source.html +++ b/docs/html/Clock_8h_source.html @@ -22,7 +22,7 @@
AceTimeClock -  1.0.2 +  1.0.3
Clock classes for Arduino that can synchronize from an NTP server or an RTC chip
diff --git a/docs/html/DS3231Clock_8h_source.html b/docs/html/DS3231Clock_8h_source.html index 3c881c7..2f0e29d 100644 --- a/docs/html/DS3231Clock_8h_source.html +++ b/docs/html/DS3231Clock_8h_source.html @@ -22,7 +22,7 @@
AceTimeClock -  1.0.2 +  1.0.3
Clock classes for Arduino that can synchronize from an NTP server or an RTC chip
diff --git a/docs/html/DS3231_8h_source.html b/docs/html/DS3231_8h_source.html index 0fd6686..91014b7 100644 --- a/docs/html/DS3231_8h_source.html +++ b/docs/html/DS3231_8h_source.html @@ -22,7 +22,7 @@
AceTimeClock -  1.0.2 +  1.0.3
Clock classes for Arduino that can synchronize from an NTP server or an RTC chip
diff --git a/docs/html/HardwareDateTime_8cpp_source.html b/docs/html/HardwareDateTime_8cpp_source.html index 5c95166..0cd0714 100644 --- a/docs/html/HardwareDateTime_8cpp_source.html +++ b/docs/html/HardwareDateTime_8cpp_source.html @@ -22,7 +22,7 @@
AceTimeClock -  1.0.2 +  1.0.3
Clock classes for Arduino that can synchronize from an NTP server or an RTC chip
diff --git a/docs/html/HardwareDateTime_8h_source.html b/docs/html/HardwareDateTime_8h_source.html index f855cec..9abb4d2 100644 --- a/docs/html/HardwareDateTime_8h_source.html +++ b/docs/html/HardwareDateTime_8h_source.html @@ -22,7 +22,7 @@
AceTimeClock -  1.0.2 +  1.0.3
Clock classes for Arduino that can synchronize from an NTP server or an RTC chip
diff --git a/docs/html/HardwareTemperature_8h_source.html b/docs/html/HardwareTemperature_8h_source.html index 346af42..dbaa3a6 100644 --- a/docs/html/HardwareTemperature_8h_source.html +++ b/docs/html/HardwareTemperature_8h_source.html @@ -22,7 +22,7 @@
AceTimeClock -  1.0.2 +  1.0.3
Clock classes for Arduino that can synchronize from an NTP server or an RTC chip
diff --git a/docs/html/NtpClock_8cpp_source.html b/docs/html/NtpClock_8cpp_source.html index 0b75ba3..e644d92 100644 --- a/docs/html/NtpClock_8cpp_source.html +++ b/docs/html/NtpClock_8cpp_source.html @@ -22,7 +22,7 @@
AceTimeClock -  1.0.2 +  1.0.3
Clock classes for Arduino that can synchronize from an NTP server or an RTC chip
diff --git a/docs/html/NtpClock_8h_source.html b/docs/html/NtpClock_8h_source.html index 1ec7937..2c9c7c4 100644 --- a/docs/html/NtpClock_8h_source.html +++ b/docs/html/NtpClock_8h_source.html @@ -22,7 +22,7 @@
AceTimeClock -  1.0.2 +  1.0.3
Clock classes for Arduino that can synchronize from an NTP server or an RTC chip
diff --git a/docs/html/Stm32F1Clock_8h_source.html b/docs/html/Stm32F1Clock_8h_source.html index d39de7f..f9a4fa9 100644 --- a/docs/html/Stm32F1Clock_8h_source.html +++ b/docs/html/Stm32F1Clock_8h_source.html @@ -22,7 +22,7 @@
AceTimeClock -  1.0.2 +  1.0.3
Clock classes for Arduino that can synchronize from an NTP server or an RTC chip
diff --git a/docs/html/Stm32F1Rtc_8cpp_source.html b/docs/html/Stm32F1Rtc_8cpp_source.html index 59179c2..977e0fb 100644 --- a/docs/html/Stm32F1Rtc_8cpp_source.html +++ b/docs/html/Stm32F1Rtc_8cpp_source.html @@ -22,7 +22,7 @@
AceTimeClock -  1.0.2 +  1.0.3
Clock classes for Arduino that can synchronize from an NTP server or an RTC chip
diff --git a/docs/html/Stm32F1Rtc_8h_source.html b/docs/html/Stm32F1Rtc_8h_source.html index 41e4e0e..6aafef9 100644 --- a/docs/html/Stm32F1Rtc_8h_source.html +++ b/docs/html/Stm32F1Rtc_8h_source.html @@ -22,7 +22,7 @@
AceTimeClock -  1.0.2 +  1.0.3
Clock classes for Arduino that can synchronize from an NTP server or an RTC chip
diff --git a/docs/html/StmRtcClock_8h_source.html b/docs/html/StmRtcClock_8h_source.html index 002d484..5df1494 100644 --- a/docs/html/StmRtcClock_8h_source.html +++ b/docs/html/StmRtcClock_8h_source.html @@ -22,7 +22,7 @@
AceTimeClock -  1.0.2 +  1.0.3
Clock classes for Arduino that can synchronize from an NTP server or an RTC chip
diff --git a/docs/html/StmRtc_8cpp_source.html b/docs/html/StmRtc_8cpp_source.html index e4ae2ac..0e1c087 100644 --- a/docs/html/StmRtc_8cpp_source.html +++ b/docs/html/StmRtc_8cpp_source.html @@ -22,7 +22,7 @@
AceTimeClock -  1.0.2 +  1.0.3
Clock classes for Arduino that can synchronize from an NTP server or an RTC chip
diff --git a/docs/html/StmRtc_8h_source.html b/docs/html/StmRtc_8h_source.html index 77573b8..163e4bc 100644 --- a/docs/html/StmRtc_8h_source.html +++ b/docs/html/StmRtc_8h_source.html @@ -22,7 +22,7 @@
AceTimeClock -  1.0.2 +  1.0.3
Clock classes for Arduino that can synchronize from an NTP server or an RTC chip
diff --git a/docs/html/SystemClockCoroutine_8h_source.html b/docs/html/SystemClockCoroutine_8h_source.html index 10c06b5..98b83dd 100644 --- a/docs/html/SystemClockCoroutine_8h_source.html +++ b/docs/html/SystemClockCoroutine_8h_source.html @@ -22,7 +22,7 @@
AceTimeClock -  1.0.2 +  1.0.3
Clock classes for Arduino that can synchronize from an NTP server or an RTC chip
diff --git a/docs/html/SystemClockLoop_8h_source.html b/docs/html/SystemClockLoop_8h_source.html index f248064..2fe9c73 100644 --- a/docs/html/SystemClockLoop_8h_source.html +++ b/docs/html/SystemClockLoop_8h_source.html @@ -22,7 +22,7 @@
AceTimeClock -  1.0.2 +  1.0.3
Clock classes for Arduino that can synchronize from an NTP server or an RTC chip
diff --git a/docs/html/SystemClock_8h_source.html b/docs/html/SystemClock_8h_source.html index f4ea338..954af86 100644 --- a/docs/html/SystemClock_8h_source.html +++ b/docs/html/SystemClock_8h_source.html @@ -22,7 +22,7 @@
AceTimeClock -  1.0.2 +  1.0.3
Clock classes for Arduino that can synchronize from an NTP server or an RTC chip
diff --git a/docs/html/UnixClock_8h_source.html b/docs/html/UnixClock_8h_source.html index e2f4118..fb9cd5b 100644 --- a/docs/html/UnixClock_8h_source.html +++ b/docs/html/UnixClock_8h_source.html @@ -22,7 +22,7 @@
AceTimeClock -  1.0.2 +  1.0.3
Clock classes for Arduino that can synchronize from an NTP server or an RTC chip
diff --git a/docs/html/annotated.html b/docs/html/annotated.html index 770eaf9..37a93f4 100644 --- a/docs/html/annotated.html +++ b/docs/html/annotated.html @@ -22,7 +22,7 @@
AceTimeClock -  1.0.2 +  1.0.3
Clock classes for Arduino that can synchronize from an NTP server or an RTC chip
diff --git a/docs/html/classace__time_1_1clock_1_1Clock-members.html b/docs/html/classace__time_1_1clock_1_1Clock-members.html index 3b195aa..750bcc7 100644 --- a/docs/html/classace__time_1_1clock_1_1Clock-members.html +++ b/docs/html/classace__time_1_1clock_1_1Clock-members.html @@ -22,7 +22,7 @@
AceTimeClock -  1.0.2 +  1.0.3
Clock classes for Arduino that can synchronize from an NTP server or an RTC chip
diff --git a/docs/html/classace__time_1_1clock_1_1Clock.html b/docs/html/classace__time_1_1clock_1_1Clock.html index 0571861..7f58a09 100644 --- a/docs/html/classace__time_1_1clock_1_1Clock.html +++ b/docs/html/classace__time_1_1clock_1_1Clock.html @@ -22,7 +22,7 @@
AceTimeClock -  1.0.2 +  1.0.3
Clock classes for Arduino that can synchronize from an NTP server or an RTC chip
diff --git a/docs/html/classace__time_1_1clock_1_1DS3231Clock-members.html b/docs/html/classace__time_1_1clock_1_1DS3231Clock-members.html index fec0692..16f6100 100644 --- a/docs/html/classace__time_1_1clock_1_1DS3231Clock-members.html +++ b/docs/html/classace__time_1_1clock_1_1DS3231Clock-members.html @@ -22,7 +22,7 @@
AceTimeClock -  1.0.2 +  1.0.3
Clock classes for Arduino that can synchronize from an NTP server or an RTC chip
diff --git a/docs/html/classace__time_1_1clock_1_1DS3231Clock.html b/docs/html/classace__time_1_1clock_1_1DS3231Clock.html index c347435..8692c50 100644 --- a/docs/html/classace__time_1_1clock_1_1DS3231Clock.html +++ b/docs/html/classace__time_1_1clock_1_1DS3231Clock.html @@ -22,7 +22,7 @@
AceTimeClock -  1.0.2 +  1.0.3
Clock classes for Arduino that can synchronize from an NTP server or an RTC chip
diff --git a/docs/html/classace__time_1_1clock_1_1NtpClock-members.html b/docs/html/classace__time_1_1clock_1_1NtpClock-members.html index 5c2968a..6e126e0 100644 --- a/docs/html/classace__time_1_1clock_1_1NtpClock-members.html +++ b/docs/html/classace__time_1_1clock_1_1NtpClock-members.html @@ -22,7 +22,7 @@
AceTimeClock -  1.0.2 +  1.0.3
Clock classes for Arduino that can synchronize from an NTP server or an RTC chip
diff --git a/docs/html/classace__time_1_1clock_1_1NtpClock.html b/docs/html/classace__time_1_1clock_1_1NtpClock.html index e1d24fd..82f8624 100644 --- a/docs/html/classace__time_1_1clock_1_1NtpClock.html +++ b/docs/html/classace__time_1_1clock_1_1NtpClock.html @@ -22,7 +22,7 @@
AceTimeClock -  1.0.2 +  1.0.3
Clock classes for Arduino that can synchronize from an NTP server or an RTC chip
diff --git a/docs/html/classace__time_1_1clock_1_1SystemClockLoopTemplate-members.html b/docs/html/classace__time_1_1clock_1_1SystemClockLoopTemplate-members.html index 811aa94..5b6b987 100644 --- a/docs/html/classace__time_1_1clock_1_1SystemClockLoopTemplate-members.html +++ b/docs/html/classace__time_1_1clock_1_1SystemClockLoopTemplate-members.html @@ -22,7 +22,7 @@
AceTimeClock -  1.0.2 +  1.0.3
Clock classes for Arduino that can synchronize from an NTP server or an RTC chip
diff --git a/docs/html/classace__time_1_1clock_1_1SystemClockLoopTemplate.html b/docs/html/classace__time_1_1clock_1_1SystemClockLoopTemplate.html index 1e47491..9d09dd5 100644 --- a/docs/html/classace__time_1_1clock_1_1SystemClockLoopTemplate.html +++ b/docs/html/classace__time_1_1clock_1_1SystemClockLoopTemplate.html @@ -22,7 +22,7 @@
AceTimeClock -  1.0.2 +  1.0.3
Clock classes for Arduino that can synchronize from an NTP server or an RTC chip
diff --git a/docs/html/classace__time_1_1clock_1_1SystemClockTemplate-members.html b/docs/html/classace__time_1_1clock_1_1SystemClockTemplate-members.html index 749bda8..9a7bc3c 100644 --- a/docs/html/classace__time_1_1clock_1_1SystemClockTemplate-members.html +++ b/docs/html/classace__time_1_1clock_1_1SystemClockTemplate-members.html @@ -22,7 +22,7 @@
AceTimeClock -  1.0.2 +  1.0.3
Clock classes for Arduino that can synchronize from an NTP server or an RTC chip
diff --git a/docs/html/classace__time_1_1clock_1_1SystemClockTemplate.html b/docs/html/classace__time_1_1clock_1_1SystemClockTemplate.html index 0c5455f..75cc48a 100644 --- a/docs/html/classace__time_1_1clock_1_1SystemClockTemplate.html +++ b/docs/html/classace__time_1_1clock_1_1SystemClockTemplate.html @@ -22,7 +22,7 @@
AceTimeClock -  1.0.2 +  1.0.3
Clock classes for Arduino that can synchronize from an NTP server or an RTC chip
diff --git a/docs/html/classace__time_1_1clock_1_1UnixClock-members.html b/docs/html/classace__time_1_1clock_1_1UnixClock-members.html index 171461e..82c2bb6 100644 --- a/docs/html/classace__time_1_1clock_1_1UnixClock-members.html +++ b/docs/html/classace__time_1_1clock_1_1UnixClock-members.html @@ -22,7 +22,7 @@
AceTimeClock -  1.0.2 +  1.0.3
Clock classes for Arduino that can synchronize from an NTP server or an RTC chip
diff --git a/docs/html/classace__time_1_1clock_1_1UnixClock.html b/docs/html/classace__time_1_1clock_1_1UnixClock.html index 8d19814..dfa2bb2 100644 --- a/docs/html/classace__time_1_1clock_1_1UnixClock.html +++ b/docs/html/classace__time_1_1clock_1_1UnixClock.html @@ -22,7 +22,7 @@
AceTimeClock -  1.0.2 +  1.0.3
Clock classes for Arduino that can synchronize from an NTP server or an RTC chip
diff --git a/docs/html/classace__time_1_1hw_1_1ClockInterface-members.html b/docs/html/classace__time_1_1hw_1_1ClockInterface-members.html index afd7654..dbfe4c9 100644 --- a/docs/html/classace__time_1_1hw_1_1ClockInterface-members.html +++ b/docs/html/classace__time_1_1hw_1_1ClockInterface-members.html @@ -22,7 +22,7 @@
AceTimeClock -  1.0.2 +  1.0.3
Clock classes for Arduino that can synchronize from an NTP server or an RTC chip
diff --git a/docs/html/classace__time_1_1hw_1_1ClockInterface.html b/docs/html/classace__time_1_1hw_1_1ClockInterface.html index cc87728..a4fc9b6 100644 --- a/docs/html/classace__time_1_1hw_1_1ClockInterface.html +++ b/docs/html/classace__time_1_1hw_1_1ClockInterface.html @@ -22,7 +22,7 @@
AceTimeClock -  1.0.2 +  1.0.3
Clock classes for Arduino that can synchronize from an NTP server or an RTC chip
diff --git a/docs/html/classace__time_1_1hw_1_1DS3231-members.html b/docs/html/classace__time_1_1hw_1_1DS3231-members.html index fdf6374..1ffa625 100644 --- a/docs/html/classace__time_1_1hw_1_1DS3231-members.html +++ b/docs/html/classace__time_1_1hw_1_1DS3231-members.html @@ -22,7 +22,7 @@
AceTimeClock -  1.0.2 +  1.0.3
Clock classes for Arduino that can synchronize from an NTP server or an RTC chip
diff --git a/docs/html/classace__time_1_1hw_1_1DS3231.html b/docs/html/classace__time_1_1hw_1_1DS3231.html index 30f6481..a32164e 100644 --- a/docs/html/classace__time_1_1hw_1_1DS3231.html +++ b/docs/html/classace__time_1_1hw_1_1DS3231.html @@ -22,7 +22,7 @@
AceTimeClock -  1.0.2 +  1.0.3
Clock classes for Arduino that can synchronize from an NTP server or an RTC chip
diff --git a/docs/html/classes.html b/docs/html/classes.html index 8209f26..23de8a6 100644 --- a/docs/html/classes.html +++ b/docs/html/classes.html @@ -22,7 +22,7 @@
AceTimeClock -  1.0.2 +  1.0.3
Clock classes for Arduino that can synchronize from an NTP server or an RTC chip
diff --git a/docs/html/dir_173dd563440c1e02d7e3957b90659cd7.html b/docs/html/dir_173dd563440c1e02d7e3957b90659cd7.html index 262dbae..4627f93 100644 --- a/docs/html/dir_173dd563440c1e02d7e3957b90659cd7.html +++ b/docs/html/dir_173dd563440c1e02d7e3957b90659cd7.html @@ -22,7 +22,7 @@
AceTimeClock -  1.0.2 +  1.0.3
Clock classes for Arduino that can synchronize from an NTP server or an RTC chip
diff --git a/docs/html/dir_1a3db1509c5a81eeb8e8fbfe5ac0febc.html b/docs/html/dir_1a3db1509c5a81eeb8e8fbfe5ac0febc.html index e355d22..1b6790b 100644 --- a/docs/html/dir_1a3db1509c5a81eeb8e8fbfe5ac0febc.html +++ b/docs/html/dir_1a3db1509c5a81eeb8e8fbfe5ac0febc.html @@ -22,7 +22,7 @@
AceTimeClock -  1.0.2 +  1.0.3
Clock classes for Arduino that can synchronize from an NTP server or an RTC chip
diff --git a/docs/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html b/docs/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html index 4148220..f65238f 100644 --- a/docs/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html +++ b/docs/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html @@ -22,7 +22,7 @@
AceTimeClock -  1.0.2 +  1.0.3
Clock classes for Arduino that can synchronize from an NTP server or an RTC chip
diff --git a/docs/html/dir_710a5327734d15938c9752b39a7d94e5.html b/docs/html/dir_710a5327734d15938c9752b39a7d94e5.html index 9f60a3b..ebcf3b9 100644 --- a/docs/html/dir_710a5327734d15938c9752b39a7d94e5.html +++ b/docs/html/dir_710a5327734d15938c9752b39a7d94e5.html @@ -22,7 +22,7 @@
AceTimeClock -  1.0.2 +  1.0.3
Clock classes for Arduino that can synchronize from an NTP server or an RTC chip
diff --git a/docs/html/files.html b/docs/html/files.html index 45f45d5..5551edd 100644 --- a/docs/html/files.html +++ b/docs/html/files.html @@ -22,7 +22,7 @@
AceTimeClock -  1.0.2 +  1.0.3
Clock classes for Arduino that can synchronize from an NTP server or an RTC chip
diff --git a/docs/html/functions.html b/docs/html/functions.html index ebf9f7c..73973bf 100644 --- a/docs/html/functions.html +++ b/docs/html/functions.html @@ -22,7 +22,7 @@
AceTimeClock -  1.0.2 +  1.0.3
Clock classes for Arduino that can synchronize from an NTP server or an RTC chip
diff --git a/docs/html/functions_func.html b/docs/html/functions_func.html index bb8b0d3..d5f3027 100644 --- a/docs/html/functions_func.html +++ b/docs/html/functions_func.html @@ -22,7 +22,7 @@
AceTimeClock -  1.0.2 +  1.0.3
Clock classes for Arduino that can synchronize from an NTP server or an RTC chip
diff --git a/docs/html/functions_vars.html b/docs/html/functions_vars.html index 0f86872..2f78113 100644 --- a/docs/html/functions_vars.html +++ b/docs/html/functions_vars.html @@ -22,7 +22,7 @@
AceTimeClock -  1.0.2 +  1.0.3
Clock classes for Arduino that can synchronize from an NTP server or an RTC chip
diff --git a/docs/html/graph_legend.html b/docs/html/graph_legend.html index 4b3b422..3ffc68b 100644 --- a/docs/html/graph_legend.html +++ b/docs/html/graph_legend.html @@ -22,7 +22,7 @@
AceTimeClock -  1.0.2 +  1.0.3
Clock classes for Arduino that can synchronize from an NTP server or an RTC chip
diff --git a/docs/html/hierarchy.html b/docs/html/hierarchy.html index 6dcdcde..ee1a6a5 100644 --- a/docs/html/hierarchy.html +++ b/docs/html/hierarchy.html @@ -22,7 +22,7 @@
AceTimeClock -  1.0.2 +  1.0.3
Clock classes for Arduino that can synchronize from an NTP server or an RTC chip
diff --git a/docs/html/index.html b/docs/html/index.html index ffc5ecd..6dca66c 100644 --- a/docs/html/index.html +++ b/docs/html/index.html @@ -22,7 +22,7 @@
AceTimeClock -  1.0.2 +  1.0.3
Clock classes for Arduino that can synchronize from an NTP server or an RTC chip
diff --git a/docs/html/inherits.html b/docs/html/inherits.html index 7e6264b..d3b7a53 100644 --- a/docs/html/inherits.html +++ b/docs/html/inherits.html @@ -22,7 +22,7 @@
AceTimeClock -  1.0.2 +  1.0.3
Clock classes for Arduino that can synchronize from an NTP server or an RTC chip
diff --git a/docs/html/structace__time_1_1hw_1_1HardwareDateTime-members.html b/docs/html/structace__time_1_1hw_1_1HardwareDateTime-members.html index 554a051..f747dab 100644 --- a/docs/html/structace__time_1_1hw_1_1HardwareDateTime-members.html +++ b/docs/html/structace__time_1_1hw_1_1HardwareDateTime-members.html @@ -22,7 +22,7 @@
AceTimeClock -  1.0.2 +  1.0.3
Clock classes for Arduino that can synchronize from an NTP server or an RTC chip
diff --git a/docs/html/structace__time_1_1hw_1_1HardwareDateTime.html b/docs/html/structace__time_1_1hw_1_1HardwareDateTime.html index d2e550d..308459f 100644 --- a/docs/html/structace__time_1_1hw_1_1HardwareDateTime.html +++ b/docs/html/structace__time_1_1hw_1_1HardwareDateTime.html @@ -22,7 +22,7 @@
AceTimeClock -  1.0.2 +  1.0.3
Clock classes for Arduino that can synchronize from an NTP server or an RTC chip
diff --git a/docs/html/structace__time_1_1hw_1_1HardwareTemperature-members.html b/docs/html/structace__time_1_1hw_1_1HardwareTemperature-members.html index 9352d37..1bb162b 100644 --- a/docs/html/structace__time_1_1hw_1_1HardwareTemperature-members.html +++ b/docs/html/structace__time_1_1hw_1_1HardwareTemperature-members.html @@ -22,7 +22,7 @@
AceTimeClock -  1.0.2 +  1.0.3
Clock classes for Arduino that can synchronize from an NTP server or an RTC chip
diff --git a/docs/html/structace__time_1_1hw_1_1HardwareTemperature.html b/docs/html/structace__time_1_1hw_1_1HardwareTemperature.html index c41847f..c1104a1 100644 --- a/docs/html/structace__time_1_1hw_1_1HardwareTemperature.html +++ b/docs/html/structace__time_1_1hw_1_1HardwareTemperature.html @@ -22,7 +22,7 @@
AceTimeClock -  1.0.2 +  1.0.3
Clock classes for Arduino that can synchronize from an NTP server or an RTC chip
diff --git a/examples/AutoBenchmark/Makefile b/examples/AutoBenchmark/Makefile index 393d964..9321f24 100644 --- a/examples/AutoBenchmark/Makefile +++ b/examples/AutoBenchmark/Makefile @@ -2,7 +2,7 @@ # Makefile to compile and run Arduino programs natively on Linux or MacOS. APP_NAME := AutoBenchmark -ARDUINO_LIBS := AceCommon AceTime AceTimeClock AceRoutine AceWire +ARDUINO_LIBS := AceCommon AceSorting AceTime AceTimeClock AceRoutine AceWire MORE_CLEAN := more_clean include ../../../EpoxyDuino/EpoxyDuino.mk diff --git a/examples/AutoBenchmark/README.md b/examples/AutoBenchmark/README.md index ddb32b0..048e1b1 100644 --- a/examples/AutoBenchmark/README.md +++ b/examples/AutoBenchmark/README.md @@ -2,7 +2,7 @@ Here are the results from `AutoBenchmark.ino` for various boards. -**Version**: AceTimeClock v1.0.2 +**Version**: AceTimeClock v1.0.3 **DO NOT EDIT**: This file was auto-generated using `make README.md`. diff --git a/examples/AutoBenchmark/generate_readme.py b/examples/AutoBenchmark/generate_readme.py index b03b159..c16907d 100755 --- a/examples/AutoBenchmark/generate_readme.py +++ b/examples/AutoBenchmark/generate_readme.py @@ -26,7 +26,7 @@ Here are the results from `AutoBenchmark.ino` for various boards. -**Version**: AceTimeClock v1.0.2 +**Version**: AceTimeClock v1.0.3 **DO NOT EDIT**: This file was auto-generated using `make README.md`. diff --git a/examples/HelloDS3231Clock/Makefile b/examples/HelloDS3231Clock/Makefile index 4a1e3da..1cca3da 100644 --- a/examples/HelloDS3231Clock/Makefile +++ b/examples/HelloDS3231Clock/Makefile @@ -2,5 +2,5 @@ # Makefile to compile and run Arduino programs natively on Linux or MacOS. APP_NAME := HelloDS3231Clock -ARDUINO_LIBS := AceCommon AceTime AceTimeClock AceWire +ARDUINO_LIBS := AceCommon AceSorting AceTime AceTimeClock AceWire include ../../../EpoxyDuino/EpoxyDuino.mk diff --git a/examples/HelloSystemClockCoroutine/Makefile b/examples/HelloSystemClockCoroutine/Makefile index 6536296..62f9bdf 100644 --- a/examples/HelloSystemClockCoroutine/Makefile +++ b/examples/HelloSystemClockCoroutine/Makefile @@ -2,5 +2,5 @@ # Makefile to compile and run Arduino programs natively on Linux or MacOS. APP_NAME := HelloSystemClockCoroutine -ARDUINO_LIBS := AceCommon AceTime AceTimeClock AceRoutine +ARDUINO_LIBS := AceCommon AceSorting AceTime AceTimeClock AceRoutine include ../../../EpoxyDuino/EpoxyDuino.mk diff --git a/examples/HelloSystemClockLoop/Makefile b/examples/HelloSystemClockLoop/Makefile index 2d6901e..e14f22a 100644 --- a/examples/HelloSystemClockLoop/Makefile +++ b/examples/HelloSystemClockLoop/Makefile @@ -2,5 +2,5 @@ # Makefile to compile and run Arduino programs natively on Linux or MacOS. APP_NAME := HelloSystemClockLoop -ARDUINO_LIBS := AceCommon AceTime AceTimeClock +ARDUINO_LIBS := AceCommon AceSorting AceTime AceTimeClock include ../../../EpoxyDuino/EpoxyDuino.mk diff --git a/examples/MemoryBenchmark/Makefile b/examples/MemoryBenchmark/Makefile index 23919b1..a0543b4 100644 --- a/examples/MemoryBenchmark/Makefile +++ b/examples/MemoryBenchmark/Makefile @@ -2,8 +2,8 @@ # EpoxyDuino to compile and run AUnit tests natively on Linux or MacOS. APP_NAME := MemoryBenchmark -ARDUINO_LIBS := AceCommon AceRoutine AceWire AceTime AceTimeClock AceRoutine \ - EpoxyMockDigitalWriteFast +ARDUINO_LIBS := AceCommon AceRoutine AceWire AceSorting AceTime \ + AceTimeClock AceRoutine EpoxyMockDigitalWriteFast MORE_CLEAN := more_clean include ../../../EpoxyDuino/EpoxyDuino.mk diff --git a/examples/MemoryBenchmark/README.md b/examples/MemoryBenchmark/README.md index f788d63..f7d342f 100644 --- a/examples/MemoryBenchmark/README.md +++ b/examples/MemoryBenchmark/README.md @@ -5,7 +5,7 @@ memory and static RAM sizes were recorded. The `FEATURE_BASELINE` selection is the baseline, and its memory usage numbers are subtracted from the subsequent `FEATURE_*` memory usage. -**Version**: AceTimeClock v1.0.2 +**Version**: AceTimeClock v1.0.3 **DO NOT EDIT**: This file was auto-generated using `make README.md`. @@ -68,6 +68,8 @@ In v1.0.2: +---------------------------------------------------------------------+ | Functionality | flash/ ram | delta | |----------------------------------------+--------------+-------------| +| Baseline | 474/ 11 | 0/ 0 | +|----------------------------------------+--------------+-------------| | DS3231Clock | 4688/ 249 | 4214/ 238 | | DS3231Clock | 3030/ 37 | 2556/ 26 | | DS3231Clock | 2482/ 37 | 2008/ 26 | @@ -93,6 +95,8 @@ In v1.0.2: +---------------------------------------------------------------------+ | Functionality | flash/ ram | delta | |----------------------------------------+--------------+-------------| +| Baseline | 3470/ 153 | 0/ 0 | +|----------------------------------------+--------------+-------------| | DS3231Clock | 7674/ 391 | 4204/ 238 | | DS3231Clock | 6144/ 179 | 2674/ 26 | | DS3231Clock | 5478/ 179 | 2008/ 26 | @@ -118,6 +122,8 @@ In v1.0.2: +---------------------------------------------------------------------+ | Functionality | flash/ ram | delta | |----------------------------------------+--------------+-------------| +| Baseline | 10064/ 0 | 0/ 0 | +|----------------------------------------+--------------+-------------| | DS3231Clock | 12688/ 0 | 2624/ 0 | | DS3231Clock | 11872/ 0 | 1808/ 0 | |----------------------------------------+--------------+-------------| @@ -144,6 +150,8 @@ In v1.0.2: +---------------------------------------------------------------------+ | Functionality | flash/ ram | delta | |----------------------------------------+--------------+-------------| +| Baseline | 21420/ 3536 | 0/ 0 | +|----------------------------------------+--------------+-------------| | DS3231Clock | 28448/ 3768 | 7028/ 232 | | DS3231Clock | 25048/ 3584 | 3628/ 48 | |----------------------------------------+--------------+-------------| @@ -171,6 +179,8 @@ microcontroller and the compiler did not generate the desired information. +---------------------------------------------------------------------+ | Functionality | flash/ ram | delta | |----------------------------------------+--------------+-------------| +| Baseline | 260089/27892 | 0/ 0 | +|----------------------------------------+--------------+-------------| | DS3231Clock | 266069/28452 | 5980/ 560 | | DS3231Clock | 264305/27980 | 4216/ 88 | |----------------------------------------+--------------+-------------| @@ -195,6 +205,8 @@ microcontroller and the compiler did not generate the desired information. +---------------------------------------------------------------------+ | Functionality | flash/ ram | delta | |----------------------------------------+--------------+-------------| +| Baseline | 197748/13084 | 0/ 0 | +|----------------------------------------+--------------+-------------| | DS3231Clock | 217554/14312 | 19806/ 1228 | | DS3231Clock | 208762/13584 | 11014/ 500 | |----------------------------------------+--------------+-------------| @@ -223,6 +235,8 @@ usage by objects. +---------------------------------------------------------------------+ | Functionality | flash/ ram | delta | |----------------------------------------+--------------+-------------| +| Baseline | 10184/ 4152 | 0/ 0 | +|----------------------------------------+--------------+-------------| | DS3231Clock | 14416/ 4820 | 4232/ 668 | | DS3231Clock | 12280/ 4152 | 2096/ 0 | |----------------------------------------+--------------+-------------| diff --git a/examples/MemoryBenchmark/generate_readme.py b/examples/MemoryBenchmark/generate_readme.py index d3551bf..c753701 100755 --- a/examples/MemoryBenchmark/generate_readme.py +++ b/examples/MemoryBenchmark/generate_readme.py @@ -29,7 +29,7 @@ the baseline, and its memory usage numbers are subtracted from the subsequent `FEATURE_*` memory usage. -**Version**: AceTimeClock v1.0.2 +**Version**: AceTimeClock v1.0.3 **DO NOT EDIT**: This file was auto-generated using `make README.md`. diff --git a/examples/MemoryBenchmark/generate_table.awk b/examples/MemoryBenchmark/generate_table.awk index dc145bc..19ddb05 100755 --- a/examples/MemoryBenchmark/generate_table.awk +++ b/examples/MemoryBenchmark/generate_table.awk @@ -42,7 +42,7 @@ END { printf(\ "| Functionality | flash/ ram | delta |\n") - for (i = 1; i <= NUM_FEATURES; i++) { + for (i = 0; i <= NUM_FEATURES; i++) { if (u[i]["flash"] == "-1") continue name = labels[i] diff --git a/library.properties b/library.properties index 29ac9b8..8a50f86 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=AceTimeClock -version=1.0.2 +version=1.0.3 author=Brian T. Park maintainer=Brian T. Park sentence=Clock classes for Arduino that can synchronize from an NTP server or an RTC chip. diff --git a/src/AceTimeClock.h b/src/AceTimeClock.h index e127ed0..f4c867f 100644 --- a/src/AceTimeClock.h +++ b/src/AceTimeClock.h @@ -45,7 +45,7 @@ // Version format: xxyyzz == "xx.yy.zz" -#define ACE_TIME_CLOCK_VERSION 10002 -#define ACE_TIME_CLOCK_VERSION_STRING "1.0.2" +#define ACE_TIME_CLOCK_VERSION 10003 +#define ACE_TIME_CLOCK_VERSION_STRING "1.0.3" #endif diff --git a/tests/HardwareTest/Makefile b/tests/HardwareTest/Makefile index 742784e..98f6ea5 100644 --- a/tests/HardwareTest/Makefile +++ b/tests/HardwareTest/Makefile @@ -2,5 +2,5 @@ # Makefile to compile and run Arduino programs natively on Linux or MacOS. APP_NAME := HardwareTest -ARDUINO_LIBS := AUnit AceCommon AceTime AceTimeClock +ARDUINO_LIBS := AUnit AceCommon AceSorting AceTime AceTimeClock include ../../../EpoxyDuino/EpoxyDuino.mk diff --git a/tests/SystemClockTest/Makefile b/tests/SystemClockTest/Makefile index 974270c..e49821b 100644 --- a/tests/SystemClockTest/Makefile +++ b/tests/SystemClockTest/Makefile @@ -2,5 +2,5 @@ # Makefile to compile and run Arduino programs natively on Linux or MacOS. APP_NAME := SystemClockTest -ARDUINO_LIBS := AUnit AceCommon AceRoutine AceTime AceTimeClock +ARDUINO_LIBS := AUnit AceCommon AceRoutine AceSorting AceTime AceTimeClock include ../../../EpoxyDuino/EpoxyDuino.mk