Migrate an ADS example from the Infineon GitHub to the TASKING TriCore Eclipse IDE

25-Jun-2025

The AURIX Development Studio (ADS) can import example projects downloaded and extracted from the Infineon GitHub. Meanwhile, the TASKING TriCore Eclipse environment does not support the import of an existing ADS project into a TASKING Eclipse workspace.


Possible solution

To mitigate this, a new project can be created within the TASKING Eclipse environment.

As this article uses an example project for ADS from the Infineon GitHub, make sure to download the project and extract the ZIP file before proceeding with the following steps:

1. Create a new project in the TASKING TriCore VX-toolset.

The project name can be the same as the Infineon project name. For example, you can use the name of the Infineon project ASCLIN_Shell_UART_1_KIT_TC297_TFT for the new project in the TASKING TriCore VX-toolset, as shown below.


2. From the Processor selection list, select the same processor used in the ADS project. For example, if the ADS project used TC29xB, select TC29xB from the AURIX Family.

Note that the new project should not include the startup file, linker LSL file, and the debugger synchronisation files when created. To do this, disable the following options:

  • Add startup file(s) to the project
  • Add linker script file to the project
  • Include debugger synchronization utility



3. Copy all files from the ADS project directory to the project created in the TriCore Eclipse IDE.

4. Open the command prompt and navigate to the Infineon project directory. Then, execute the following command to create a file folder_names.txt that contains all directory names:

dir /b /s /ad > folder_names.txt

5. Open the folder_names.txt file in Notepad++. Use the Find and Replace function to replace the full path to the project directory with a relative path. 

For example, if the Infineon project is located in the directory C:\Infineon_AURIX_PROJECTS\ASCLIN_Shell_UART_1_KIT_TC297_TFT , the folder_names.txt file will contain entries like:

C:\Infineon_AURIX_PROJECTS\ASCLIN_Shell_UART_1_KIT_TC297_TFT\Configurations
C:\Infineon_AURIX_PROJECTS\ASCLIN_Shell_UART_1_KIT_TC297_TFT\Configurations\Debug

In this use case, replace C:\Infineon_AURIX_PROJECTS\ASCLIN_Shell_UART_1_KIT_TC297_TFT with two dots (..), as shown below:



After performing Replace All in the folder_names.txt file, the result will be:

..\Configurations
..\Configurations\Debug

6. Navigate to Project  | Properties  | C/C++ Build | Settings in the TriCore Eclipse IDE and select the following options:

  • Select C/C++ Compiler | Include Paths and copy the content of the folder_names.txt file.
  • Select C/C++ Compiler | Preprocessing and disable the option Automatic inclusion of '.sfr' file.
  • Select C/C++ Compiler | Allocation and change the value for Threshold for putting data in __near from 8 to 0.
  • Select Linker | Script File and replace the existing entry under Linker script file with ../Lcf_Tasking_Tricore_Tc.lsl.

7. If the file Ifx_Ssw_Infra.c  is included in the project files, comment out the _main() function call within this file, which is located in the directory \Libraries\Infra\Ssw\<derivative>\Tricore by searching for the following code:

 #ifdef __TASKING__
        extern void _main(void); /* cpp initialization */
        _main();

8. Build the project.


More resources

Was this answer helpful?