MQX compilation with CodeSourcery GNU tools

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

MQX compilation with CodeSourcery GNU tools

957 次查看
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 回复数

438 次查看
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 项奖励

438 次查看
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 项奖励

438 次查看
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 项奖励

438 次查看
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 项奖励