AnsweredAssumed Answered

Using the calloc function on an STM32F4

Question asked by h.hammer on Jul 15, 2014
Latest reply on Jul 15, 2014 by Clive One
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

Outcomes