Search found 1 match

by alphago1000
Mon Oct 04, 2021 4:58 pm
Forum: ESP32 Arduino
Topic: how to calculate free ram?
Replies: 4
Views: 8167

how to calculate free ram?

I would just know the available ram in the execution of programm as for example:

Code: Select all

int freeRam()
{
    extern int __heap_start, *__brkval;
    int v;
    return (int)&v - (__brkval == 0 ? (int)&__heap_start : (int)__brkval);
}
but for esp32 wrover B

ps: i'm french

thanks for help