mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
dist/tools/bmp: add logging
Print action to console for reset and flash action, similar to the erase action.
This commit is contained in:
parent
c57fe9bd79
commit
e55da6ad82
2
dist/tools/bmp/bmp.py
vendored
2
dist/tools/bmp/bmp.py
vendored
@ -282,6 +282,7 @@ def main():
|
||||
|
||||
# reset mode: reset device using reset pin
|
||||
if args.action == 'reset':
|
||||
print('resetting...')
|
||||
assert gdb_write_and_wait_for_result(gdbmi, 'monitor hard_srst', 'resetting target')
|
||||
sys.exit(0)
|
||||
# erase mode
|
||||
@ -291,6 +292,7 @@ def main():
|
||||
sys.exit(0)
|
||||
# flashloader mode: flash, check and restart
|
||||
elif args.action == 'flash':
|
||||
print('flashing...')
|
||||
download_to_flash(gdbmi)
|
||||
check_flash(gdbmi)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user