visual studio code support for Flash, SPI-Flash & RAM usage view
Posted: 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?
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?