Hi, Does anyone know why when I open a new project I can...

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

Hi, Does anyone know why when I open a new project I can...

跳至解决方案
2,724 次查看
pit
Contributor I
Hi,
Does anyone know why when I open a new project I can not select absolute or relocative assembly as supported language for the MCF51QE with the CW for microcontroller v6.1?
 
标签 (1)
标记 (1)
0 项奖励
回复
1 解答
1,311 次查看
J2MEJediMaster
Specialist I
Uncheck the options to generate C and C++ code in the Project Wizard when you want to make a project that generates absolute assembly. The compiler produces position-relative code for C and C++ programs, which is not compatible with what you're trying to do. What you're running into is CodeWarrior's defense mechanism to prevent you from mixing the two incompatible types of assembly.

---Tom

在原帖中查看解决方案

0 项奖励
回复
4 回复数
1,312 次查看
J2MEJediMaster
Specialist I
Uncheck the options to generate C and C++ code in the Project Wizard when you want to make a project that generates absolute assembly. The compiler produces position-relative code for C and C++ programs, which is not compatible with what you're trying to do. What you're running into is CodeWarrior's defense mechanism to prevent you from mixing the two incompatible types of assembly.

---Tom
0 项奖励
回复
1,311 次查看
pit
Contributor I
Thank you. This works with the MC9S08QE128 but not with the MCF51QE128
 
-  Peter
 
0 项奖励
回复
1,311 次查看
J2MEJediMaster
Specialist I
It sounds like a versioning problem, especially if it doesn't work with a particular MCU. I'd suggest filing a sevice request, using this page.
0 项奖励
回复
1,311 次查看
CrasyCat
Specialist III
Hello
 
My 2 cents on that one.
I guess that the project wizard for Coldfire projects does not allow you to build pure assembly application.
In order for the application to start correctly, the chip should be initialized properly and the whole startup code we use to achieve that is written in C.
That might be a reason for blocking assembly only project.
 
Please note that you can create a project in C and add assembly source files to it. That should not be an issue.
 
If you need ability to create pure assembly application for Coldfire you need to ask for an extension of the product. Submit a change request (or feature request) through our on line support system.
 
CrasyCat