heap3.c
I am developing a project for LPC2103. For this I took ARM7_LPC2106_GCC demo as base. Till now I am using heap2.c and my code is working fine.
Now, I want to use heap3.c. For this , in Linker script I setup the heap after bss section like,
.heap :
{
__heap_start__ = .;
*(.heap)
. += 2k;
__heap_end__ = .;
} >ram
But my code is not is not working. Do I have to do something more than this?
heap3.c
i wonder if you’re having this problem? http://www.lpcware.com/content/faq/malloc-failure-using-freertos-heap3c-lpcxpresso-tool-chain