AnsweredAssumed Answered

malloc library - _sbrk problem

Question asked by Vidar (Z) on Sep 2, 2012
Latest reply on Sep 3, 2012 by Andrew Neil
I was trying to use malloc in a project  which has been ported from an other platform. I get the message that...
_sbrk
 ... is undefined. This is used by _sbrk_r which again is used by malloc. I found no solution herein but looked at the following at http://embdev.net/topic/129753   I am not very familiar to this so a little help would do. I can create the function if needed, no prob. but I find it likely that this has already been solved somehow for stm32fxx devices and i rather like the idea to have something dedicated instead for me trying to implement this myself.

FYI : The heap size is set to 16KB

Breg
Vidar

Outcomes