Empty project uses 80kb more ram than with esp-idf, why?
Posted: Wed Jan 31, 2018 12:53 am
Hi everyone,
i have been working with my newly arrived esp32. for the purpose i'm looking to use it, i need the biggest amount of ram possible (esp32 is the cheapest cpu with the most amount of ram available in the market) so have been playing with it. on one of my trials, i just uploaded an empty project compiled with arduino IDE and i got 218Kb free of heap. Pretty good. then i uploaded the hello_world, example with and printing the heap with that got me 301kb of free memory.
so, why there is so big gap? the serial communication in arduino takes that much of ram? is also counting iram there? i only need to free dram really.
config has BT / TLS all disabled, but again, both are just empty projects.
Any idea?
i have been working with my newly arrived esp32. for the purpose i'm looking to use it, i need the biggest amount of ram possible (esp32 is the cheapest cpu with the most amount of ram available in the market) so have been playing with it. on one of my trials, i just uploaded an empty project compiled with arduino IDE and i got 218Kb free of heap. Pretty good. then i uploaded the hello_world, example with
Code: Select all
make flash
Code: Select all
system_get_free_heap_size();
so, why there is so big gap? the serial communication in arduino takes that much of ram? is
Code: Select all
system_get_free_heap_size()
config has BT / TLS all disabled, but again, both are just empty projects.
Any idea?