diff --git a/CHANGELOG.md b/CHANGELOG.md index c9343c973..911c0f035 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ # Changelog * Unreleased +* 1.10.0 (2022-01-18, TZDB 2021e) * MemoryBenchmark: Add memory consumption for `ZoneSorterByName` and `ZoneSorterByOffsetAndName`. * AVR: 180-530 bytes of flash diff --git a/README.md b/README.md index 9ce791417..35ad95322 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ This library can be an alternative to the Arduino Time (https://github.com/PaulStoffregen/Time) and Arduino Timezone (https://github.com/JChristensen/Timezone) libraries. -**Version**: 1.9.0 (2021-12-02, TZDB version 2021e) +**Version**: 1.10.0 (2022-01-18, TZDB version 2021e) **Changelog**: [CHANGELOG.md](CHANGELOG.md) diff --git a/USER_GUIDE.md b/USER_GUIDE.md index 701722e76..f9ca1e061 100644 --- a/USER_GUIDE.md +++ b/USER_GUIDE.md @@ -4,7 +4,7 @@ The primary purpose of AceTime classes is to convert between an integer representing the number of seconds since the AceTime Epoch (2000-01-01T00:00:00 UTC) and the equivalent human-readable components in different timezones. -**Version**: 1.9.0 (2021-12-02, TZDB 2021e) +**Version**: 1.10.0 (2021-01-18, TZDB 2021e) **Related Documents**: diff --git a/docs/doxygen.cfg b/docs/doxygen.cfg index 80bd87171..b4736ec14 100644 --- a/docs/doxygen.cfg +++ b/docs/doxygen.cfg @@ -38,7 +38,7 @@ PROJECT_NAME = "AceTime" # could be handy for archiving the generated documentation or if some version # control system is used. -PROJECT_NUMBER = 1.9.0 +PROJECT_NUMBER = 1.10.0 # 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/examples/AutoBenchmark/README.md b/examples/AutoBenchmark/README.md index 0698eb7f7..ede7e6317 100644 --- a/examples/AutoBenchmark/README.md +++ b/examples/AutoBenchmark/README.md @@ -4,7 +4,7 @@ Here are the results from `AutoBenchmark.ino` for various boards. These results show that integer division and modulus operations are incredibly slow on 8-bit AVR processors. -**Version**: AceTime v1.9.0 +**Version**: AceTime v1.10.0 **NOTE**: This file was auto-generated using `make README.md`. DO NOT EDIT. @@ -113,7 +113,7 @@ In v1.9.0: * Saves 1100-1300 of flash on AVR. * No signficant changes to CPU performance. -In v1.9.0+: +In v1.10.0: * Remove support for SAMD21 boards. * Arduino IDE 1.8.19 with SparkFun SAMD 1.8.6 can no longer upload binaries to these boards. Something about bossac 1.7.0 not found. diff --git a/examples/AutoBenchmark/generate_readme.py b/examples/AutoBenchmark/generate_readme.py index 60e8e576c..964adc556 100755 --- a/examples/AutoBenchmark/generate_readme.py +++ b/examples/AutoBenchmark/generate_readme.py @@ -26,7 +26,7 @@ These results show that integer division and modulus operations are incredibly slow on 8-bit AVR processors. -**Version**: AceTime v1.9.0 +**Version**: AceTime v1.10.0 **NOTE**: This file was auto-generated using `make README.md`. DO NOT EDIT. @@ -135,7 +135,7 @@ * Saves 1100-1300 of flash on AVR. * No signficant changes to CPU performance. -In v1.9.0+: +In v1.10.0: * Remove support for SAMD21 boards. * Arduino IDE 1.8.19 with SparkFun SAMD 1.8.6 can no longer upload binaries to these boards. Something about bossac 1.7.0 not found. diff --git a/examples/MemoryBenchmark/README.md b/examples/MemoryBenchmark/README.md index 90cbe9c60..9a8d47f7f 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**: AceTime v1.9.0 +**Version**: AceTime v1.10.0 **DO NOT EDIT**: This file was auto-generated using `make README.md`. @@ -134,7 +134,7 @@ In v1.9.0: of `getHighWater()` with `getAllocSize()`. Only 4-8 bytes increase on 32-bit processors. -In v1.9.0+: +In v1.10.0: * Remove support for SAMD21 boards. * Arduino IDE 1.8.19 with SparkFun SAMD 1.8.6 can no longer upload binaries to these boards. Something about bossac 1.7.0 not found. diff --git a/examples/MemoryBenchmark/generate_readme.py b/examples/MemoryBenchmark/generate_readme.py index 40154a39f..00f739f30 100755 --- a/examples/MemoryBenchmark/generate_readme.py +++ b/examples/MemoryBenchmark/generate_readme.py @@ -27,7 +27,7 @@ the baseline, and its memory usage numbers are subtracted from the subsequent `FEATURE_*` memory usage. -**Version**: AceTime v1.9.0 +**Version**: AceTime v1.10.0 **DO NOT EDIT**: This file was auto-generated using `make README.md`. @@ -156,7 +156,7 @@ of `getHighWater()` with `getAllocSize()`. Only 4-8 bytes increase on 32-bit processors. -In v1.9.0+: +In v1.10.0: * Remove support for SAMD21 boards. * Arduino IDE 1.8.19 with SparkFun SAMD 1.8.6 can no longer upload binaries to these boards. Something about bossac 1.7.0 not found. diff --git a/library.properties b/library.properties index 0670b5592..faecb5bc2 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=AceTime -version=1.9.0 +version=1.10.0 author=Brian T. Park maintainer=Brian T. Park sentence=Date, time, timezone classes for Arduino supporting the full IANA TZ Database to convert epoch seconds to date and time components in different time zones. diff --git a/src/AceTime.h b/src/AceTime.h index ce77b1b11..fa81dfb8c 100644 --- a/src/AceTime.h +++ b/src/AceTime.h @@ -20,13 +20,7 @@ // Blacklist boards using new Arduino API due to incompatibilities. This // currently includes all megaAVR boards and SAMD21 boards using arduino::samd // >= 1.8.10. Boards using arduino:samd <= 1.8.9 or SparkFun:samd are fine. -#if defined(ARDUINO_ARCH_MEGAAVR) -#error MegaAVR not supported, https://github.com/bxparks/AceTime/issues/44 - -#elif defined(ARDUINO_ARCH_SAMD) && defined(ARDUINO_API_VERSION) -#error SAMD21 with arduino:samd >= 1.8.10 not supported, https://github.com/bxparks/AceTime/issues/45 - -#elif defined(ARDUINO_API_VERSION) +#if defined(ARDUINO_API_VERSION) #error Platforms using ArduinoCore-API not supported #endif @@ -69,7 +63,7 @@ #include "ace_time/time_period_mutation.h" // Version format: xxyyzz == "xx.yy.zz" -#define ACE_TIME_VERSION 10900 -#define ACE_TIME_VERSION_STRING "1.9.0" +#define ACE_TIME_VERSION 11000 +#define ACE_TIME_VERSION_STRING "1.10.0" #endif