dynamic memory allocation | Cypress Semiconductor
dynamic memory allocation
Hi CY community,
I have a fairly large project containing multiple UARTS which I read using interrupts.
To optimize memory usage of all different kinds of buffers I use calloc. Unfortunately
I have a strange error where a calloc call seems to work fine but messes up other allocated space in memory.
I have so far not used init_mempool or anything like that - and I don't even find a function called like that (using Creator 3.3 SP1).
Any idea on dynamic memory management for PSOC 5LP, or should I revert back to static management of the buffers ?
Thanks in advance