MQX compilation with CodeSourcery GNU tools

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MQX compilation with CodeSourcery GNU tools

952 Views
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 Kudos
4 Replies

433 Views
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 Kudos

433 Views
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 Kudos

433 Views
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 Kudos

433 Views
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 Kudos