embedded coder generating code for MPC55xx using gcc compiler

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?

 채택된 답변

Kaustubha Govind
Kaustubha Govind 2011년 9월 28일

0 개 추천

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개)

카테고리

도움말 센터File Exchange에서 Code Generation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by