pico-feedback
pico-feedback copied to clipboard
Better memory management documentation
Some documentation about how heap memory is managed here would be useful. Like, what algorithm etc.
I'm mostly interested in a way to check memory stats (used/available) but I can't even find the code responsible for allocation.
ping @kilograham ?
e.g. here https://forums.raspberrypi.com/viewtopic.php?p=2071360&hilit=memory+heap#p2071360 there are a bunch of heap threads... this is managed by the c-library (newlib)
@kilograham Something that should go into the Pico C SDK book do you think?
@nathan-contino Sounds like we should possibly digest some of the forum content into the Pico C SDK book.