When you build an AUTOSAR software component model that is configured for multiple instantiation:
The generated ARXML describes internal data such as
DWork as C-typed per-instance memory (PIM).
The generated model header file
contains type definitions for the PIMs.
When you integrate the generated ARXML files and code into the AUTOSAR run-time environment (RTE), the RTE generator does not automatically generate the PIM type definitions. To make the type definitions available for component instances, the RTE must include the generated model header file.
The method for including the model header file varies according to the integration tooling. For example:
In Vector tooling, file
Rte.h includes an optional user types file,
Rte_UserTypes.h to include
In ETAS® tooling,
Rte_UserCfg.h is an optional user configuration
Rte_UserCfg.h to include