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, ?
ESP-IDF Size option question
-
kondalkolipaka
- Espressif staff

- Posts: 273
- Joined: Wed Jul 17, 2019 5:26 pm
Re: ESP-IDF Size option question
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!
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