aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2019-10-26 17:44:52 -0400
committerKevin O'Connor <kevin@koconnor.net>2019-10-26 17:46:18 -0400
commit4b4e309e1bf9ca4fa89e4eaaa9fcaad5586e9a8a (patch)
treeca66f47e7d08b50a0885be161630ceeb13a5e74f
parent5131ec5eb0ec4c6292ff57da2bfda0e522d67003 (diff)
downloadkutter-4b4e309e1bf9ca4fa89e4eaaa9fcaad5586e9a8a.tar.gz
kutter-4b4e309e1bf9ca4fa89e4eaaa9fcaad5586e9a8a.tar.xz
kutter-4b4e309e1bf9ca4fa89e4eaaa9fcaad5586e9a8a.zip
flash_usb: Inform user to manually reset after stm32f4 flash
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
-rwxr-xr-xscripts/flash_usb.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/flash_usb.py b/scripts/flash_usb.py
index a40708ba..de267f1f 100755
--- a/scripts/flash_usb.py
+++ b/scripts/flash_usb.py
@@ -208,6 +208,9 @@ def flash_stm32f4(options, binfile):
sys.stderr.write(STM32F4_HELP % (
options.device, str(e), options.device))
sys.exit(-1)
+ sys.stdout.write("\n\nFlash appears successful.\n"
+ "Device must be manually reset for new code to run.\n"
+ "\n")
MCUTYPES = {
'atsam3': flash_atsam3, 'atsam4': flash_atsam4, 'atsamd': flash_atsamd,