Skip to content

Commit f3d109c

Browse files
committed
Add a little helpful hint
1 parent c289418 commit f3d109c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

m5stack/makeimg.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,3 +99,10 @@ def load_partition_table(filename):
9999
)
100100
sys.exit(1)
101101
print("%-22s% 8d" % ("total", cur_offset))
102+
print(
103+
"\r\nWrote 0x%x bytes to file %s, ready to flash to offset 0x1000.\r\n"
104+
"Example command:\r\n"
105+
" 1. make flash\r\n"
106+
" 2. esptool.py --chip esp32 --port /dev/ttyUSBx --baud 1500000 write_flash 0x1000 %s"
107+
% (cur_offset, file_out, file_out)
108+
)

0 commit comments

Comments
 (0)