I recently upgraded to MCUXpresso v11.10.0, build 3148. I added a new project this morning using FreeRTOS and it appears that the heap_1.c, heap_2.c, heap_3.c, heap_4.c and heap_5.c are no longer included. This leads to undefined references to functions like vPortMalloc (and pretty much everything else memory related).
Is this on purpose? Where should we get the new heap files?
Hi,
I suggest you refer to the community:
https://embeddedartistry.com/blog/2018/01/15/implementing-malloc-with-freertos/
Hope it can help you
BR
Xiangjun Rong
Hi,
I am sorry for misunderstanding you, the heap_x.c is located at the directory in SDK package.
Hope it can help you
BR
XiangJun Rong
Hi,
When you create a project or use the SDK example, the driver file which the example required will be copied to the project. If the driver is not used in the project, it is not copied.
Hope it can help you
BR
XiangJun Rong
Hi,
can you tell us the part number you are using?
BR
XiangJun Rong