1
0
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:
Bas Stottelaar 2024-12-23 18:15:56 +01:00
parent c57fe9bd79
commit e55da6ad82

View File

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