Home     Company     Products     Services     Community     Download     Store
    [Home arrow Community arrow Forum ]
Community
Community
Login Form





Lost Password?
No account yet? Register
FireBoard
Welcome, Guest
Please Login or Register.    Lost Password?
pic30-elf-ld.exe Error (1 viewing) (1) Guests
Go to bottom Post Reply Favoured: 0
TOPIC: pic30-elf-ld.exe Error
#22
Mangesh (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
pic30-elf-ld.exe Error 9 Months ago Karma: 0  
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 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 ?

Regards
Mangesh
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#23
paolo.gai (Admin)
Admin
Posts: 67
graph
User Offline Click here to see the profile of this user
Re:pic30-elf-ld.exe Error 8 Months, 4 Weeks ago Karma: 1  
Hi Mangesh!

For the heap, you can add the line

LDFLAGS = "--heap=4000";

in the OS part of the OIL File.

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?

bye

PJ
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop
Evidence S.r.l. - PIVA: 01638690501
Viale Rinaldo Piaggio 32 - Pontedera - Pisa - Italy
Privacy Policy