embedded coder generating code for MPC55xx using gcc compiler

3 views (last 30 days)
I am using Matlab Simulink 2011b. and would like to to use the mingw gcc, make etc. to compile code generated with embedded coder for the mpc555 target. So far i have only found documentation explaining how to set up the diab or windriver toolchain. This should work with the gcc compiler as well but is there any documentation on the setup?

Accepted Answer

Kaustubha Govind
Kaustubha Govind on 28 Sep 2011
I don't believe Embedded Coder officially supports GCC as a compiler for MPC55xx specific targets. Do you have access to MPC55xx libraries for GCC (if yes, is that a mainstream package?).
However, note that code generated from Simulink is ANSI-compliant, so you can configure a model to work with pretty much any C compiler. If you are generating code for MPC55xx blocks/drivers, you will need to figure out the GCC rules to link against these driver libraries. See Custom Target Development for documentation on how you can customize the code generation and build process.

More Answers (0)

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!