Which compiler for KL processors?

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

Which compiler for KL processors?

449 Views
mjbcswitzerland
Specialist V

Hi All

 

I have just started working with KLx processors after working for a long time with K processors. I have CodeWarrior 10.5 and have always used the Metroworks compiler.

I notice that I can set the processor to either cortex-m4 or v7M but not to m0.

 

Therefore I imported a reference project and saw that its target processor setting allowed cortex-m0 or cortex-m4, but that it looks to be using a different toolchain; "G++ Lite"

 

Does this mean that the Metroworks compiler doesn't allow m0 to be used?

Should therefore all projects be moved to the G++ Lite compiler instead so that both are available?

 

If a different toolchain needs to be used what is the method of configuring it? I see that there is a "Select Tools.." button and then a long list of components appear but this looks rather frightening, so I would rather not risk breaking everything until sure that it is the way to go.

 

Thanks in advance!!

 

regards

 

Mark

Labels (1)
0 Kudos
1 Reply

299 Views
BlackNight
NXP Employee
NXP Employee

The Metrowerks ARM compiler does not support the M0+. Freescale moved to the GNU ARM toolchain for both the ARM Cortex M4 and M0+, and is the default compiler.

0 Kudos