Skip to content

Commit 34ff1de

Browse files
Tinyu-Zhaolbuque
authored andcommitted
m5stack: Fix relative path hint after successful compilation.
Signed-off-by: Tinyu <[email protected]>
1 parent 7df86aa commit 34ff1de

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

m5stack/makeimg.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff 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\nWrote 0x%x bytes to file %s, ready to flash to offset 0x%x.\r\n\r\n"
161+
"\r\nWrote 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
)
224225
os.system("cp {} {}".format(file_out, release_file_out))

0 commit comments

Comments
 (0)