stm32/tests: add stm32h755zi, stm32wb55rg

This commit is contained in:
Dario Nieuwenhuis
2021-12-07 01:24:26 +01:00
parent c1b4759935
commit 17c5dc496e
3 changed files with 9 additions and 1 deletions

View File

@ -9,6 +9,8 @@ resolver = "2"
stm32f429zi = ["embassy-stm32/stm32f429zi"]
stm32g071rb = ["embassy-stm32/stm32g071rb"]
stm32g491re = ["embassy-stm32/stm32g491re"]
stm32h755zi = ["embassy-stm32/stm32h755zi-cm7"]
stm32wb55rg = ["embassy-stm32/stm32wb55rg"]
[dependencies]
embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt"] }

View File

@ -23,6 +23,10 @@ async fn main(_spawner: Spawner, p: Peripherals) {
let (mut a, mut b) = (p.PC4, p.PC5);
#[cfg(feature = "stm32f429zi")]
let (mut a, mut b) = (p.PG14, p.PG9);
#[cfg(feature = "stm32wb55rg")]
let (mut a, mut b) = (p.PA3, p.PA2);
#[cfg(feature = "stm32h755zi")]
let (mut a, mut b) = (p.PB6, p.PB7);
// Test initial output
{