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

1 visualizzazione (ultimi 30 giorni)
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.

Risposte (0)

Categorie

Scopri di più su Simulink Coder in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by