Why am I not able to see calls to "arm_fir" in generated code when using ARM Cortex-M support packages for Embedded Coder and DSP System Toolbox?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
MathWorks Support Team
il 1 Lug 2019
Modificato: MathWorks Support Team
il 24 Dic 2023
I'm unable to observe any CMSIS code when generating code for the "dsp.FIRFilter" system object. I have the Embedded Coder support package for ARM Cortex-M Processors as well as the DSP System Toolbox support package for ARM Cortex-M Processors.
When I use the following example:
I observe calls to functions like "arm_fir_...". So I can confirm that the support package does indeed work, but when I try to generate code for my customer function, I don't see any calls to functions from the ARM (CMSIS) library.
How do I generate code that contains calls to "arm_fir_"?
Risposta accettata
MathWorks Support Team
il 23 Dic 2023
Modificato: MathWorks Support Team
il 18 Nov 2021
In your code, please consider making the "dsp.FIRFilter" object persistent. If this object is not made persistent, MATLAB Coder optimizes out the variable and there will be no calls made to "arm_fir". Please also note that, as of MATLAB R2019a, the DSP System Toolbox support package for ARM Cortex-M Processors is no longer required to generate CMSIS code. It is sufficient to use the Embedded Coder support package for ARM Cortex-M Processors.
0 Commenti
Più risposte (0)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!