Skip to content

Commit

Permalink
[µTVM]: Zephyr: Add mps2_an521 board to the CI (apache#7914)
Browse files Browse the repository at this point in the history
Since Arm reference board mps2_an521 is now added as a test platform to
test µTVM with Zephyr and that test platform runs by default emulated,
plus Zephyr docker images were updated to use Zephyr v2.5-branch, add
the mps2_an521 board as a platform to be automatically used by the CI.

That change will allow testing µTVM on top of Zephyr running on a
Cortex-m33 MCU. Currently only a x86 VM is used for that kind of test.
Hence it will help ensure that there is no regression on Arm-based MCUs.

That commit also adds explicitly the parameter --microtvm-platforms=host
to the current x86 test for ease of reading on which test platforms are
triggered in the CI ('host' is the default platform when that parameter
is ommited, so nothing changes for tests on the x86 VM).

Signed-off-by: Gustavo Romero <gustavo.romero@linaro.org>
  • Loading branch information
gromero authored and Trevor Morris committed May 6, 2021
1 parent 16126e0 commit d496adc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/scripts/task_python_microtvm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@ set -x # NOTE(areusch): Adding to diagnose flaky timeouts
source tests/scripts/setup-pytest-env.sh

make cython3
run_pytest ctypes python-microtvm-zephyr tests/micro/zephyr
run_pytest ctypes python-microtvm-zephyr tests/micro/zephyr --microtvm-platforms=host
run_pytest ctypes python-microtvm-zephyr tests/micro/zephyr --microtvm-platforms=mps2_an521

0 comments on commit d496adc

Please sign in to comment.