Page 1 of 1

Storage explanations esp32 wroom specific

Posted: Sat Sep 16, 2017 9:02 am
by Duhjoker
Hi guys

Ive been playing around with my esp32 for a few days now and just noticed a couple things in the uploading area.

First when i compile the white messages ar the bottom after compiling only show a million and five hundred some odd bytes. But the wroom chips are advertised as 4mb.

I also noticed that the data is being copressed before uploading.

Whats going on here? What are the true amounts of storage for each different component like flash ram and so on.

Whats actually happening on the upload?

Re: Storage explanations esp32 wroom specific

Posted: Sat Sep 16, 2017 9:42 am
by ESP_igrr
Flash memory is split into several partitions, this is defined in the partition table. For ESP32-arduino, partition table is here: https://github.com/espressif/arduino-es ... efault.csv
There are two application partition slots, 0x140000 bytes each

Before uploading, data to be flashed is compressed to speed up transfer over UART. On the ESP32, the received data is decompressed and written into flash. So compression does not affect storage space available.