From 0b5afce771cb9e5cc42c4fd4c5e18f020bf1ecad Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Thu, 27 Jul 2017 11:37:58 -0500 Subject: 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. --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'Cargo.toml') 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" -- cgit v1.2.3