Page 1 of 1

Set allocations free

Posted: Thu May 07, 2015 10:21 am
by JoVM
Is it bad to use malloc and chHeapAlloc in an application? Would freeing allocations be a problem?

Re: Set allocations free

Posted: Thu May 07, 2015 11:08 am
by Giovanni
It is possible if the C runtime feeds its internal allocator using the ChibiOS "Core Allocator". This is how syscalls.c does it usually.

Giovanni