1) While developing an application using RT-Drid, which makes use of the Zigbee Stack provided by Microchip I got this error:
"pic30-elf-ld.exe Error: A heap is required, but has not been specified"
When i include this option "--heap=1024" in eepkgcfgarchrules_microchip_pic30.mk in pic30.elf target, i dont get the error.
Is this the right way to include heap or do I need to mention in the OIL file ?
2) also INTERNAL_GCCINCLUDEDIR in eepkgcfgarchrules_microchip_pic30.mk makes use of only the include directory within the MPLAB C30 directory and not the include within sub-directories. for eg: MPLAB C30srcperipheral_30F_24H_33Finclude
Should these includes be part of eepkgcfgarchrules_microchip_pic30.mk file or do i need to add this as application include ?
There is an example using the heap, which is the Scicos application template... just instantiate it in a new project, and you'll see the OIL file has the heap option...
About the include dir... hmmm... For the moment include it in the OIL file (you can add it into CFLAGS...
Should we put it in the default makefile _script_s?