Hello everyone,
I am working with S32 Design Studio version 3.6.5 and using the S32K1 AUTOSAR 4.4 – RTD 3.0.0 (QLP02, D2505) package.
I tried to create and build the CAN example project provided in the RTD for MCU S32K144, targeting the S32K144EVB board.
Environment details:
Steps followed:
Imported the CAN example using “S32DS Project From Example”.
Selected CAN0 related pins (TX/RX) using the configuration tool.
Clicked Update Code.
Tried to build the project.
Issue:
During compilation, I consistently get the following error:
./board/Port_Ci_Port_Ip_Cfg.h:47:10: fatal error: Port_Ci_Port_Ip_Types.h: No such file or directory #include "Port_Ci_Port_Ip_Types.h" compilation terminated. Building file: ../RTD/src/FlexCAN_Ip_Irq.c Invoking: Standard S32DS C Compiler
It looks like the Port IP AUTOSAR generated header file is missing, even after configuring CAN pins and updating the code.
I have checked multiple forum posts and tried the suggested steps, but I am still unable to resolve this issue.
Questions:
Is this CAN example intended to be used directly as an AUTOSAR ECUC-based project in S32DS 3.6.5?
Should a separate AUTOSAR RTD project be created first and then the example source files copied?
Is there any additional step required to enable the AUTOSAR ECU Configuration editor instead of the SDK Pins/Clocks tool in S32DS 3.6.5?
Any guidance on the correct workflow to build this RTD CAN example successfully on S32K144EVB would be greatly appreciated.
Thank you.