aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml42
1 files changed, 42 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 98bed66..2b3528b 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -18,6 +18,38 @@ version = "0.6.0-alpha.0"
[lib]
name = "rtic"
+[[example]]
+name = "periodic"
+required-features = ["__v7"]
+
+[[example]]
+name = "pool"
+required-features = ["__v7"]
+
+[[example]]
+name = "schedule"
+required-features = ["__v7"]
+
+[[example]]
+name = "t-cfg"
+required-features = ["__v7"]
+
+[[example]]
+name = "t-cfg-resources"
+required-features = ["__min_r1_43"]
+
+[[example]]
+name = "t-schedule"
+required-features = ["__v7"]
+
+[[example]]
+name = "types"
+required-features = ["__v7"]
+
+[[example]]
+name = "double_schedule"
+required-features = ["__v7"]
+
[dependencies]
cortex-m = "0.7.0"
cortex-m-rtic-macros = { path = "macros", version = "0.6.0-alpha.0" }
@@ -27,6 +59,11 @@ rtic-monotonic = { git = "https://github.com/rtic-rs/rtic-monotonic", branch = "
heapless = "0.5.0"
bare-metal = "1.0.0"
+[dependencies.dwt-systick-monotonic]
+git = "https://github.com/rtic-rs/dwt-systick-monotonic"
+branch = "master"
+optional = true
+
[build-dependencies]
version_check = "0.9"
@@ -42,6 +79,11 @@ version = "0.5.2"
[target.x86_64-unknown-linux-gnu.dev-dependencies]
trybuild = "1"
+[features]
+# used for testing this crate; do not use in applications
+__v7 = ["dwt-systick-monotonic"]
+__min_r1_43 = []
+
[profile.release]
codegen-units = 1
lto = true