I am trying to test out LLCE FlexRay on a S32G-VNP-RDB2 with the S32G274A SOC. I am trying to do a similar test to this post. I am using this LLCE FR example:
I have changed the pins to be what is on the RDB2 board (PL_01, PL_02, PL_03).
However, I am getting the below compilation error. I get this error also when I leave the example as is, generate driver code, and then try to build the project.
make -j8 all
Building file: ../src/Llce_Firmware_Load.c
Building file: ../src/main.c
Building file: ../generate/src/Clock_Ip_BOARD_InitPeripherals_PBcfg.c
Invoking: Standard S32DS C Compiler
arm-none-eabi-gcc "@src/Llce_Firmware_Load.args" -MMD -MP -MF"src/Llce_Firmware_Load.d" -MT"src/Llce_Firmware_Load.o" -o "src/Llce_Firmware_Load.o" "../src/Llce_Firmware_Load.c"
Invoking: Standard S32DS C Compiler
arm-none-eabi-gcc "@src/Llce_Firmware_Load.args" -MMD -MP -MF"src/main.d" -MT"src/main.o" -o "src/main.o" "../src/main.c"
Invoking: Standard S32DS C Compiler
arm-none-eabi-gcc "@generate/src/Clock_Ip_BOARD_InitPeripherals_PBcfg.args" -MMD -MP -MF"generate/src/Clock_Ip_BOARD_InitPeripherals_PBcfg.d" -MT"generate/src/Clock_Ip_BOARD_InitPeripherals_PBcfg.o" -o "generate/src/Clock_Ip_BOARD_InitPeripherals_PBcfg.o" "../generate/src/Clock_Ip_BOARD_InitPeripherals_PBcfg.c"
Building file: ../generate/src/Clock_Ip_Cfg.c
Building file: ../generate/src/Flexray_43_LLCE_Ip_VS_0_PBcfg.c
Invoking: Standard S32DS C Compiler
arm-none-eabi-gcc "@generate/src/Clock_Ip_BOARD_InitPeripherals_PBcfg.args" -MMD -MP -MF"generate/src/Clock_Ip_Cfg.d" -MT"generate/src/Clock_Ip_Cfg.o" -o "generate/src/Clock_Ip_Cfg.o" "../generate/src/Clock_Ip_Cfg.c"
Building file: ../generate/src/Fr_43_LLCE_VS_0_PBcfg.c
Invoking: Standard S32DS C Compiler
arm-none-eabi-gcc "@generate/src/Clock_Ip_BOARD_InitPeripherals_PBcfg.args" -MMD -MP -MF"generate/src/Flexray_43_LLCE_Ip_VS_0_PBcfg.d" -MT"generate/src/Flexray_43_LLCE_Ip_VS_0_PBcfg.o" -o "generate/src/Flexray_43_LLCE_Ip_VS_0_PBcfg.o" "../generate/src/Flexray_43_LLCE_Ip_VS_0_PBcfg.c"
In file included from ../src/Llce_Firmware_Load.c:47:
Invoking: Standard S32DS C Compiler
C:/src/s32g_flexray_bringup/s32g_studio_workspace/FR_llce_ExternalCommunication_node1_S32G274A_M7/include/Llce_Firmware_Load.h:49:10: fatal error: StandardTypes.h: No such file or directory
arm-none-eabi-gcc "@generate/src/Clock_Ip_BOARD_InitPeripherals_PBcfg.args" -MMD -MP -MF"generate/src/Fr_43_LLCE_VS_0_PBcfg.d" -MT"generate/src/Fr_43_LLCE_VS_0_PBcfg.o" -o "generate/src/Fr_43_LLCE_VS_0_PBcfg.o" "../generate/src/Fr_43_LLCE_VS_0_PBcfg.c"
49 | #include "StandardTypes.h"
Building file: ../board/Siul2_Port_Ip_Cfg.c
| ^~~~~~~~~~~~~~~~~
Invoking: Standard S32DS C Compiler
compilation terminated.
arm-none-eabi-gcc "@board/Siul2_Port_Ip_Cfg.args" -MMD -MP -MF"board/Siul2_Port_Ip_Cfg.d" -MT"board/Siul2_Port_Ip_Cfg.o" -o "board/Siul2_Port_Ip_Cfg.o" "../board/Siul2_Port_Ip_Cfg.c"
../generate/src/Clock_Ip_BOARD_InitPeripherals_PBcfg.c:47:10: fatal error: StandardTypes.h: No such file or directory
47 | #include "StandardTypes.h"
| ^~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [src/subdir.mk:23: src/Llce_Firmware_Load.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [generate/src/subdir.mk:29: generate/src/Clock_Ip_BOARD_InitPeripherals_PBcfg.o] Error 1
../generate/src/Clock_Ip_Cfg.c:48:10: fatal error: StandardTypes.h: No such file or directory
48 | #include "StandardTypes.h"
| ^~~~~~~~~~~~~~~~~
compilation terminated.
../src/main.c:26:10: fatal error: Mcu.h: No such file or directory
26 | #include "Mcu.h"
| ^~~~~~~
compilation terminated.
make: *** [generate/src/subdir.mk:29: generate/src/Clock_Ip_Cfg.o] Error 1
In file included from ../generate/src/Flexray_43_LLCE_Ip_VS_0_PBcfg.c:43:
C:/src/s32g_flexray_bringup/s32g_studio_workspace/FR_llce_ExternalCommunication_node1_S32G274A_M7/generate/include/Flexray_43_LLCE_Ip_Cfg.h:46:10: fatal error: Mcal.h: No such file or directory
46 | #include "Mcal.h"
| ^~~~~~~~
compilation terminated.
make: *** [src/subdir.mk:23: src/main.o] Error 1
make: *** [generate/src/subdir.mk:29: generate/src/Flexray_43_LLCE_Ip_VS_0_PBcfg.o] Error 1
../generate/src/Fr_43_LLCE_VS_0_PBcfg.c:44:10: fatal error: Fr_43_LLCE.h: No such file or directory
44 | #include "Fr_43_LLCE.h"
| ^~~~~~~~~~~~~~
compilation terminated.
make: *** [generate/src/subdir.mk:29: generate/src/Fr_43_LLCE_VS_0_PBcfg.o] Error 1
In file included from ../board/Siul2_Port_Ip_Cfg.c:43:
../board/Siul2_Port_Ip_Cfg.h:46:10: fatal error: S32G274A_SIUL2.h: No such file or directory
46 | #include "S32G274A_SIUL2.h"
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [board/subdir.mk:29: board/Siul2_Port_Ip_Cfg.o] Error 1
"make -j8 all" terminated with exit code 2. Build might be incomplete.
13:00:30 Build Failed. 15 errors, 0 warnings. (took 491ms)
I can also see errors in the peripherals configuration which I assume are related:
Thanks in advance for the help.
Solved! Go to Solution.
Following up on this. The above worked for me.
Following up on this. The above worked for me.
Hi,
Can you help us confirm which RTD/LLCE/IDE version are you using? We seem to understand that you have the following versions:
But we would like confirmation. If the above is true, then there seems to be a mistake on regards of the RTD + LLCE bundle. The following is told under the LLCE-FW v1.0.7 release notes:
For which RTD v4.0.2 should be used instead.
Please, let us know.