Porting Code Composer Studio C driver code to C S-Function

7 visualizaciones (últimos 30 días)
Luke
Luke el 26 de Feb. de 2024
Using a C S-Function I need to port a driver written in Code Composer Stuido (CCS) over to matlab. The problem is the libraries used by CCS have natural conflicts with the std libraries that Simulink uses. I have tried "-nostartfiles" as a compiler option but the s-function seems to ignore these. I have read this guide by Giampiero Campa however it was to no avail as it never meantions how he deals with library conflicts.
The reason I have have to use the driver files by CCS is that I need the SPI driver that is used by my driver to communicate from my F28002x to the chip.

Respuestas (0)

Categorías

Más información sobre Simulink Coder en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by