add JLink upload support for OSX
This commit is contained in:
parent
47c94bc10c
commit
f12bad6790
|
@ -0,0 +1,9 @@
|
|||
#!/bin/bash
|
||||
|
||||
echo erase > "$1".jlink
|
||||
echo loadbin "$1" , 0x8000000 >> "$1".jlink
|
||||
echo r >> "$1".jlink
|
||||
echo q >> "$1".jlink
|
||||
|
||||
/Applications/SEGGER/JLink/JLinkExe -device STM32F103C8 -if SWD -speed auto -CommanderScript "$1".jlink
|
||||
|
Loading…
Reference in New Issue