File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -118,11 +118,10 @@ def main(args: None | argparse.Namespace = None) -> None:
118118 timeout = args .timeout ,
119119 )
120120 bootattrs = mcbf .get_boot_attrs (connection )
121- _logger .info ("Connected" )
122121 total_bytes , chunks = mcbf .chunked (args .hexfile , bootattrs )
123- _logger .debug ("Erasing program area..." )
122+ _logger .info ("Erasing program area..." )
124123 mcbf .erase_flash (connection , bootattrs .memory_range , bootattrs .erase_size )
125- _logger .info (f"Flashing { args .hexfile } " )
124+ _logger .info (f"Flashing { args .hexfile } ... " )
126125 flash (
127126 connection = connection ,
128127 chunks = chunks ,
@@ -134,6 +133,7 @@ def main(args: None | argparse.Namespace = None) -> None:
134133
135134 if args .reset :
136135 mcbf .reset (connection )
136+ _logger .info ("Device reset" )
137137 except Exception :
138138 _logger .exception ("An error occurred:" )
139139
You can’t perform that action at this time.
0 commit comments