Hi, I'm using IAR tool wih imxRT1020. I want use malloc function and pass a variable in the argument for dynamic allocation but the function return me a null pointer. I would like to know if is possible to pass a variable in the argument or not.
Hi Luca Tollot,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
1) I would like to know if it's possible to pass a variable in the argument or not.
-- In the IAR demo of SDK library, it's available to calling the malloc function to request an area from the heap, please give a try.