aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2022-05-31 21:55:40 +0000
committerGitHub <[email protected]>2022-05-31 21:55:40 +0000
commit0adb4c926b15f9773fb83497a7bf1eb3789286da (patch)
treee94f12eea8a64a3dd22eaef7400f02714ea2fb59 /tests
parenta0d43c863dd9859e94e5d202d5b5bb6b107f152c (diff)
parent108967417562cf398ba264295014d9e18f2c0707 (diff)
Merge #784
784: stm32: make tick rate configurable r=Dirbaio a=willglynn The stm32 time drivers support arbitrary tick rates but the associated Cargo features do not. Enabling any time driver presently enables `embassy/time-tick-32768hz`; instead, enable only `embassy/time`. Additionally, `embassy/time` now functions in the absence of any `embassy/time-tick-*` feature, defaulting to 32768 Hz if left unspecified. Co-authored-by: Will Glynn <[email protected]> Co-authored-by: Dario Nieuwenhuis <[email protected]>
Diffstat (limited to 'tests')
-rw-r--r--tests/stm32/Cargo.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/stm32/Cargo.toml b/tests/stm32/Cargo.toml
index 4dd243754..ad6403ab3 100644
--- a/tests/stm32/Cargo.toml
+++ b/tests/stm32/Cargo.toml
@@ -15,7 +15,7 @@ stm32wb55rg = ["embassy-stm32/stm32wb55rg"] # Nucleo
15stm32u585ai = ["embassy-stm32/stm32u585ai"] # IoT board 15stm32u585ai = ["embassy-stm32/stm32u585ai"] # IoT board
16 16
17[dependencies] 17[dependencies]
18embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt"] } 18embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "time-tick-32768hz"] }
19embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["nightly", "defmt", "unstable-pac", "memory-x", "time-driver-tim2"] } 19embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["nightly", "defmt", "unstable-pac", "memory-x", "time-driver-tim2"] }
20 20
21defmt = "0.3.0" 21defmt = "0.3.0"