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?
Re:Problem when building project (1 viewing) (1) Guests
Go to bottom Post Reply Favoured: 0
TOPIC: Re:Problem when building project
#24
dark (User)
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
Problem when building project 9 Months, 1 Week ago Karma: 0  
Hi,
i have to work in RTDruid on a project made from another person.
He sent me a folder with code.c, conf.oil, compile.bat, build._xml_, c2latex, and the subfolder /Debug with, amongst other files, the pic30.elf i have to program on my dspic. Note: this pic30.elf is 594KB.

I import this project in RTDruid. If i try to build it, all goes well, "Build Succesfull", but the pic30.elf i generate is only 234KB and doesn't work properly if programmed on chip with mplab.

I tryed to find differences from my /Debug folder and the one given from that person... i found that in my eecfg.c is missing this code:
#ifdef __ENABLE_THREAD__
EE_TYPESTATUS EE_th_enabled[EE_MAX_TASK] = {
0,
0
};
#endif

I don't think is important but he had rtdruid v. 1.4.0_RC3 while i'm working on v. 1.4.1.

Thank in advance for any answer
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#25
paolo.gai (Admin)
Admin
Posts: 70
graph
User Offline Click here to see the profile of this user
Re:Problem when building project 9 Months, 1 Week ago Karma: 3  
Hi,

The only thing you need to build the application is the conf.oil and the code.c .

The Debug directory is generated on the fly by the OIL compiler integrated into Eclipse (or in the standalone version).

The difference in the size of the ELF depends on the compiler version... the code in there will be probably just a few kbytes, the rest are debug information.

Which compiler are you using?

Try to remove the Debug Directory and rebuild the project. If the executable does not work, please select the EE GCC compiler under the Window/Preferences, then RT-Druid/Oil/PIC30 Configurator options.

__ENABLE_THREAD__ was a non-documented feature which was introduced in past version of the code, which has been removed in 1.4.1. You can safely ignore it.

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