add missing scripts to repo

This commit is contained in:
colin 2022-06-28 03:34:05 -07:00
parent 0856c92771
commit 6337c8a2ff
3 changed files with 12 additions and 0 deletions

5
scripts/0-listen-for-serial Executable file
View File

@ -0,0 +1,5 @@
#!/bin/sh
set -ex
# Capture serial output
cd /tmp
touch itm.txt && itmdump -F -f itm.txt

7
scripts/1-openocd Executable file
View File

@ -0,0 +1,7 @@
#!/bin/sh
set -ex
# Flashing requires openocd to be listening for connections
cd /tmp
openocd -f interface/stlink-v2-1.cfg -f target/stm32f3x.cfg
# then in a different tab, just `cargo run`

BIN
scripts/itm-2.wav Normal file

Binary file not shown.