On a microcontroller, the heap is just a region of RAM used for dynamic allocation (e.g., malloc/new) at runtime. The big difference vs a PC is: RAM is tiny, there’s no OS to manage memory for you, and fragmentation can bite hard. 1) The memory map i...

Markdown supported · ⌘↵ to post
No responses yet.