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

AURIX™ Forum Discussions

User20130
Level 1
Level 1
Greetings Community,

I'm having issues getting official TC267_TFT App Kit Code to compile ("AURIX TC267x TFT Application Kit Firmware") and hoped someone could help.
(This is my entry into AURIX Development)

I'm using HighTec Free Entry Toolchain (incl IDE) and tried the following:

1) Configure project to accept HighTech Toolchain

Take this official project, import into HighTech IDE
Adapt CfgCompiler_Gnuc.mk
Add relevant environment variables (BINUTILS_PATH and PATH)
-> Compilation fails after a while with following errors:
[HTML]make all
FIND: Parameterformat falsch
Now Build started !!!
make[1]: Entering directory 'AppKitOrig'
Building output 2_Out/Tricore_Gnuc/AppKitOrig_Tricore.elf
c:/program files/hightech/toolchains/tricore/v4.9.3.0-infineon-1.0/bin/../lib/gcc/tricore/4.9.4/../../../../tricore/bin/ld.exe: error: invalid core architecture 'aurix' for option --mcpu=
make[1]: Leaving directory 'AppKitOrig'
collect2.exe: error: ld returned 1 exit status
make[1]: *** [1_ToolEnv/0_Build/9_Make/0_Src.mk:68: 2_Out/Tricore_Gnuc/AppKitOrig_Tricore.elf] Error 1
make: *** [Makefile:15: build] Error 2[/HTML]

2) Feed Project to AURIX IDE (Apply Steps of Attempt 1)

Same Result as 1)

3) Create new Project based on BIFACES BaseFramework_TC26xB and integrating official App Kit Code

This failed for me already. Will update this post after next attempt with results.
BIFACES Baseframework and Application Kit are structurally relatively different, so I'm not sure this approach is intended.

Update 1:
This time I used latest TC26B BIFACES Baseframework (Having an outdated framework available for download that contains stuff like BaseFramework_TC23xA and having an up to date one with stuff like BaseFramework_TC26B is very confusing!)

a) removed Source Code from TC26B
b) added TFT application sources (0_AppSW, 1_SrvSW, 2_CDrv, 4_McHal)
c) Added relevant environment variables (BINUTILS_PATH and PATH)
d) changed almost every source to no longer cause compile errors due to issues with includes (relative includes -> general includes e. g. "std/compiler.h" -> "compiler.h")

Now I'm getting errors like this (all within file IfxCpu_Intrinsics.h)
[HTML]"0_Src/4_McHal/Tricore/Cpu/Std/IfxCpu_Intrinsics.h:67:36: error: 'asm' undeclared (first use in this function)"[/HTML]

Maybe I have to add additional iLLD stuff?
0 Likes
0 Replies