Question
Using the calloc function on an STM32F4
Posted on July 15, 2014 at 17:12
I'm trying to understand how this function should be used on an F405 chip. The code that calls calloc is all generated from a simulink fuzzy controller model so I'm confident it's correct in terms of code.
The program seems to be ending up in the default handler as soon as it hits a calloc function. Do I need to sort out a heap for this or something? Not really sure how it works #calloc-stm32f4