ESP-IDF Size option question

username
Posts: 597
Joined: Thu May 03, 2018 1:18 pm

ESP-IDF Size option question

Postby username » Tue Jun 30, 2026 3:07 pm

In Visual Studio Code, when I click on ESP-IDF size, I see this for my project.
Now my flash app size is: ESP_Foundation_v0.0.bin 843936 bytes
My partition.csv file is:
nvs, data, nvs, 0x9000, 16k,
otadata, data, ota, 0xd000, 8k,
phy_init, data, phy, 0xf000, 4k,
app0, app, ota_0, 0x10000, 3968K,
app1, app, ota_1, 0x400000, 3968K,
#spiffs, data, spiffs, 0x7E0000, 512k,

My question is why is it showing flash code, and Flash data all red, ?

Screenshot 2026-06-30 095345.png
Screenshot 2026-06-30 095345.png (27.02 KiB) Viewed 24 times

kondalkolipaka
Espressif staff
Espressif staff
Posts: 273
Joined: Wed Jul 17, 2019 5:26 pm

Re: ESP-IDF Size option question

Postby kondalkolipaka » Wed Jul 01, 2026 6:56 am

Thanks for reporting this! What you're seeing is a UI interpretation issue, not flash exhaustion.

In the ESP-IDF Size view, Flash Code and Flash Data are section-size breakdowns from the firmware image (.text/.rodata), not fixed-capacity memory pools like IRAM/DRAM. Because of that, the current rendering can show them as fully used (red) even when the app still fits comfortably in the partition.

We will fix this in the extension - probably by showing Flash Code/Data as used-size only (no misleading used/total bar).

Thanks!

Who is online

Users browsing this forum: No registered users and 4 guests