Hacker News new | past | comments | ask | show | jobs | submit login

For Arduino specifically, it certainly does have an allocator and heap by default, even on MCUs with less than 1KB RAM. However, there's no separation, so the stack and heap grow towards each other. If the heap is never used, it always stays at a size of 0. For code side, just not using malloc or anything that uses it will cause it not to be linked.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: