Flexray_Ip_BOARD_InitPeripherals_PBcfg.h: No such file or directory

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Flexray_Ip_BOARD_InitPeripherals_PBcfg.h: No such file or directory

Jump to solution
149 Views
dantaki
Contributor II

I am trying to get the non-autosar Flexray LLCE drivers working on a S32G RDB3 board.

Here are the drivers I have:

dantaki_0-1715721003313.png

 

I get this error when compiling:

 

Building file: ../generate/src/OsIf_Cfg.c
Invoking: Standard S32DS C Compiler
arm-none-eabi-gcc "@generate/src/Clock_Ip_Cfg.args" -MMD -MP -MF"generate/src/OsIf_Cfg.d" -MT"generate/src/OsIf_Cfg.o" -o "generate/src/OsIf_Cfg.o" "../generate/src/OsIf_Cfg.c"
Building file: ../board/dcd_config.c
Invoking: Standard S32DS C Compiler
In file included from ../generate/src/Flexray_Ip_PBcfg.c:42:
C:/src/nxp_drivers/s32g3/s32g3_rdb3/FlexCAN_Ip_Example_S32G399A_M7/generate/include/Flexray_Ip_Cfg.h:47:10: fatal error: Flexray_Ip_BOARD_InitPeripherals_PBcfg.h: No such file or directory
arm-none-eabi-gcc "@board/dcd_config.args" -MMD -MP -MF"board/dcd_config.d" -MT"board/dcd_config.o" -o "board/dcd_config.o" "../board/dcd_config.c"
   47 | #include "Flexray_Ip_BOARD_InitPeripherals_PBcfg.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [generate/src/subdir.mk:35: generate/src/Flexray_Ip_PBcfg.o] Error 1
make: *** Waiting for unfinished jobs....
Finished building: ../generate/src/FlexCAN_Ip_Sa_PBcfg.c
Finished building: ../generate/src/Clock_Ip_Cfg.c
Finished building: ../generate/src/Clock_Ip_PBcfg.c
 
 
 
Finished building: ../board/dcd_config.c
Finished building: ../generate/src/OsIf_Cfg.c
 
 
Finished building: ../generate/src/IntCtrl_Ip_Cfg.c
 
Finished building: ../src/main.c
 
"make -j8 all" terminated with exit code 2. Build might be incomplete.

14:01:59 Build Failed. 3 errors, 0 warnings. (took 1s.122ms)

 

 
Am I missing a driver module?

Where does the Flexray_Ip_BOARD_InitPeripherals_PBcfg.h get generated from?

 

Thanks a lot!

Labels (2)
0 Kudos
1 Solution
146 Views
dantaki
Contributor II

The GUI tool generates the wrong filename.

The include must be changed to "Flexray_43_LLCE_Ip_PBcfg.h" instead of "Flexray_Ip_BOARD_InitPeripherals_PBcfg.h"

View solution in original post

0 Kudos
1 Reply
147 Views
dantaki
Contributor II

The GUI tool generates the wrong filename.

The include must be changed to "Flexray_43_LLCE_Ip_PBcfg.h" instead of "Flexray_Ip_BOARD_InitPeripherals_PBcfg.h"

0 Kudos