aboutsummaryrefslogtreecommitdiff
path: root/rtic-monotonics/Cargo.toml
diff options
context:
space:
mode:
authorNils Fitinghoff <nils.fitinghoff@mobilaris.se>2023-08-24 16:29:20 +0200
committerEmil Fresk <emil.fresk@gmail.com>2023-08-25 15:16:18 +0000
commit4ea73021d62bda15ce9a7b36123e4a237c8e4255 (patch)
tree69249b8e623460da9eddfad25ce50271476c92e5 /rtic-monotonics/Cargo.toml
parent609f14b1e4f169eb639025a5edefbb64afebf816 (diff)
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.
Diffstat (limited to 'rtic-monotonics/Cargo.toml')
-rw-r--r--rtic-monotonics/Cargo.toml2
1 files changed, 2 insertions, 0 deletions
diff --git a/rtic-monotonics/Cargo.toml b/rtic-monotonics/Cargo.toml
index b88b088..de94d3f 100644
--- a/rtic-monotonics/Cargo.toml
+++ b/rtic-monotonics/Cargo.toml
@@ -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"]