Problem with first test application on MPC5643L

Forum related to ERIKA Enterprise and RT-Druid version 2

Moderator: paolo.gai

Oleg

Re: Problem with first test application on MPC5643L

Post by Oleg »

fesposito wrote:Dear Oleg,

1) Download the CW_MCU_v10.5 Special Edition (Eclipse based - No time limitation, only size limitation) for Windows environment
2) Run your RT-Druid, click on Window -> Preferences -> RT-Druid
In this sub-menu check the following: "cygwin path" and "compiler path". For instance in my case:

Cygwin Installation C:\cygwin
Under Oil -> e200ZX -> Codewarrior Compiler Path C:\Freescale\CW MCU v10.5\MCU

There is also a license issue, to solve the problem please modify this RT-Druid file (it will be fixed in the next RT-Druid Release, but now modify the file manually):
C:\eclipse_rtdruid\plugins\com.eu.evidence.ee_2.1.0.20130518_2201\ee_files\pkg\cfg\arch\cc_ppc_codewarrior.mk (your path is slightly different probably...)

This is the line to be modified:
# OPT_AR: options for library generation
OPT_AR = -library -o

In this way:

# OPT_AR: options for library generation
OPT_AR = -library $(OPT_TARGET) -o

This configuration works ok. Thanks for your notes, we will modify the wiki soon.

Let me know
Ciao
I tryed your recomendations with CW MCU 10.5 and project was build! My mistake was that I tryed to use CW Power Architecture 10.5!!! Many thanks!
Locked