create helper scripts
This commit is contained in:
parent
0f1d868f0f
commit
08fb2efc86
2 changed files with 9 additions and 0 deletions
6
flash.sh
Executable file
6
flash.sh
Executable 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
3
screen.sh
Executable file
|
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
screen $(fd tty.usb /dev) 115200
|
||||||
Loading…
Add table
Add a link
Reference in a new issue