Just wondering if there is any API function that print information about the internal RAM, like how much free space left for example.
P.S.
xPortGetFreeHeapSize - > Gives information about the overall Memory space including external RAM .
Thanks
Internal RAM Info
-
- Posts: 9759
- Joined: Thu Nov 26, 2015 4:08 am
Re: Internal RAM Info
The heap allocator has a bunch of functions to query memory usage, maybe those do what you want.
Re: Internal RAM Info
heap_caps_get_free_size(MALLOC_CAP_INTERNAL)
Re: Internal RAM Info
Thanks, it worked finefly135 wrote:heap_caps_get_free_size(MALLOC_CAP_INTERNAL)
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 154 guests