Skip to content

Commit

Permalink
i forgot the new files
Browse files Browse the repository at this point in the history
  • Loading branch information
Sheepy3 committed Mar 20, 2024
1 parent c155fad commit 547a784
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
10 changes: 10 additions & 0 deletions scripts/gardenshed/gdb-client.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash
a=`uname`
if [[ "$a" == "Linux" ]]; then
/usr/bin/gdb-multiarch -ex 'target remote :3333' ./spade.elf
else
/opt/homebrew/bin/arm-none-eabi-gdb -ex 'target remote :3333' ./spade.elf
fi



3 changes: 3 additions & 0 deletions scripts/gardenshed/gdb-server.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

sudo openocd -f interface/cmsis-dap.cfg -f target/rp2040.cfg -c "adapter speed 5000" -c "program ./spade.elf verify reset"

0 comments on commit 547a784

Please sign in to comment.