Restore Embedded Coder Settings
Mostrar comentarios más antiguos
Hello,
I would like to know of there is a way to restore Embedded Coder Settings. Previously, I could execute the binaries generated on the target device (Aurix TC399), however, after some accidental changes with the settings of Embedded Coder, I am facing some issues runnning the binaries on the target device.
Errors:
The code generated tries to include a header file
#include <emmintrin.h>'
This file is not found within the Aurix Development studio. And hence, I am getting errors with the definition of ' __m128i tmp_0;'
I do not know what "__m128i" does?
Could you please help me revert the changes or either help me to resolve the above error.
Thanks in advance.
5 comentarios
Akshaya
el 10 de Oct. de 2023
Harald
el 10 de Oct. de 2023
Hi,
in the community, there may or may not be somebody who can answer your question.
Best wishes,
Harald
Parth Trehan
el 11 de Oct. de 2023
Hi Akshaya,
I understand that the code generated using current configuration settings results in emission of __m128i instrinsics.
__m128i is a SIMD intrinsic data type. It is defined in <emmintrin.h> and gets generated based on the target specific information provided in the Embedded Coder settings.
Here are a couple of things I would recommend you to try
- Recheck the target settings in your configuration option. Make sure that the target option is similar to the one you wish to deploy your code on. It could be possible that the target does not support SIMD intrinsics but due to the settings in code generation configuration, code-generator is generating SIMD code.
- In the GUI option, you can try and set the Speed>Target Specific Optimization to none.
Please try the above options and see if this resolves your issue.
If the issue persists, you can either respond here with the exact set of configurations that you are using along with information about the target hardware or you can contact the Technical Support team.
Thanks,
Parth
Akshaya
el 11 de Oct. de 2023
Parth Trehan
el 12 de Oct. de 2023
Editada: Parth Trehan
el 12 de Oct. de 2023
Can you set "leverage target hardware instruction set extentions" to none and give it a try?
Respuestas (1)
sschumm
el 26 de Oct. de 2023
0 votos
Hi,
do you want to revert the Embedded Coder Settings to default?
For reverting only some Settings I recommend using Git.
Categorías
Más información sobre Texas Instruments C2000 Processors en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

