Libcanard with static memory

Hello,

I’m trying to integrate the libcanard in my system and I need to use only static memory. I’ve seen that an memory_allocate and memory_free mathods are needed in canardInit. My idea was to do a pool or a similar mechanins in order to implement these methods but the memory allocations have diferent sizes (it depends on the payload size, etc).

Do you have any idea of how to implement it? Do you know a similar project?

Yes, this is what you need:

1 Like