2022-08-18 04:34 AM
I am using a stm32f105RBt6, just teasing with FreeRTOS (cmsis_v2) at the moment.
Two unexpected things are happening:
Increasing Heap size doesnt help
Any tips of how to debugg this? I think i have alocated enough heap in RAM....
2022-08-18 05:40 AM
Instrument the Hard Fault so you can see what exactly is being objected too there and work backward.
Check that the allocations haven't failed. Check alignment. heap not 8-byte aligned (depends on expectations)
Perhaps instrument the malloc/free to confirm there's not an issue there.