MQX compilation with CodeSourcery GNU tools

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MQX compilation with CodeSourcery GNU tools

1,323件の閲覧回数
pozz
Contributor III

I'm sorry if someone else has posted in the past the same question, but I couldn't find any thread related to this.

 

Is it possible to compile a MQX-based project with GNU tools from CodeSourcery? How difficult and complex could be this task?

 

0 件の賞賛
返信
4 返答(返信)

804件の閲覧回数
monXii
Contributor III

Hey pozz..

 

.. its not so easy !

 

The free CodeSourcery compiler do not compile correct the Thumb 2 Assembler ..

 

Even if you use the Kinetis CodeSourcery Compiler (not free) it's not so easy to compile ..

 

We have tried it some days .. but no time (money) to finish this project ..

 

But if you have done it, contact me :smileywink:

0 件の賞賛
返信

804件の閲覧回数
pozz
Contributor III
Hey pozz..

 

.. its not so easy !

 

The free CodeSourcery compiler do not compile correct the Thumb 2 Assembler ...

 

Are you saying the problem is related to some bugs in CodeSourcery compiler/assembler? Have you contacted Mentor Graphics about them? Even with Lite free version, I think guys from Mentor should be happy to know the presence of bugs.

 

 

 

0 件の賞賛
返信

804件の閲覧回数
monXii
Contributor III

no there is no bug ..

the free codesourcery compiler is an arm compiler .. not an kinetis compiler ..

this compiler can compile for cortex-m3 .. which runs on the cortex-m4 too!

but specially cortex-m4 assembler cannot be compiled ..

0 件の賞賛
返信

804件の閲覧回数
pozz
Contributor III

no there is no bug ..

the free codesourcery compiler is an arm compiler .. not an kinetis compiler ..

 

On Mentor web site, a (not free of charge) Kinetis compiler is present, so they have a Cortex-M4 compatible compiler. I thought the Lite version was made of the same command line tools of the full edition.

 

this compiler can compile for cortex-m3 .. which runs on the cortex-m4 too!

but specially cortex-m4 assembler cannot be compiled ..

 

I'm not an ARM Cortex-M expert, but it seems only DSP and SIMD instructions were added to Cortex-M4. The "base" instruction set (Thumb/Thumb2) should be the same. Does MQX includes DSP/SIMD code for Kinetis architecture?


0 件の賞賛
返信