Arduino: How to get function "FreeRAM()" to work?

Created on 11 Dec 2015  路  2Comments  路  Source: esp8266/Arduino

Hello,
I have seen in libraries/SD/src/utility/SdFatUtil.h
a function FreeRAM(), but it does not compile, with error:
undefined reference to__brkval'`

What can I do to make FreeRAM() work?

Regards, Rudolf

Most helpful comment

ESP.getFreeHeap(); shut do the job just fine.
https://github.com/esp8266/Arduino/blob/master/doc/libraries.md#esp-specific-apis

All 2 comments

ESP.getFreeHeap(); shut do the job just fine.
https://github.com/esp8266/Arduino/blob/master/doc/libraries.md#esp-specific-apis

Hello Markus,
Thank you very much again for your help.
I have searched for memory and RAM only, so I could not find getFreeHeap.
Regards, Rudolf

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Marcelphilippeandrade picture Marcelphilippeandrade  路  3Comments

hulkco picture hulkco  路  3Comments

treii28 picture treii28  路  3Comments

Chagui- picture Chagui-  路  3Comments

eliabieri picture eliabieri  路  3Comments