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/stm32f1/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/stm32f1') diff --git a/examples/stm32f1/Cargo.toml b/examples/stm32f1/Cargo.toml index 765e91b5..44673104 100644 --- a/examples/stm32f1/Cargo.toml +++ b/examples/stm32f1/Cargo.toml @@ -8,7 +8,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", "stm32f103c8", "unstable-pac", "memory-x", "time-driver-tim2"] } +embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["defmt", "stm32f103c8", "unstable-pac", "memory-x", "time-driver-any"] } defmt = "0.3" defmt-rtt = "0.3" -- cgit debian/1.2.3+git2.25.1-1-2-gaceb0