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,723件の閲覧回数
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,310件の閲覧回数
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,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 件の賞賛
返信
1,310件の閲覧回数
pit
Contributor I
Thank you. This works with the MC9S08QE128 but not with the MCF51QE128
 
-  Peter
 
0 件の賞賛
返信
1,310件の閲覧回数
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,310件の閲覧回数
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