From 8c6f302e9cdc46d23c9e17c24714e49caef79a30 Mon Sep 17 00:00:00 2001 From: Roger Clark Date: Sat, 16 Jul 2016 09:15:32 +1000 Subject: [PATCH] Effecively disabled the code that waits for serial device re-enumeration See http://stm32duino.com/viewtopic.php?f=35&t=1251 --- tools/linux/stlink_upload | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/linux/stlink_upload b/tools/linux/stlink_upload index 24e528d..f0dd789 100755 --- a/tools/linux/stlink_upload +++ b/tools/linux/stlink_upload @@ -1,4 +1,8 @@ #!/bin/bash +$(dirname $0)/stlink/st-flash write "$4" 0x8000000 +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 # Check for leaf device. function leaf_status()