Announcements

Equip yourself to optimize AURIX™ MCUs for Evs at the EV Webinar. Click here to register.

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

AURIX™ Forum Discussions

User39504831
Level 2
Level 2
First like received First solution authored 10 replies posted

Hi

Am using TC375 lite kit and am using tricore tasking compiler to generate hex and flash in the board using memtool.

Right now am building the "blinky_led" code, from the code examples but am getting these errors(>42) for the file "IfxCpu_regdef.h"

error -> syntax error - token "<integer>" deleted

User39504831_0-1671525430588.png

 

I just directly copied the code as-is from code examples and included paths in .cproject, but this error is giving me a hard time

Appreciate any help

Thanks

0 Likes
1 Solution
User39504831
Level 2
Level 2
First like received First solution authored 10 replies posted

Hi @Nambi 

The "automatic inclusion of .sfr file" in tasking compiler caused this issue.
Now it seems to be resolved
Thanks

View solution in original post

12 Replies
Nambi
Moderator
Moderator
Moderator
First like given 25 likes received 50 solutions authored

Hi,

Can you directly import the AURIX_Blinky_LED_1_KIT_TC375_LK example from ADS(Aurix Development Studio) instead of copying and pasting and try building it with the default setting?

What is the version of ADS used? Can you try the latest version of ADS?

Best Regards.

0 Likes
User39504831
Level 2
Level 2
First like received First solution authored 10 replies posted

Hi @Nambi 

so looks like my version for ADS is 1.9.0

When am using ADS instead of tasking the code builds without any errors

Please suggest how should I build without failures using tasking compiler

thanks

0 Likes
Nambi
Moderator
Moderator
Moderator
First like given 25 likes received 50 solutions authored

Hi,

ADS internally uses a non-commercial bundled tasking compiler.

To use an external Tasking compiler, refer to the "Configuring an external TASKING Toolchain" section in the ADS help section.

Best Regards.

0 Likes
User39504831
Level 2
Level 2
First like received First solution authored 10 replies posted

Hi 

I will take a look at that and check

Till then can you please let me know why am facing the "main issue" of syntax error - token "<integer>" deleted

Thanks

0 Likes
Nambi
Moderator
Moderator
Moderator
First like given 25 likes received 50 solutions authored

Hi,

I do not see any issue since the project(that was directly imported from ADS) builds without any errors.

You can compare and check for any difference across the complete projects that build with and without this error.

Best Regards.

0 Likes
User39504831
Level 2
Level 2
First like received First solution authored 10 replies posted

Hi

Everything looks pretty much same actually.

So basically what i mean is, when i import blinky_led in ADS its building correctly.

But all the files same I tried for tasking compiler its giving error

Looks like my ADS is using some newer version than tasking

 

0 Likes
User39504831
Level 2
Level 2
First like received First solution authored 10 replies posted

Hi @Nambi 

please help me with this if possible

need some  assistance on this
Thanks

If needed i can send my project code 

0 Likes
Nambi
Moderator
Moderator
Moderator
First like given 25 likes received 50 solutions authored

Hi,

1. I assume that you are still using ADS as the IDE when facing this issue. Could you confirm?
2. a) Were you able to follow "Configuring an external TASKING Toolchain"?
b) After following the steps in a), you can clean, build, and check.
3. Can you also check the below thread?
https://community.infineon.com/t5/AURIX/Could-anyone-explain-how-to-integrate-SafeTlib-into-TC237-pr...

Best Regards.

0 Likes
Nambi
Moderator
Moderator
Moderator
First like given 25 likes received 50 solutions authored

Hi @User13836,

Could you help here?

Best Regards.

0 Likes
User39504831
Level 2
Level 2
First like received First solution authored 10 replies posted

Hi @Nambi 

1] ADS does not give any build errors, so I referred this video which tells how to transport ADS code to tasking compiler - https://www.youtube.com/watch?v=QJ1loZfvZ2o

I followed the tutorial and am still getting the error even after clean and build ( In tasking compiler)

Tahnks

0 Likes
Nambi
Moderator
Moderator
Moderator
First like given 25 likes received 50 solutions authored

Hi,

I understand now that you are using TASKING IDE when facing the error, not ADS IDE. If so, we recommend you contact TASKING for further support.

Best Regards.

0 Likes
User39504831
Level 2
Level 2
First like received First solution authored 10 replies posted

Hi @Nambi 

The "automatic inclusion of .sfr file" in tasking compiler caused this issue.
Now it seems to be resolved
Thanks