Page 1 of 1

Finding Available Memory on ESP32

Posted: Tue Jun 13, 2017 6:00 am
by mayuresh
Hi,

I need to develop an app on ESP-Wroom 32 module. I'll be getting a few drivers and libraries from a colleague and on top of that I need to start the development.

For this, I need to understand how much memory including flash+SRAM is already consumed by the image without my app, so that I can plan the memory budget.

Is there any way to get this detail?

Re: Finding Available Memory on ESP32

Posted: Tue Jun 13, 2017 8:57 am
by BuddyCasino
Bintools got you covered for the flash image:

Code: Select all

xtensa-esp32-elf-size build/mp3_decoder.elf
   text	   data	    bss	    dec	    hex	filename
 698033	 320032	  59880	1077945	 1072b9	build/mp3_decoder.elf