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):
158158 sys .exit (1 )
159159 print ("%-23s%8d (% 8.1f MB)" % ("total" , cur_offset , (cur_offset / 1024 / 1024 )))
160160 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 "
162162 "\033 [1;32mExample command:\033 [0m\r \n "
163163 " \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"
165165 % (
166166 cur_offset ,
167167 file_out ,
@@ -219,6 +219,7 @@ def load_partition_table(filename):
219219 "\033 [1;32mRelease Firmware:\033 [0m\r \n \033 [1;33m"
220220 + arg_board_type_flag [:- 1 ].upper ()
221221 + ":\033 [0m "
222+ + "m5stack/"
222223 + release_file_out
223224)
224225os .system ("cp {} {}" .format (file_out , release_file_out ))
You can’t perform that action at this time.
0 commit comments