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

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

카테고리

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

질문:

2024년 2월 26일

Community Treasure Hunt

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

Start Hunting!

Translated by