From 79f60adbfba41b4abec7b9d1444bf64e5423feaa Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Mon, 24 Jan 2022 00:24:23 +0100 Subject: stm32: add `time-driver-any` cargo feature that automatically picks one available timer. --- examples/stm32f4/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/stm32f4') diff --git a/examples/stm32f4/Cargo.toml b/examples/stm32f4/Cargo.toml index c75491081..070d17d48 100644 --- a/examples/stm32f4/Cargo.toml +++ b/examples/stm32f4/Cargo.toml @@ -9,7 +9,7 @@ resolver = "2" [dependencies] embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt"] } embassy-traits = { version = "0.1.0", path = "../../embassy-traits", features = ["defmt"] } -embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["defmt", "stm32f429zi", "unstable-pac", "memory-x", "time-driver-tim2", "exti"] } +embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["defmt", "stm32f429zi", "unstable-pac", "memory-x", "time-driver-any", "exti"] } defmt = "0.3" defmt-rtt = "0.3" -- cgit