iLLD_TC27xC  1.0
How to enable CPUs during startup?
Collaboration diagram for How to enable CPUs during startup?:

Startup sequence of CPU0 execute the function to initialize the remaining available CPUs. Core Startup Sequence. Startup sequence enables all the available CPUs.

The configuration parameters IFX_CFG_CPU_CSTART_ENABLE_TRICOREx control this function. To modify the default configuration, these macros are to be defined. Create a file to define these macros, for example, Ifx_Cfg_CStart.h at ../0_Src/0_AppSw/Config/Tricore (or in DemoApp folder).

Note
This kind of definitions, overload the macros, which are already defined in IfxCpu_CStart.h. !!IMPORTANT!! Don't modify these at IfxCpu_CStart.h, because this is library file.

Details of configuration parameters:

Enable/Disable of Tricore CPU0 with parameter:
IFX_CFG_CPU_CSTART_ENABLE_TRICORE0

Enable/Disable of Tricore CPU1 with parameter:
IFX_CFG_CPU_CSTART_ENABLE_TRICORE1

Enable/Disable of Tricore CPU2 with parameter:
IFX_CFG_CPU_CSTART_ENABLE_TRICORE2

Following example shows, how to enable all available cores.

//file: Ifx_Cfg_CStart.h
#define IFX_CFG_CPU_CSTART_ENABLE_TRICORE0 (1) //Cpu0 is enabled
#define IFX_CFG_CPU_CSTART_ENABLE_TRICORE1 (1) //Cpu1 is enabled
#define IFX_CFG_CPU_CSTART_ENABLE_TRICORE2 (1) //Cpu2 is enabled