update hitl script

master
Robert Jördens 2021-05-13 11:21:41 +02:00
parent 401e1b0681
commit 32de5506ee
2 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,5 @@
[target.'cfg(all(target_arch = "arm", target_os = "none"))']
# runner = "probe-run --chip STM32H743ZITx --speed 30000"
runner = "gdb-multiarch -q -x openocd.gdb"
rustflags = [
"-C", "link-arg=-Tlink.x",

View File

@ -9,15 +9,16 @@
# Enable shell operating mode flags.
set -eux
trap "kill 0" EXIT
# Set up python for testing
python3 -m venv --system-site-packages py
. py/bin/activate
python3 -m pip install -r requirements.txt
cargo flash --elf target/thumbv7em-none-eabihf/release/dual-iir --chip STM32H743ZITx
probe-run --chip STM32H743ZITx target/thumbv7em-none-eabihf/release/dual-iir &
# Before attempting to ping the device, sleep to allow Stabilizer to boot.
# Sleep to allow flashing, booting, DHCP, MQTT
sleep 30
# Test pinging Stabilizer. This exercises that: