Restore Embedded Coder Settings

21 次查看(过去 30 天)
Akshaya
Akshaya 2023-10-9
回答: sschumm 2023-10-26
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 个评论
Akshaya
Akshaya 2023-10-11
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 2023-10-12
编辑:Parth Trehan 2023-10-12
Can you set "leverage target hardware instruction set extentions" to none and give it a try?

请先登录,再进行评论。

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Deployment, Integration, and Supported Hardware 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by