I am trying to setup libcanard on a STM32F429I Discovery board.
When I am initializing o1heap the function returns 0. When I debug the programm I see that the check
(((size_t) base) % O1HEAP_ALIGNMENT) == 0U) fails because it evaluates to 8 instead of 0.
Here is the relevant code:
static void* base; static O1HeapInstance* my_allocator; base = malloc(1024); my_allocator = o1heapInit(base, 1024, NULL, NULL);
Am I doing something wrong here?
Thanks in advance if anyone can help me with this