Compatibility between Codewarrior 6.4 and 7.0 for Coldfire

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Compatibility between Codewarrior 6.4 and 7.0 for Coldfire

2,674 次查看
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...
标签 (1)
标记 (1)
0 项奖励
回复
3 回复数

1,179 次查看
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 项奖励
回复

1,179 次查看
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 项奖励
回复

1,179 次查看
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 项奖励
回复