pic30-elf-ld.exe Error
Posted: Fri Nov 30, 2007 2:53 pm
Hi,
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 \\ee\\pkg\\cfg\\arch\\rules_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 \\ee\\pkg\\cfg\\arch\\rules_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 C30\\src\\peripheral_30F_24H_33F\\include
Should these includes be part of \\ee\\pkg\\cfg\\arch\\rules_microchip_pic30.mk file or do i need to add this as application include ?
Regards
Mangesh
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 \\ee\\pkg\\cfg\\arch\\rules_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 \\ee\\pkg\\cfg\\arch\\rules_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 C30\\src\\peripheral_30F_24H_33F\\include
Should these includes be part of \\ee\\pkg\\cfg\\arch\\rules_microchip_pic30.mk file or do i need to add this as application include ?
Regards
Mangesh