create helper scripts

This commit is contained in:
Travis Shears 2025-04-08 18:49:28 +02:00
parent 0f1d868f0f
commit 08fb2efc86
2 changed files with 9 additions and 0 deletions

6
flash.sh Executable file
View file

@ -0,0 +1,6 @@
#!/bin/sh
echo Flashing $1
echo ------------------------
openocd -f interface/cmsis-dap.cfg -f target/rp2040.cfg -c "adapter speed 5000" -c "program ${1}.elf verify reset exit"

3
screen.sh Executable file
View file

@ -0,0 +1,3 @@
#!/bin/sh
screen $(fd tty.usb /dev) 115200