stm32/tests: add stm32h755zi, stm32wb55rg
This commit is contained in:
parent
c1b4759935
commit
17c5dc496e
3 changed files with 9 additions and 1 deletions
4
ci.sh
4
ci.sh
|
@ -60,6 +60,8 @@ cargo batch \
|
|||
--- build --release --manifest-path tests/stm32/Cargo.toml --target thumbv7em-none-eabi --features stm32f429zi --out-dir out/tests/nucleo-stm32f429zi \
|
||||
--- build --release --manifest-path tests/stm32/Cargo.toml --target thumbv7em-none-eabi --features stm32g491re --out-dir out/tests/nucleo-stm32g491re \
|
||||
--- build --release --manifest-path tests/stm32/Cargo.toml --target thumbv6m-none-eabi --features stm32g071rb --out-dir out/tests/nucleo-stm32g071rb \
|
||||
--- build --release --manifest-path tests/stm32/Cargo.toml --target thumbv7em-none-eabi --features stm32h755zi --out-dir out/tests/nucleo-stm32h755zi \
|
||||
--- build --release --manifest-path tests/stm32/Cargo.toml --target thumbv7em-none-eabi --features stm32wb55rg --out-dir out/tests/nucleo-stm32wb55rg \
|
||||
|
||||
|
||||
function run_elf {
|
||||
|
@ -87,7 +89,7 @@ if [[ -z "${TELEPROBE_TOKEN-}" ]]; then
|
|||
fi
|
||||
|
||||
for board in $(ls out/tests); do
|
||||
echo Running tests fo board: $board
|
||||
echo Running tests for board: $board
|
||||
for elf in $(ls out/tests/$board); do
|
||||
run_elf $board out/tests/$board/$elf
|
||||
done
|
||||
|
|
|
@ -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"] }
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue