Flash memory size, compared to compiled size
Posted: Sat Mar 29, 2025 2:15 pm
Code: Untitled.txt Select all
First post. Long time assembly and C programmer. Fairly new to ESP32 chips.
I have bought a variety of ESP32 development boards, 8266, S2, and C3 type.
I have been confused on the specs saying 384k of flash rom, but my compiled code says 1.85Mb (for example).
I see a chip says 384k of flash rom, but then says 4Mb.
Can someone provide a link that explains the internal flash vs external flash? How can one execute code from external
flash, seeing that it is probably serial rom memory?
I am amazed so far to see how many hundreds(thousands) of modules get compiled to produce the code. I am almost exclusively using esphome now and yaml.
Thanks in advance
Glen K4KV