Skip to content

Commit 5d4cbff

Browse files
Merge pull request #337 from janchrillesen/master
Add JLink upload support for OSX
2 parents 47c94bc + f12bad6 commit 5d4cbff

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tools/macosx/jlink_upload

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/bash
2+
3+
echo erase > "$1".jlink
4+
echo loadbin "$1" , 0x8000000 >> "$1".jlink
5+
echo r >> "$1".jlink
6+
echo q >> "$1".jlink
7+
8+
/Applications/SEGGER/JLink/JLinkExe -device STM32F103C8 -if SWD -speed auto -CommanderScript "$1".jlink
9+

0 commit comments

Comments
 (0)