visual studio code support for Flash, SPI-Flash & RAM usage view

ilangr
Posts: 4
Joined: Thu Apr 04, 2024 5:02 am

visual studio code support for Flash, SPI-Flash & RAM usage view

Postby ilangr » Thu Apr 11, 2024 7:10 am

Hello,

Is there an option (plugin?) to see the ESP32 internal flash, SPI-Flash & internal static RAM usage via vscode?
I know that you have the 'idf_size.py' tool that allows the programmer to analyze the map file like this:
[Codebox]
ilangr@LAPTOP-G471QQ5I:~/GitProjects/skyplug-cross-application$ ~/.espressif/python_env/idf5.2_py3.8_env/bin/python ~/esp/esp-idf/tools/idf_size.py project/esp32/skyplug/build/skyplug.map
Total sizes:
Used static IRAM: 82318 bytes ( 279922 remain, 22.7% used)
.text size: 81291 bytes
.vectors size: 1027 bytes
Used stat D/IRAM: 33280 bytes ( 312576 remain, 9.6% used)
.data size: 16112 bytes
.bss size: 17168 bytes
Used Flash size : 949719 bytes
.text: 730911 bytes
.rodata: 218552 bytes
Total image size: 1048149 bytes (.bin may be padded larger)
[/Codebox]

However, is there any way I can see it visually like the modern IDEs?
BTW, is there a way to distinguish the internal flash usage from the SPI flash usage view?

ESP_kondalkolipaka
Posts: 179
Joined: Wed Jul 17, 2019 5:26 pm

Re: visual studio code support for Flash, SPI-Flash & RAM usage view

Postby ESP_kondalkolipaka » Mon May 06, 2024 4:59 am

Hello,

For visual representation for size analysis of the project, you can use "ESP-IDF: Size Analysis of the Binaries" command

https://github.com/espressif/vscode-esp ... e-commands

Thanks

Who is online

Users browsing this forum: No registered users and 80 guests