From 4b4e309e1bf9ca4fa89e4eaaa9fcaad5586e9a8a Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Sat, 26 Oct 2019 17:44:52 -0400 Subject: [PATCH] flash_usb: Inform user to manually reset after stm32f4 flash Signed-off-by: Kevin O'Connor --- scripts/flash_usb.py | 3 +++ 1 file changed, 3 insertions(+) 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,