- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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
Solved! Go to Solution.
- Labels:
-
AURIX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Nambi
The "automatic inclusion of .sfr file" in tasking compiler caused this issue.
Now it seems to be resolved
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Nambi
please help me with this if possible
need some assistance on this
Thanks
If needed i can send my project code
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Nambi
The "automatic inclusion of .sfr file" in tasking compiler caused this issue.
Now it seems to be resolved
Thanks