dsPIC33 on Explorer 16 linker problem

dts124 wrote on Monday, April 11, 2011:

first try to compile dsPIC33 and PIC24 demo projects for Explorer 16 board, C30 version 3.25 Lite with expired license,
both end up with: …pic30-coff-ld.exe Error: A heap is required, but has not been specified.
Please advise what could be done about it. Looking at the posts concerning dsPIC33 and PIC24 it seems this happened only to me

dts124 wrote on Monday, April 11, 2011:

i apologize for such ignorance, but i never use fprint. By the way, what heap size would be appropriate? The box was empty and i put 1000 bytes. Now it compiles…

rtel wrote on Monday, April 11, 2011:

This error is caused by a change in the compilers provided by Microchip.  If you download FreeRTOS V7.0.0 you should find the error does not exist as the projects have been updated to the new compiler standard.

Unless you are using malloc() directly, or are including heap_3.c in your project (which calls malloc), then I have found setting the heap size to 0 is enough to keep the compiler from complaining.