flash_usb: Inform user to manually reset after stm32f4 flash

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2019-10-26 17:44:52 -04:00
parent 5131ec5eb0
commit 4b4e309e1b
1 changed files with 3 additions and 0 deletions

View File

@ -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,