Restore Embedded Coder Settings

11 views (last 30 days)
Akshaya
Akshaya on 9 Oct 2023
Answered: sschumm on 26 Oct 2023
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 Comments
Akshaya
Akshaya on 11 Oct 2023
Hi Parth,
Thank you so much for taking time and responding to the query.
Target Device: Aurix TC399 :: Infineon TriCore
Initially, before modifying the embedded coder config, __m128i was not generated from Embedded COder. As, I said, during some accidental chnages, now the Embedded Coder is generating __m128i inttrinsic datatype.
Unfortuanately, the compiler is not able to find #include <emmintrin.h>'. However, when I tried to manually search for the header file and add it to the workspace, the number of errors increases dratically within "#include <emmintrin.h>' this header file.
I have attached some Embedded Coder Config Screenshots for your reference. Please let me knw if you need any further information to assess the issue! :)
Thanks in advance!
Parth Trehan
Parth Trehan on 12 Oct 2023
Edited: Parth Trehan on 12 Oct 2023
Can you set "leverage target hardware instruction set extentions" to none and give it a try?

Sign in to comment.

Answers (1)

sschumm
sschumm on 26 Oct 2023
Hi,
do you want to revert the Embedded Coder Settings to default?
For reverting only some Settings I recommend using Git.

Categories

Find more on Deployment, Integration, and Supported Hardware in Help Center and File Exchange

Products


Release

R2023b

Community Treasure Hunt

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

Start Hunting!