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

1 次查看(过去 30 天)
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.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Simulink Coder 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by