From 99bd39f71061bb345d6163d830b07a29895a68cc Mon Sep 17 00:00:00 2001 From: Daniel Schaefer Date: Tue, 29 Aug 2023 08:17:41 +0800 Subject: [PATCH] Done5: Working with upstream dependencies Signed-off-by: Daniel Schaefer --- Cargo.toml | 7 +++---- src/lib.rs | 1 + 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 96af667..efcabf5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,10 +9,9 @@ repository = "https://github.com/rp-rs/ws2812-pio-rs/" [dependencies] embedded-hal = "1.0.0-alpha.11" -fugit = "0.3.5" #0.3.7 -#rp2040-hal = { git = "https://github.com/rp-rs/rp-hal", branch = "main", features = [ "eh1_0_alpha", ] } -rp2040-hal = { path = "/home/zoid/clone/rp2040/rp-hal/rp2040-hal", features = [ "eh1_0_alpha" ] } +fugit = "0.3.7" +rp2040-hal = { git = "https://github.com/rp-rs/rp-hal", branch = "main", features = [ "eh1_0_alpha", ] } pio = "0.2.1" smart-leds-trait = "0.2.1" nb = "1.1.0" -cortex-m = "0.7.3" +cortex-m = "0.7.7" diff --git a/src/lib.rs b/src/lib.rs index 158c23e..8985ba8 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -13,6 +13,7 @@ //! Bear in mind that you will have to take care of timing requirements //! yourself then. +use cortex_m::prelude::_embedded_hal_timer_CountDown; use fugit::{ExtU32, HertzU32}; use rp2040_hal::{ gpio::{Function, Pin, PinId, *},