Nice implementation using a memory pool! I just read the NewLib rand() may call malloc(), not saying you use rand(), but whoa, what a gotcha!
https://dunkels.com/adam/rand-may-call-malloc/
https://dunkels.com/adam/rand-may-call-malloc/
Statistics: Posted by breaker — Wed Feb 05, 2025 12:26 am