machine/intrinsics.h file missing

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
NourMansour
Level 1
Level 1
First reply posted First question asked Welcome!

Hello, 

I am trying to use the assembly functions: 
__moveToDataParam0();
__jumpToFunction();

and I get the following error 1 line after the call to __jumpToFunction():

ctc E208: syntax error - token "," inserted before "" 
 C/C++ Problem

and I expected this to be an include error and as I traced the functions to file:  IfxCpu_IntrinsicsGcc.h I found that it includes: "machine/intrinsics.h"

which is not found in the demo projects or in the project files. How can I resolve this issue?
0 Likes
1 Solution
Erick_G
Moderator
Moderator
Moderator
10 likes received 100 sign-ins 25 solutions authored

Hi @NourMansour,

Could you please share more of your code or the part that’s causing the error?

This file is within the compiler files, so it should be located in ....\Infineon\AURIX-Studio-1.9.16\tools\Compilers\tricore-gcc11\tricore-elf\include\machine in the Gcc compiler case, you don’t need it within the project files.

Best regards,

Erick

View solution in original post

0 Likes
2 Replies
Erick_G
Moderator
Moderator
Moderator
10 likes received 100 sign-ins 25 solutions authored

Hi @NourMansour,

Could you please share more of your code or the part that’s causing the error?

This file is within the compiler files, so it should be located in ....\Infineon\AURIX-Studio-1.9.16\tools\Compilers\tricore-gcc11\tricore-elf\include\machine in the Gcc compiler case, you don’t need it within the project files.

Best regards,

Erick

0 Likes

Thank you for your reply. Now that I understand the file is actually in the compiler files, not the project, I looked for other causes and I found I was missing 

#include "IfxCpu_Intrinsics.h"
 
0 Likes