From ff5cad9cd2a3d6c6618bf54e0b126ed9d68ef71a Mon Sep 17 00:00:00 2001 From: Nils Fitinghoff Date: Mon, 9 Oct 2023 16:55:55 +0200 Subject: rtic-sync: Add SPI bus sharing with arbiter --- rtic-sync/Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'rtic-sync/Cargo.toml') diff --git a/rtic-sync/Cargo.toml b/rtic-sync/Cargo.toml index 064b9fa..39f62dc 100644 --- a/rtic-sync/Cargo.toml +++ b/rtic-sync/Cargo.toml @@ -21,6 +21,9 @@ heapless = "0.7" critical-section = "1" rtic-common = { version = "1.0.0", path = "../rtic-common" } portable-atomic = { version = "1", default-features = false } +embedded-hal = { version = "1.0.0-rc.1", optional = true } +embedded-hal-async = { version = "1.0.0-rc.1", optional = true } +embedded-hal-bus = { version = "0.1.0-rc.1", optional = true, features = ["async"] } [dev-dependencies] tokio = { version = "1", features = ["rt", "macros", "time"] } @@ -29,3 +32,4 @@ tokio = { version = "1", features = ["rt", "macros", "time"] } [features] default = [] testing = ["critical-section/std", "rtic-common/testing"] +unstable = ["embedded-hal", "embedded-hal-async", "embedded-hal-bus"] -- cgit v1.2.3