What is the compiler telling me here?

Can, will, someone please explain, apart from the obvious, what the compiler is telling me?

Configuring flash size...
Auto-detected Flash size: 4MB <== This is quite obvious: max flash size in ESP32

Compressed 17104 bytes to 11191...
Writing at 0x00001000... (100 %)
Wrote 17104 bytes (11191 compressed) at 0x00001000 in 0.3 seconds (effective 503.3 kbit/s)...
Hash of data verified.

Compressed 3072 bytes to 128...
Writing at 0x00008000... (100 %)
Wrote 3072 bytes (128 compressed) at 0x00008000 in 0.0 seconds (effective 1048.0 kbit/s)...
Hash of data verified.

Compressed 8192 bytes to 47...
Writing at 0x0000e000... (100 %)
Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.0 seconds (effective 2877.9 kbit/s)...
Hash of data verified.

Compressed 208528 bytes to 107305...

17.104 + 3.072 + 8.192 = 28.368

Which parts don't you understand ?

All of this.

The flasher uploads a small program to the device RAM, triggers its execution, then starts communicating with it.
Three pieces of data are written to different regions.
The PC program compresses those for faster transfer and sends them to the device. It also sends a hash (checksum) for verification.
They are received by the program running on the device, decompressed, verified using the hash, then written to the appropriate places.

That's all folks!

This is not what the compiler is telling you, it is what the flasher is telling you :stuck_out_tongue:

1 Like

Thank you rainyShadow. That makes it much mote clear!

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.