We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a0581df + fbc6652 commit 4963647Copy full SHA for 4963647
linux/nucleoFlasher/nucleoFlasher
100644
100755
linux/stlink_upload
@@ -1,8 +1,12 @@
1
#!/bin/bash
2
-$(dirname $0)/stlink/st-flash write "$4" 0x8000000
+if [ `uname -m` == "x86_64" ]; then
3
+ $(dirname $0)/../linux64/stlink/st-flash write "$4" 0x8000000
4
+else
5
+ $(dirname $0)/stlink/st-flash write "$4" 0x8000000
6
+fi
7
exit 0
8
-## 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
9
+## Remove the lines 2 to 7 (above) if you want this script to wait until the Serial device has been enumerated and loaded before the script exits
10
11
# Check for leaf device.
12
function leaf_status()
nucleoFlasher/nucleoFlasher
0 commit comments