Posted on May 17, 2011 at 13:34You guys are right, I didn't looked from it in that perspective. I think my problem is that I use malloc often in PC Applications (and Yes I check return values :-D), and with the same mindset I program for a microcont...
Posted on May 17, 2011 at 13:34Ok, I understand now I have to create a heap first and why. The reason I want to use malloc is that I don't know how many I get, the other way around would be using a large array that can be filled with data but you wi...
Posted on May 17, 2011 at 13:34Hello, I am using a STM32-103STK from olimex. I am trying to allocate memory using malloc, but my program hangs/crashes on the malloc command. I have read somewhere that you should first create a memory heap but I can'...