File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -158,10 +158,10 @@ def load_partition_table(filename):
158
158
sys .exit (1 )
159
159
print ("%-23s%8d (% 8.1f MB)" % ("total" , cur_offset , (cur_offset / 1024 / 1024 )))
160
160
print (
161
- "\r \n Wrote 0x%x bytes to file %s, ready to flash to offset 0x%x.\r \n \r \n "
161
+ "\r \n Wrote 0x%x bytes to file m5stack/ %s, ready to flash to offset 0x%x.\r \n \r \n "
162
162
"\033 [1;32mExample command:\033 [0m\r \n "
163
163
" \033 [1;33m1.\033 [0m make BOARD=%s BOARD_TYPE=%s PORT=/dev/ttyUSBx flash\r \n "
164
- " \033 [1;33m2.\033 [0m esptool.py --chip %s --port /dev/ttyUSBx --baud 1500000 write_flash 0x%x %s"
164
+ " \033 [1;33m2.\033 [0m esptool.py --chip %s --port /dev/ttyUSBx --baud 1500000 write_flash 0x%x m5stack/ %s"
165
165
% (
166
166
cur_offset ,
167
167
file_out ,
@@ -219,6 +219,7 @@ def load_partition_table(filename):
219
219
"\033 [1;32mRelease Firmware:\033 [0m\r \n \033 [1;33m"
220
220
+ arg_board_type_flag [:- 1 ].upper ()
221
221
+ ":\033 [0m "
222
+ + "m5stack/"
222
223
+ release_file_out
223
224
)
224
225
os .system ("cp {} {}" .format (file_out , release_file_out ))
You can’t perform that action at this time.
0 commit comments