Skip to content

Commit 0fab5b8

Browse files
authored
Merge pull request #68 from bxparks/develop
merge v1.7.3 into master
2 parents 27a4053 + 90cf296 commit 0fab5b8

File tree

480 files changed

+2146
-1360
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

480 files changed

+2146
-1360
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
# Changelog
22

33
* Unreleased
4+
* 1.7.3 (2021-08-25)
5+
* Fix numerous broken links in documents moved to `docs/*.md` in an earlier
6+
refactoring.
7+
* Add experimental `DS3231Module` class that uses `AceWire` library.
8+
* This is a maintenance release before some major refactoring. No changes to
9+
core library code.
410
* 1.7.2 (2021-06-02)
511
* **Bug Fix**: Add `ZonedDateTime::normalize()`, which must be called by
612
the client code after calling a `ZonedDateTime` mutation function.

README.md

Lines changed: 30 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@
44
[![Python Tools](https://github.com/bxparks/AceTime/actions/workflows/python_tools.yml/badge.svg)](https://github.com/bxparks/AceTime/actions/workflows/python_tools.yml)
55
[![Validation Tests](https://github.com/bxparks/AceTime/actions/workflows/validation.yml/badge.svg)](https://github.com/bxparks/AceTime/actions/workflows/validation.yml)
66

7-
**New**: [GitHub Discussions](https://github.com/bxparks/AceTime/discussions)
8-
for this project is now active! Let's use that for general support questions,
9-
and reserve the [GitHub Issues](https://github.com/bxparks/AceTime/issues)
10-
section for bugs and feature requests.
11-
127
The AceTime library provides Date, Time, and TimeZone classes which can convert
138
"epoch seconds" to human-readable local date and time fields. Those classes can
149
also convert local date and time between different time zones, properly
@@ -40,7 +35,7 @@ This library can be an alternative to the Arduino Time
4035
(https://github.com/PaulStoffregen/Time) and Arduino Timezone
4136
(https://github.com/JChristensen/Timezone) libraries.
4237

43-
**Version**: 1.7.2 (2021-06-02, TZ DB version 2021a)
38+
**Version**: 1.7.3 (2021-08-25, TZ DB version 2021a)
4439

4540
**Changelog**: [CHANGELOG.md](CHANGELOG.md)
4641

@@ -63,13 +58,7 @@ installation instructions.
6358
* [HelloSystemClock](#HelloSystemClock)
6459
* [WorldClock](#WorldClock)
6560
* [Installation](#Installation)
66-
* [User Guides](#UserGuides)
67-
* [docs/date_time_timezone.md](docs/date_time_timezone.md)
68-
* [docs/clock_system_clock.md](docs/clock_system_clock.md)
69-
* [Doxygen docs](https://bxparks.github.io/AceTime/html) hosted on GitHub
70-
Pages
71-
* [Benchmarks](#Benchmarks)
72-
* [Comparisons to other Libraries](#Comparisons)
61+
* [Documentation](#Documentation)
7362
* [System Requirements](#SystemRequirements)
7463
* [Hardware](#Hardware)
7564
* [Tool Chain](#ToolChain)
@@ -558,13 +547,13 @@ for all 3 zones:
558547

559548
See [docs/installation.md](docs/installation.md).
560549

561-
<a name="UserGuides"></a>
562-
## User Guides
550+
<a name="Documentation"></a>
551+
## Documentation
563552

564553
* [README.md](README.md)
565554
* this file
566555
* Date, Time and TimeZones
567-
([docs/date_time_timezone.md](docs/date_time_timezone.md))
556+
* See [docs/date_time_timezone.md](docs/date_time_timezone.md)
568557
* Date and Time classes
569558
* TimeZone classes
570559
* ZoneInfo Database
@@ -573,31 +562,26 @@ See [docs/installation.md](docs/installation.md).
573562
* Motivation and Design Considerations
574563
* Bugs and Limitations
575564
* Clocks and SystemClocks
576-
([docs/clock_system_clock.md](docs/clock_system_clock.md))
577-
* Clock
565+
* See [docs/clock_system_clock.md](docs/clock_system_clock.md))
578566
* NTP Clock, DS3231 Clock, STM32 RTC Clock, STM32F1 Clock
579567
* SystemClock, SystemClockLoop, SystemClockCoroutine
580-
* [Doxygen docs](https://bxparks.github.io/AceTime/html) hosted on GitHub Pages
581-
582-
<a name="Benchmarks"></a>
583-
## Benchmarks
584-
585-
See [docs/benchmarks.md](docs/benchmarks.md) for CPU and memory usage
586-
benchmarks.
587-
588-
<a name="Comparisons"></a>
589-
## Comparisons to Other Libraries
590-
591-
See [docs/comparisons.md](docs/comparisons.md) for comparisons to other date,
592-
time and timezone libraries.
568+
* Doxygen docs
569+
* See [Doxygen docs](https://bxparks.github.io/AceTime/html) hosted on
570+
GitHub Pages
571+
* Benchmarks
572+
* See [docs/benchmarks.md](docs/benchmarks.md) for CPU and memory usage
573+
benchmarks
574+
* Comparisons to Other Libraries
575+
* See [docs/comparisons.md](docs/comparisons.md) for comparisons to other
576+
date, time and timezone libraries
593577

594578
<a name="SystemRequirements"></a>
595579
## System Requirements
596580

597581
<a name="Hardware"></a>
598582
### Hardware
599583

600-
The library is tested on the following boards:
584+
This library has Tier 1 support on the following boards:
601585

602586
* Arduino Nano clone (16 MHz ATmega328P)
603587
* SparkFun Pro Micro clone (16 MHz ATmega32U4)
@@ -608,15 +592,22 @@ The library is tested on the following boards:
608592
* ESP32 dev board (ESP-WROOM-32 module, 240 MHz dual core Tensilica LX6)
609593
* Teensy 3.2 (96 MHz ARM Cortex-M4)
610594

611-
I will occasionally test on the following hardware as a sanity check:
595+
Tier 2 support can be expected on the following boards, mostly because I don't
596+
test these as often:
612597

598+
* ATtiny85 (8 MHz ATtiny85)
599+
* Arduino Pro Mini (16 MHz ATmega328P)
613600
* Mini Mega 2560 (Arduino Mega 2560 compatible, 16 MHz ATmega2560)
614601
* Teensy LC (48 MHz ARM Cortex-M0+)
615602

616603
The following boards are *not* supported:
617604

618-
* megaAVR (e.g. Nano Every)
619-
* SAMD21 boards w/ `arduino:samd` version >= 1.8.10 (e.g. MKRZero)
605+
* Any platform using the ArduinoCore-API
606+
(https://github.com/arduino/ArduinoCore-api), such as:
607+
* megaAVR (e.g. Nano Every)
608+
* SAMD21 boards w/ `arduino:samd` version >= 1.8.10 (e.g. MKRZero)
609+
* MKRZero
610+
* Raspberry Pi Pic RP2040
620611

621612
<a name="ToolChain"></a>
622613
### Tool Chain
@@ -625,13 +616,14 @@ This library was developed and tested using:
625616

626617
* [Arduino IDE 1.8.13](https://www.arduino.cc/en/Main/Software)
627618
* [Arduino CLI 0.14.0](https://arduino.github.io/arduino-cli)
619+
* [SpenceKonde ATTinyCore 1.5.2](https://github.com/SpenceKonde/ATTinyCore)
628620
* [Arduino AVR Boards 1.8.3](https://github.com/arduino/ArduinoCore-avr)
629621
* [Arduino SAMD Boards 1.8.9](https://github.com/arduino/ArduinoCore-samd)
630622
* [SparkFun AVR Boards 1.1.13](https://github.com/sparkfun/Arduino_Boards)
631-
* [SparkFun SAMD Boards 1.8.1](https://github.com/sparkfun/Arduino_Boards)
632-
* [STM32duino 1.9.0](https://github.com/stm32duino/Arduino_Core_STM32)
623+
* [SparkFun SAMD Boards 1.8.3](https://github.com/sparkfun/Arduino_Boards)
624+
* [STM32duino 2.0.0](https://github.com/stm32duino/Arduino_Core_STM32)
633625
* [ESP8266 Arduino 2.7.4](https://github.com/esp8266/Arduino)
634-
* [ESP32 Arduino 1.0.4](https://github.com/espressif/arduino-esp32)
626+
* [ESP32 Arduino 1.0.6](https://github.com/espressif/arduino-esp32)
635627
* [Teensydino 1.53](https://www.pjrc.com/teensy/td_download.html)
636628

637629
This library is *not* compatible with:
@@ -660,10 +652,6 @@ them.
660652
<a name="FeedbackAndSupport"></a>
661653
## Feedback and Support
662654

663-
If you find this library useful, consider starring this project on GitHub. The
664-
stars will let me prioritize the more popular libraries over the less popular
665-
ones.
666-
667655
If you have any questions, comments and other support questions about how to
668656
use this library, please use the
669657
[GitHub Discussions](https://github.com/bxparks/AceTime/discussions)

docs/benchmarks.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<a name="CPU"></a>
44
## CPU
55

6-
The [AutoBenchmark.ino](examples/AutoBenchmark/) program measures the
6+
The [AutoBenchmark.ino](../examples/AutoBenchmark/) program measures the
77
amount of CPU cycles taken by some of the more expensive methods. Here is a
88
summary of the elapsed time for the `ZonedDateTime::forEpochSeconds()` method
99
using a `BasicZoneManager` that already has its cache populated for the given
@@ -25,7 +25,7 @@ Teensy 3.2 96 MHz | 6.4 |
2525
## Memory
2626

2727
Here is a quick summary of the amount of static RAM consumed by various
28-
classes (more details at [examples/AutoBenchmark](examples/AutoBenchmark):
28+
classes (more details at [examples/AutoBenchmark](../examples/AutoBenchmark):
2929

3030
**8-bit processors**
3131

@@ -66,7 +66,7 @@ sizeof(SystemClockLoop): 56
6666
sizeof(SystemClockCoroutine): 80
6767
```
6868

69-
The [MemoryBenchmark](examples/MemoryBenchmark) program gives a more
69+
The [MemoryBenchmark](../examples/MemoryBenchmark) program gives a more
7070
comprehensive answer to the amount of memory taken by this library.
7171
Here is a short summary for an 8-bit microcontroller (e.g. Arduino Nano):
7272

docs/clock_system_clock.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ sense for these classes to be in a separate library because the other parts of
1212
AceTime library are not dependent of the Clock classes. But for now, these
1313
classes live within the AceTime library.
1414

15-
**Version**: 1.7.2 (2021-06-02, TZ DB version 2021a)
15+
**Version**: 1.7.3 (2021-08-25, TZ DB version 2021a)
1616

1717
## Table of Contents
1818

@@ -39,9 +39,9 @@ classes live within the AceTime library.
3939

4040
**Related Documents**:
4141

42-
* [README.md](README.md): introductory background.
43-
* [docs/installation.md](docs/installation.md): how to install the library
44-
* [docs/date_time_timezone.md](docs/date_time_timezone.md): the
42+
* [README.md](../README.md): introductory background.
43+
* [docs/installation.md](../docs/installation.md): how to install the library
44+
* [docs/date_time_timezone.md](../docs/date_time_timezone.md): the
4545
Date, Time and TimeZone classes
4646
* [Doxygen docs](https://bxparks.github.io/AceTime/html) hosted on GitHub Pages
4747

docs/comparisons.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@
1515

1616
The AceTime library can be substantially faster than the equivalent methods in
1717
the [Arduino Time Library](https://github.com/PaulStoffregen/Time). The
18-
[ComparisonBenchmark.ino](examples/ComparisonBenchmark/) program compares the
18+
[ComparisonBenchmark.ino](../examples/ComparisonBenchmark/) program compares the
1919
CPU run time of `LocalDateTime::forEpochSeconds()` and
2020
`LocalDateTime::toEpochSeconds()` with the equivalent `breakTime()` and
2121
`makeTime()` functions of the Arduino Time Library. Details are given in the
22-
[ComparisonBenchmark/README.md](examples/ComparisonBenchmark/README.md) file in
23-
that folder, but here is a summary of the roundtrip times for various boards (in
24-
microseconds):
22+
[ComparisonBenchmark/README.md](../examples/ComparisonBenchmark/README.md) file
23+
in that folder, but here is a summary of the roundtrip times for various boards
24+
(in microseconds):
2525

2626
```
2727
----------------------------+---------+----------+
@@ -141,9 +141,9 @@ environment because:
141141
library.
142142

143143
The Hinnant date libraries were invaluable for writing the
144-
[BasicHinnantDateTest](tests/validation/BasicHinnantDateTest/)
144+
[BasicHinnantDateTest](../tests/validation/BasicHinnantDateTest/)
145145
and
146-
[ExtendedHinnantDateTest](tests/validation/ExtendedHinnantDateTest/)
146+
[ExtendedHinnantDateTest](../tests/validation/ExtendedHinnantDateTest/)
147147
validation tests which compare the AceTime algorithms to the Hinnant Date
148148
algorithms. For all times zones between the years 2000 until 2050, the AceTime
149149
UTC offsets (`TimeZone::getUtcOffset()`), timezone abbreviations

0 commit comments

Comments
 (0)