How to recompile EWL C libraries?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to recompile EWL C libraries?

1,974 Views
another_bug
Contributor I

How to recompile it? Are all the source files located at CW-10_2\MCU\ARM_EABI_Support\ewl\EWL_C\src?

Labels (1)
0 Kudos
Reply
5 Replies

1,043 Views
Phil_D1
Contributor III

The instructions for recompiling the EWL C libraries can be found in the compiler manual in the section "How to Rebuild the EWL Libraries". There are also instructions for rebuilding the EWL C++ libs. The manual is typically found at C:\Freescale\CW MCU v10.3\MCU\Help\PDF.

Power Architecture: MCU_Power-Architecture_Compiler.pdf

ColdFire: MCU_ColdFire_Compiler.pdf

Kinetis: MCU_Kinetis_Compiler.pdf

Phil

0 Kudos
Reply

1,043 Views
CrasyCat
Specialist III

Hello

 

Did you consider importing the project from folder {Install}MCU\ARM_EABI_Support\ewl in CodeWarrior and building it?

 

Just select File > Import and browse for folder {Install}MCU\ARM_EABI_Support\ewl.

 

Make sure to activate the appropriate build configuration in Project > Build Configurations > Set Active menu entry.

 

Then select Build project.

 

CrasyCat

0 Kudos
Reply

1,043 Views
martinpi
Contributor III

Hello, I am struggling with recompiling the ewl package, too. I modified startup.c, but my modification has no effect

I DID consider importing the ewl project, but how to do that? I think I managed to do that before, but I am not sure.

There is the ewl directory containing the .project and .cproject files, so this looks promising. According to Help, I should use file-->import, but there is no menu item file-->import, not even a greyed-out one. I tried to drag the directory into the workspace, I tried opening the directory as new workspace, nothing works.

Thanks in advance, Martin

0 Kudos
Reply

1,043 Views
admin
Specialist II

Hello there,

 

I've noticed this problem with both the ARM_EABI_SUPPORT as well as ColdFire_Support, but I cannot compile EWL_C++ with the Eclipse interface.  I get hundreds of errors that appear as though the compiler is unaware of this being C++.  Any advice on how to resolve this?

0 Kudos
Reply

1,043 Views
J2MEJediMaster
Specialist I

Have you tried setting the Force C++ Compliation option in the Tool Settings panel? If the source file names end in .c rather than .cpp, the compiler may be assuming that the source is C only.

 

---Tom

 

 

0 Kudos
Reply