Compatibility between Codewarrior 6.4 and 7.0 for Coldfire

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

Compatibility between Codewarrior 6.4 and 7.0 for Coldfire

1,964 Views
MarcVDH
Contributor I
Hello,

I recently tried to compile the software of application note AN3518 (downloaded from the Freescale web site) on Codewarrior for Coldfire 7.0SE.
The project opens fine after Codewarrior converts it to a version 7.0 project.
But when I try to build the project, I get plenty of errors.

So I removed CW7.0 from my computer and installed version 6.4. The project now compiles without any problems.

Are there any compatibility issues between both codewarrior versions?

Of course I can keep working with CW6.4SE as it does all I need and plenty more, but as there is a new version out I thought I might just as well use that...
Labels (1)
0 Kudos
3 Replies

469 Views
MarcVDH
Contributor I
Looks like there still is some difference...
I flashed the program compiled with CW7 into the CPU. It appears to run fine - except it runs a lot slower then the version compiled with CW6.4
0 Kudos

469 Views
MarcVDH
Contributor I
OK, thanks!
I found that, by commenting out some m68k references in the file "common.h", the issue was solved.

Code:
/*
 * Include any toolchain specfic header files
 */
#if (defined(__MWERKS__))
#include "build/mwerks/mwerks.h"
//#define __CFM68K__ 0
//#define __MC68K__ 0
#elif (defined(__DCC__))
#include "build/wrs/diab.h"
#elif (defined(__ghs__))
#include "build/ghs/ghs.h"
#endif

 

0 Kudos

469 Views
CrasyCat
Specialist III
Hello
 
CodeWarrior for Coldfire V7.0 installation contains a file {Install}\Help\PDF\TN256.pdf, which discuss conversion of existing projects to V7.0.
 
I would start reading that document for information.
 
CrasyCat
0 Kudos