From 9e785438eecc3a0645e4d3b99d2708f3c2e329b6 Mon Sep 17 00:00:00 2001 From: Caleb Jamison Date: Tue, 18 Feb 2025 09:58:20 -0500 Subject: Inital rp23 ci tests Some tests need more work. * The adc test builds, but isn't set up correctly for the 2350 hardware yet. * The multicore and gpio_multicore tests only work from flash, seems to be a probe-rs issue. * The i2c and flash tests also only works from flash, these are probably bugs but I don't have time to run them down now. * The 2350 gpio test skips anything with pull downs. I think these fail because of E9. The float, bootsel, cyw43, and ethernet tests don't have 2350 equivalents. There's no reason to use the float romfuncs, use the FPU. Bootsel as a button isn't supported on the 2350 yet. The wifi and eth tests don't have appropriate hardware. The i2c test has also been tweaked to run on one core. --- ci.sh | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'ci.sh') diff --git a/ci.sh b/ci.sh index 149999d58..5e01805ef 100755 --- a/ci.sh +++ b/ci.sh @@ -291,7 +291,8 @@ cargo batch \ --- build --release --manifest-path tests/stm32/Cargo.toml --target thumbv6m-none-eabi --features stm32f091rc --artifact-dir out/tests/stm32f091rc \ --- build --release --manifest-path tests/stm32/Cargo.toml --target thumbv8m.main-none-eabihf --features stm32h503rb --artifact-dir out/tests/stm32h503rb \ --- build --release --manifest-path tests/stm32/Cargo.toml --target thumbv6m-none-eabi --features stm32u083rc --artifact-dir out/tests/stm32u083rc \ - --- build --release --manifest-path tests/rp/Cargo.toml --target thumbv6m-none-eabi --artifact-dir out/tests/rpi-pico \ + --- build --release --manifest-path tests/rp/Cargo.toml --target thumbv6m-none-eabi --features rp2040 --artifact-dir out/tests/rpi-pico \ + --- build --release --manifest-path tests/rp/Cargo.toml --target thumbv8m.main-none-eabihf --features rp235xb --artifact-dir out/tests/pimoroni-pico-plus-2 \ --- build --release --manifest-path tests/nrf/Cargo.toml --target thumbv6m-none-eabi --features nrf51422 --artifact-dir out/tests/nrf51422-dk \ --- build --release --manifest-path tests/nrf/Cargo.toml --target thumbv7em-none-eabi --features nrf52832 --artifact-dir out/tests/nrf52832-dk \ --- build --release --manifest-path tests/nrf/Cargo.toml --target thumbv7em-none-eabi --features nrf52833 --artifact-dir out/tests/nrf52833-dk \ @@ -319,6 +320,15 @@ rm out/tests/stm32f207zg/usart_rx_ringbuffered # doesn't work, gives "noise error", no idea why. usart_dma does pass. rm out/tests/stm32u5a5zj/usart +# probe-rs error: "multi-core ram flash start not implemented yet" +# As of 2025-02-17 these tests work when run from flash +rm out/tests/pimoroni-pico-plus-2/multicore +rm out/tests/pimoroni-pico-plus-2/gpio_multicore +# Doesn't work when run from ram on the 2350 +rm out/tests/pimoroni-pico-plus-2/flash +# This test passes locally but fails on the HIL, no idea why +rm out/tests/pimoroni-pico-plus-2/i2c + if [[ -z "${TELEPROBE_TOKEN-}" ]]; then echo No teleprobe token found, skipping running HIL tests exit -- cgit From 28e2789aeb4576fefae7acbd20c82dcffb92cf01 Mon Sep 17 00:00:00 2001 From: Caleb Jamison Date: Tue, 18 Feb 2025 22:17:49 -0500 Subject: Forgot to actually skip the adc test. It worked once, which is very surprising. --- ci.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ci.sh') diff --git a/ci.sh b/ci.sh index 5e01805ef..ae0a56032 100755 --- a/ci.sh +++ b/ci.sh @@ -328,6 +328,8 @@ rm out/tests/pimoroni-pico-plus-2/gpio_multicore rm out/tests/pimoroni-pico-plus-2/flash # This test passes locally but fails on the HIL, no idea why rm out/tests/pimoroni-pico-plus-2/i2c +# The pico2 plus doesn't have the adcs hooked up like the picoW does. +rm out/tests/pimoroni-pico-plus-2/adc if [[ -z "${TELEPROBE_TOKEN-}" ]]; then echo No teleprobe token found, skipping running HIL tests -- cgit