aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorJorge Aparicio <jorge@japaric.io>2017-07-27 11:37:58 -0500
committerJorge Aparicio <jorge@japaric.io>2017-07-27 11:37:58 -0500
commit0b5afce771cb9e5cc42c4fd4c5e18f020bf1ecad (patch)
treeaffdb231beeb7c823a36197c780c3cd740a7e0c2 /Cargo.toml
parentdee2fcde716a2dbb1404caa4e0f8f4ce11c472c8 (diff)
refactor Resource / Threshold into its own crate, drop task!, tweak rtfm::atomic
task! can be re-added in a backward compatible fashion and I'd like to not have two ways to assign a task handler to an interrupt / exception in the first release. rtfm::atomic now uses the `Threshold` token instead of the `CriticalSection` token. This reduces overhead by dropping the "are interrupts enabled?" check.
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml1
1 files changed, 1 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 392538b..8ce7bdb 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -15,6 +15,7 @@ version = "0.2.0"
[dependencies]
cortex-m = "0.3.1"
static-ref = "0.2.1"
+rtfm-core = { git = "https://github.com/japaric/rtfm-core" }
[dependencies.cortex-m-rtfm-macros]
path = "macros"