Forum Discussion
Altera_Forum
Honored Contributor
11 years agoYou'd need a memory allocator that is callable from an ISR.
Whether one exists depends on the operating system code you are running. It is unlikely that the malloc() in the BSP library is callable from ISRs. Maybe you can use a fixed size memory block as a software fifo.