-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
6: add support for extending the cycle counter to u64 r=korken89 a=jordens This enables tracking time intervals of more than a couple seconds on modern processors. Tested on hardware (stm32h743, 400 MHz, https://github.com/quartiq/stabilizer) with spawn across overflows. Co-authored-by: Robert Jördens <[email protected]>
- Loading branch information
Showing
3 changed files
with
115 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ version = "1.0.0" | |
authors = [ | ||
"The Real-Time Interrupt-driven Concurrency developers", | ||
"Emil Fresk <[email protected]>", | ||
"Robert Jördens <[email protected]>", | ||
] | ||
categories = ["concurrency", "embedded", "no-std"] | ||
description = "RTIC Monotonic implemenation based on Systick and DWT" | ||
|
@@ -15,9 +16,13 @@ edition = "2021" | |
[lib] | ||
name = "dwt_systick_monotonic" | ||
|
||
[features] | ||
extend = [] | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
cortex-m = "0.7" | ||
cortex-m = "0.7.4" | ||
rtic-monotonic = "1.0.0" | ||
fugit = "0.3.0" | ||
cfg-if = "1.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters