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?