GCC toolchain for P2020

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

GCC toolchain for P2020

Jump to solution
1,853 Views
ericfornstedt
Contributor III

Hi,

 

We have a project using the P2020 processor where we need to switch to a GCC toolchain instead of the Freescale PPC toolchain, for example gcc-4.9.2-Ee500v2-eabispe. For a number of processors you can choose to use either Freescale PPC or GCC toolchain when creating a new project in CodeWarrior (10.5.1), but for the P2020 the GCC toolchain is not available for some reason.

 

So, how can we switch to a GCC toolchain for the P2020? There are many source code files (and linker file) in a P2020 project template that have Freescale PPC compiler specific syntax and therefore cannot be compiled with GCC right away. Are there templates suitable for P2020 and for GCC elsewhere we can use?

 

BR

/ Eric

Tags (4)
0 Kudos
1 Solution
1,844 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please create a bareboard project for P2020DS, then modify Toolchain configuration from Project->Properties->C/C++ Build->Toolchain Editor.

Please configure Current toolchain as: PowerPC EABI e500v2 C Toolchain Release.

Current builder as: PowerPC EABI e500v2 Release Builder

There is no template for P2020 GCC toolchain, you could create a bareboard project for P4080DS to do reference.

View solution in original post

Tags (1)
2 Replies
1,815 Views
ericfornstedt
Contributor III

Thank you,

Using the information from a P4080DS build we were able to do the necessary changes for our P2020 build.

0 Kudos
1,845 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please create a bareboard project for P2020DS, then modify Toolchain configuration from Project->Properties->C/C++ Build->Toolchain Editor.

Please configure Current toolchain as: PowerPC EABI e500v2 C Toolchain Release.

Current builder as: PowerPC EABI e500v2 Release Builder

There is no template for P2020 GCC toolchain, you could create a bareboard project for P4080DS to do reference.

Tags (1)