rtic-monotonics: Add 64-bit SysTick monotonic

Counting at 1 kHz, 32 bits for counting ticks is not enough to ensure
monotonicity for more than 50 days. Add a feature to change the backing
storage to 64 bits.
This commit is contained in:
Nils Fitinghoff 2023-08-24 16:29:20 +02:00 committed by Emil Fresk
parent 609f14b1e4
commit 4ea73021d6
4 changed files with 36 additions and 7 deletions

View file

@ -48,6 +48,8 @@ defmt = ["fugit/defmt"]
cortex-m-systick = ["dep:cortex-m"]
systick-100hz = []
systick-10khz = []
# Use 64-bit wide backing storage for the Instant
systick-64bit = []
# Timer peripheral on the RP2040
rp2040 = ["dep:cortex-m", "dep:rp2040-pac"]