Skip to content

Commit 82de1c3

Browse files
committed
add upload script
1 parent 432d901 commit 82de1c3

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
docs
88
*.md5
99

10-
build
10+
build/*
11+
!build/upload.sh
1112
*.uf2
1213

1314
# Prerequisites

build/upload.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash
2+
3+
sudo openocd -f interface/picoprobe.cfg -f target/rp2040.cfg -c "program examples/$1.elf verify reset exit"

0 commit comments

Comments
 (0)