embedded coder generating code for MPC55xx using gcc compiler
3 views (last 30 days)
Show older comments
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?
0 Comments
Accepted Answer
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.
0 Comments
More Answers (0)
See Also
Categories
Find more on Code Generation in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!