aboutsummaryrefslogtreecommitdiff
path: root/rtic-monotonics/Cargo.toml
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2023-03-04 21:10:24 +0000
committerGitHub <noreply@github.com>2023-03-04 21:10:24 +0000
commit7c7d6558f6d9c50fbb4d2487c98c9a5be15f2f7b (patch)
tree80a47f0dc40059014e9448c4c2eb34c54dff45fe /rtic-monotonics/Cargo.toml
parent1c5db277e4161470136dbd2a11e914ff1d383581 (diff)
parent98c5490d94950608d31cd5ad9dd260f2f853735c (diff)
Merge #694
694: RTIC 2 r=AfoHT a=korken89 Co-authored-by: Emil Fresk <emil.fresk@gmail.com> Co-authored-by: Per Lindgren <per.lindgren@ltu.se>
Diffstat (limited to 'rtic-monotonics/Cargo.toml')
-rw-r--r--rtic-monotonics/Cargo.toml38
1 files changed, 38 insertions, 0 deletions
diff --git a/rtic-monotonics/Cargo.toml b/rtic-monotonics/Cargo.toml
new file mode 100644
index 0000000..c961c05
--- /dev/null
+++ b/rtic-monotonics/Cargo.toml
@@ -0,0 +1,38 @@
+[package]
+name = "rtic-monotonics"
+version = "1.0.0-alpha.0"
+
+edition = "2021"
+authors = [
+ "The Real-Time Interrupt-driven Concurrency developers",
+ "Emil Fresk <emil.fresk@gmail.com>",
+ "Henrik Tjäder <henrik@tjaders.com>",
+ "Jorge Aparicio <jorge@japaric.io>",
+ "Per Lindgren <per.lindgren@ltu.se>",
+]
+categories = ["concurrency", "embedded", "no-std", "asynchronous"]
+description = "rtic-monotonics lib TODO"
+license = "MIT OR Apache-2.0"
+
+# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
+
+[dependencies]
+rtic-time = { version = "1.0.0-alpha.0", path = "../rtic-time" }
+embedded-hal-async = { version = "0.2.0-alpha.0", optional = true }
+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"]