Assembler commands in C-code for S-Functions
Mostra commenti meno recenti
Hello! I have a question concerning assembler commands in custom C-code that I want to integrate in an simulink s-function block for code generation by Real Time Workshop afterwards. Speaking more detailed: I wanted to implement an own SCI-Protocol, specified by my University department, in a Simulink block, so I can easily use it in a model for transforming it into C-Code that will run on my TI 2808 DSP. For the SCI and GPIO initialization, I will need assembler commands like "EALLOW" etc. to be able to write certain registers. The problem is, that the lcc compiler does not accept the command "asm(...)", resulting in an error that the symbol asm is undefined. Does anyone have an answer that would solve my problem or lead me closer to the goal? Any help is appreciated! Thanks so far!
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Texas Instruments C2000 Processors in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!