Use 64 bit version of st-flash on linux
This commit is contained in:
parent
a2b33aa10f
commit
c5b7f502f2
|
@ -1,5 +1,9 @@
|
|||
#!/bin/bash
|
||||
if [ `uname -m` == "x86_64" ]; then
|
||||
$(dirname $0)/../linux64/stlink/st-flash write "$4" 0x8000000
|
||||
else
|
||||
$(dirname $0)/stlink/st-flash write "$4" 0x8000000
|
||||
fi
|
||||
exit 0
|
||||
|
||||
## Remove the lines 2 and 3 (above) if you want this script to wait until the Serial device has been enumerated and loaded before the script exits
|
||||
|
|
Loading…
Reference in New Issue