STM32GENERIC/tools/macosx/stlink_upload

5 lines
105 B
Plaintext
Raw Normal View History

2017-04-09 21:53:07 -07:00
#!/bin/bash
$(dirname $0)/stlink/st-flash write "$4" 0x8000000
"$(dirname $0)/wait_for_serial" /dev/$1