Does GCC support freescale s12gx series controller?

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

Does GCC support freescale s12gx series controller?

跳至解决方案
2,103 次查看
janb
Contributor I

I am using s12gxx series in project.currently i am working with code warrior in windows as ide.

I to use gcc for s12gxx controller . can anyone help me for this?

Thanks in advance.

标签 (1)
0 项奖励
回复
1 解答
1,246 次查看
iggi
NXP Employee
NXP Employee

The CodeWarior for HC12 V5.1 is not using GCC tool chain but Freescale tool chain. By default when you create a project with the project wizard the Freescale Tool chain is used. Do you want to use another compiler than Freescale ? In this case I don't think CodeWarrior is good solution. The CodeWarrior IDE was not really designed to use external compiler. It's possible to use external debugger. The Compiler used by CW for HC12 dev tool is Freescale copyright. The doc is available under the installation in the \Help\PDF folder.

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,245 次查看
Lundin
Senior Contributor IV

There was an attempt to make a GCC port for the old 68HC12, but I don't think anyone has worked on that project during the past 10 years. It is most likely going to be of questionable quality.

If you don't want to use the Codewarrior compiler, the only serious alternatives are the commercial ones such as IAR, Cosmic etc.

1,246 次查看
jsmcortina
Contributor III

Gcc can be used to build code for hc11, s12, s12x. Xgate assembler is supported too.

See http://www.msextra.com/tools

I use it most days with s12c64 and s12xep100.

James

0 项奖励
回复
1,247 次查看
iggi
NXP Employee
NXP Employee

The CodeWarior for HC12 V5.1 is not using GCC tool chain but Freescale tool chain. By default when you create a project with the project wizard the Freescale Tool chain is used. Do you want to use another compiler than Freescale ? In this case I don't think CodeWarrior is good solution. The CodeWarrior IDE was not really designed to use external compiler. It's possible to use external debugger. The Compiler used by CW for HC12 dev tool is Freescale copyright. The doc is available under the installation in the \Help\PDF folder.

0 项奖励
回复