diff options
Diffstat (limited to 'rtic-monotonics/Cargo.toml')
| -rw-r--r-- | rtic-monotonics/Cargo.toml | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/rtic-monotonics/Cargo.toml b/rtic-monotonics/Cargo.toml index 2e75bdb..0c942a2 100644 --- a/rtic-monotonics/Cargo.toml +++ b/rtic-monotonics/Cargo.toml @@ -17,18 +17,22 @@ license = "MIT OR Apache-2.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -cortex-m = { version = "0.7.6" } -embedded-hal-async = "0.2.0-alpha.0" -fugit = { version = "0.3.6", features = ["defmt"] } rtic-time = { version = "1.0.0-alpha.0", path = "../rtic-time" } +embedded-hal-async = "0.2.0-alpha.0" +fugit = { version = "0.3.6" } atomic-polyfill = "1" cfg-if = "1.0.0" +cortex-m = { version = "0.7.6", optional = true } rp2040-pac = { version = ">=0.2.0,<0.5", optional = true } [features] default = [] +defmt = ["fugit/defmt"] +# Systick on Cortex-M, default 1 kHz +cortex_m_systick = ["dep:cortex-m"] systick_100hz = [] systick_10khz = [] +# Timer peripheral on the RP2040 rp2040 = ["dep:rp2040-pac"] |
