RE: S32G2: IPCF_Example_multi_instance_S32G274_M7_0 - header files missing

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

RE: S32G2: IPCF_Example_multi_instance_S32G274_M7_0 - header files missing

1,009 Views
Jitender1203
Contributor III

Hi,

I'm working on a IPCF_Example_multi_instance_S32G274_M7_0. This example was not compiling, getting errors - header files are missing. My work is stuck because of these errors.

Can  plz help??

 

10:08:31 **** Build of configuration Debug_RAM for project IPCF_Example_multi_instance_S32G274_M7_0 ****
make -j8 all
Building file: ../src/main.c
Building file: ../src/sample.c
Building file: ../Project_Settings/Startup_Code/Vector_Table.s
Invoking: Standard S32DS C Compiler
arm-none-eabi-gcc "@src/main.args" -MMD -MP -MF"src/main.d" -MT"src/main.o" -o "src/main.o" "../src/main.c"
Invoking: Standard S32DS C Compiler
Invoking: Standard S32DS Assembler
arm-none-eabi-gcc "@src/main.args" -MMD -MP -MF"src/sample.d" -MT"src/sample.o" -o "src/sample.o" "../src/sample.c"
arm-none-eabi-gcc "@Project_Settings/Startup_Code/Vector_Table.args" -o "Project_Settings/Startup_Code/Vector_Table.o" "../Project_Settings/Startup_Code/Vector_Table.s"
Building file: ../Project_Settings/Startup_Code/exceptions.c
Building file: ../Project_Settings/Startup_Code/nvic.c
In file included from C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Internal.h:46,
from C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/Mcal.h:66,
from ../src/main.c:19:
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:47:1: error: expected identifier or '(' before '[' token
47 | [!NOCODE!][!// Include specific header file
| ^
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:50:19: error: stray '#' in program
Invoking: Standard S32DS C Compiler
50 | [!CODE!][!WS "0"!]#include "S32K312_SYSTICK.h"[!CR!][!ENDCODE!][!//
| ^
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:52:19: error: stray '#' in program
52 | [!CODE!][!WS "0"!]#include "S32K314_SYSTICK.h"[!CR!][!ENDCODE!][!//
| ^
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:54:19: error: stray '#' in program
Invoking: Standard S32DS C Compiler
54 | [!CODE!][!WS "0"!]#include "S32K324_SYSTICK.h"[!CR!][!ENDCODE!][!//
arm-none-eabi-gcc "@Project_Settings/Startup_Code/exceptions.args" -MMD -MP -MF"Project_Settings/Startup_Code/exceptions.d" -MT"Project_Settings/Startup_Code/exceptions.o" -o "Project_Settings/Startup_Code/exceptions.o" "../Project_Settings/Startup_Code/exceptions.c"
| ^
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:56:19: error: stray '#' in program
Building file: ../Project_Settings/Startup_Code/startup.c
56 | [!CODE!][!WS "0"!]#include "S32K342_SYSTICK.h"[!CR!][!ENDCODE!][!//
arm-none-eabi-gcc "@Project_Settings/Startup_Code/exceptions.args" -MMD -MP -MF"Project_Settings/Startup_Code/nvic.d" -MT"Project_Settings/Startup_Code/nvic.o" -o "Project_Settings/Startup_Code/nvic.o" "../Project_Settings/Startup_Code/nvic.c"
| ^
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:58:19: error: stray '#' in program
58 | [!CODE!][!WS "0"!]#include "S32K344_SYSTICK.h"[!CR!][!ENDCODE!][!//
| ^
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:60:19: error: stray '#' in program
60 | [!CODE!][!WS "0"!]#include "S32G274A_SYSTICK.h"[!CR!][!ENDCODE!][!//
| ^
../src/sample.c:24:10: fatal error: ipcf_Ip_Cfg.h: No such file or directory
24 | #include "ipcf_Ip_Cfg.h"
| ^~~~~~~~~~~~~~~
Invoking: Standard S32DS C Compiler
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:62:19: error: stray '#' in program
62 | [!CODE!][!WS "0"!]#include "S32G399A_SYSTICK.h"[!CR!][!ENDCODE!][!//
arm-none-eabi-gcc "@Project_Settings/Startup_Code/exceptions.args" -MMD -MP -MF"Project_Settings/Startup_Code/startup.d" -MT"Project_Settings/Startup_Code/startup.o" -o "Project_Settings/Startup_Code/startup.o" "../Project_Settings/Startup_Code/startup.c"
| ^
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:64:19: error: stray '#' in program
64 | [!CODE!][!WS "0"!]#include "S32R45_SYSTICK.h"[!CR!][!ENDCODE!][!//
| ^
compilation terminated.
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:66:19: error: stray '#' in program
Building file: ../Project_Settings/Startup_Code/startup_cm7.s
66 | [!CODE!][!WS "0"!]#include "S32R41_SYSTICK.h"[!CR!][!ENDCODE!][!//
| ^
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:68:19: error: stray '#' in program
68 | [!CODE!][!WS "0"!]#include "S32K116_SYSTICK.h"[!CR!][!ENDCODE!][!//
| ^
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:70:19: error: stray '#' in program
70 | [!CODE!][!WS "0"!]#include "S32K118_SYSTICK.h"[!CR!][!ENDCODE!][!//
| ^
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:72:19: error: stray '#' in program
72 | [!CODE!][!WS "0"!]#include "S32K142W_SYSTICK.h"[!CR!][!ENDCODE!][!//
| ^
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:74:19: error: stray '#' in program
74 | [!CODE!][!WS "0"!]#include "S32K142_SYSTICK.h"[!CR!][!ENDCODE!][!//
| ^
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:76:19: error: stray '#' in program
Building file: ../Project_Settings/Startup_Code/system.c
76 | [!CODE!][!WS "0"!]#include "S32K144W_SYSTICK.h"[!CR!][!ENDCODE!][!//
| ^
make: *** [src/subdir.mk:23: src/sample.o] Error 1
make: *** Waiting for unfinished jobs....
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:78:19: error: stray '#' in program
78 | [!CODE!][!WS "0"!]#include "S32K144_SYSTICK.h"[!CR!][!ENDCODE!][!//
| ^
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:80:19: error: stray '#' in program
80 | [!CODE!][!WS "0"!]#include "S32K146_SYSTICK.h"[!CR!][!ENDCODE!][!//
| ^
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:82:19: error: stray '#' in program
82 | [!CODE!][!WS "0"!]#include "S32K148_SYSTICK.h"[!CR!][!ENDCODE!][!//
| ^
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:84:19: error: stray '#' in program
84 | [!CODE!][!WS "0"!]#include "S32E27_SYSTICK.h"[!CR!][!ENDCODE!][!//
| ^
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:86:19: error: stray '#' in program
86 | [!CODE!][!WS "0"!]#include "S32Z27_SYSTICK.h"[!CR!][!ENDCODE!][!//
| ^
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:88:19: error: stray '#' in program
88 | [!CODE!][!WS "0"!]#include "SJA1110.h"[!CR!][!ENDCODE!][!//
| ^
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:144:43: error: token "[" is not valid in preprocessor expressions
144 | #define OSIF_ENABLE_USER_MODE_SUPPORT ([!IF "OsIfGeneral/OsIfEnableUserModeSupport"!]STD_ON[!ELSE!]STD_OFF[!ENDIF!])
| ^
Invoking: Standard S32DS Assembler
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:147:20: note: in expansion of macro 'OSIF_ENABLE_USER_MODE_SUPPORT'
147 | #if (STD_ON == OSIF_ENABLE_USER_MODE_SUPPORT)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Internal.h:46,
from C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/Mcal.h:66,
from ../Project_Settings/Startup_Code/exceptions.c:30:
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:47:1: error: expected identifier or '(' before '[' token
47 | [!NOCODE!][!// Include specific header file
| ^
In file included from C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Internal.h:46,
from C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/Mcal.h:66,
from ../src/main.c:19:
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:161:9: error: stray '#' in program
161 | [!CODE!]#define USING_OS_AUTOSAROS[!ENDCODE!]
| ^
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:165:9: error: stray '#' in program
arm-none-eabi-gcc "@Project_Settings/Startup_Code/Vector_Table.args" -o "Project_Settings/Startup_Code/startup_cm7.o" "../Project_Settings/Startup_Code/startup_cm7.s"
165 | [!CODE!]#define USING_OS_BAREMETAL[!ENDCODE!]
| ^
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:169:9: error: stray '#' in program
169 | [!CODE!]#define USING_OS_FREERTOS[!ENDCODE!]
| ^
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:173:9: error: stray '#' in program
173 | [!CODE!]#define USING_OS_ZEPHYR[!ENDCODE!]
| ^
../src/main.c:20:10: fatal error: Clock_Ip.h: No such file or directory
20 | #include "Clock_Ip.h"
| ^~~~~~~~~~~~
compilation terminated.
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:50:19: error: stray '#' in program
50 | [!CODE!][!WS "0"!]#include "S32K312_SYSTICK.h"[!CR!][!ENDCODE!][!//
| ^
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:52:19: error: stray '#' in program
52 | [!CODE!][!WS "0"!]#include "S32K314_SYSTICK.h"[!CR!][!ENDCODE!][!//
| ^
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:54:19: error: stray '#' in program
54 | [!CODE!][!WS "0"!]#include "S32K324_SYSTICK.h"[!CR!][!ENDCODE!][!//
Invoking: Standard S32DS C Compiler
| ^
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:56:19: error: stray '#' in program
56 | [!CODE!][!WS "0"!]#include "S32K342_SYSTICK.h"[!CR!][!ENDCODE!][!//
| ^
arm-none-eabi-gcc "@Project_Settings/Startup_Code/exceptions.args" -MMD -MP -MF"Project_Settings/Startup_Code/system.d" -MT"Project_Settings/Startup_Code/system.o" -o "Project_Settings/Startup_Code/system.o" "../Project_Settings/Startup_Code/system.c"
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:58:19: error: stray '#' in program
58 | [!CODE!][!WS "0"!]#include "S32K344_SYSTICK.h"[!CR!][!ENDCODE!][!//
| ^
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:60:19: error: stray '#' in program
60 | [!CODE!][!WS "0"!]#include "S32G274A_SYSTICK.h"[!CR!][!ENDCODE!][!//
| ^
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:62:19: error: stray '#' in program
62 | [!CODE!][!WS "0"!]#include "S32G399A_SYSTICK.h"[!CR!][!ENDCODE!][!//
| ^
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:64:19: error: stray '#' in program
64 | [!CODE!][!WS "0"!]#include "S32R45_SYSTICK.h"[!CR!][!ENDCODE!][!//
| ^
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:66:19: error: stray '#' in program
66 | [!CODE!][!WS "0"!]#include "S32R41_SYSTICK.h"[!CR!][!ENDCODE!][!//
| ^
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:68:19: error: stray '#' in program
68 | [!CODE!][!WS "0"!]#include "S32K116_SYSTICK.h"[!CR!][!ENDCODE!][!//
| ^
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:70:19: error: stray '#' in program
70 | [!CODE!][!WS "0"!]#include "S32K118_SYSTICK.h"[!CR!][!ENDCODE!][!//
| ^
make: *** [src/subdir.mk:23: src/main.o] Error 1
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:72:19: error: stray '#' in program
72 | [!CODE!][!WS "0"!]#include "S32K142W_SYSTICK.h"[!CR!][!ENDCODE!][!//
| ^
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:74:19: error: stray '#' in program
74 | [!CODE!][!WS "0"!]#include "S32K142_SYSTICK.h"[!CR!][!ENDCODE!][!//
| ^
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:76:19: error: stray '#' in program
76 | [!CODE!][!WS "0"!]#include "S32K144W_SYSTICK.h"[!CR!][!ENDCODE!][!//
| ^
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:78:19: error: stray '#' in program
78 | [!CODE!][!WS "0"!]#include "S32K144_SYSTICK.h"[!CR!][!ENDCODE!][!//
| ^
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:80:19: error: stray '#' in program
80 | [!CODE!][!WS "0"!]#include "S32K146_SYSTICK.h"[!CR!][!ENDCODE!][!//
| ^
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:82:19: error: stray '#' in program
82 | [!CODE!][!WS "0"!]#include "S32K148_SYSTICK.h"[!CR!][!ENDCODE!][!//
| ^
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:84:19: error: stray '#' in program
84 | [!CODE!][!WS "0"!]#include "S32E27_SYSTICK.h"[!CR!][!ENDCODE!][!//
| ^
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:86:19: error: stray '#' in program
86 | [!CODE!][!WS "0"!]#include "S32Z27_SYSTICK.h"[!CR!][!ENDCODE!][!//
| ^
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:88:19: error: stray '#' in program
88 | [!CODE!][!WS "0"!]#include "SJA1110.h"[!CR!][!ENDCODE!][!//
| ^
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:144:43: error: token "[" is not valid in preprocessor expressions
144 | #define OSIF_ENABLE_USER_MODE_SUPPORT ([!IF "OsIfGeneral/OsIfEnableUserModeSupport"!]STD_ON[!ELSE!]STD_OFF[!ENDIF!])
| ^
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:147:20: note: in expansion of macro 'OSIF_ENABLE_USER_MODE_SUPPORT'
147 | #if (STD_ON == OSIF_ENABLE_USER_MODE_SUPPORT)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Internal.h:46,
from C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/Mcal.h:66,
from ../Project_Settings/Startup_Code/exceptions.c:30:
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:161:9: error: stray '#' in program
161 | [!CODE!]#define USING_OS_AUTOSAROS[!ENDCODE!]
| ^
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:165:9: error: stray '#' in program
165 | [!CODE!]#define USING_OS_BAREMETAL[!ENDCODE!]
| ^
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:169:9: error: stray '#' in program
169 | [!CODE!]#define USING_OS_FREERTOS[!ENDCODE!]
| ^
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:173:9: error: stray '#' in program
173 | [!CODE!]#define USING_OS_ZEPHYR[!ENDCODE!]
| ^
In file included from C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Internal.h:46,
from C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/Mcal.h:66,
from ../Project_Settings/Startup_Code/system.c:73:
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:47:1: error: expected identifier or '(' before '[' token
47 | [!NOCODE!][!// Include specific header file
| ^
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:50:19: error: stray '#' in program
50 | [!CODE!][!WS "0"!]#include "S32K312_SYSTICK.h"[!CR!][!ENDCODE!][!//
| ^
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:52:19: error: stray '#' in program
52 | [!CODE!][!WS "0"!]#include "S32K314_SYSTICK.h"[!CR!][!ENDCODE!][!//
| ^
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:54:19: error: stray '#' in program
54 | [!CODE!][!WS "0"!]#include "S32K324_SYSTICK.h"[!CR!][!ENDCODE!][!//
| ^
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:56:19: error: stray '#' in program
56 | [!CODE!][!WS "0"!]#include "S32K342_SYSTICK.h"[!CR!][!ENDCODE!][!//
| ^
make: *** [Project_Settings/Startup_Code/subdir.mk:42: Project_Settings/Startup_Code/exceptions.o] Error 1
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:58:19: error: stray '#' in program
58 | [!CODE!][!WS "0"!]#include "S32K344_SYSTICK.h"[!CR!][!ENDCODE!][!//
| ^
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:60:19: error: stray '#' in program
60 | [!CODE!][!WS "0"!]#include "S32G274A_SYSTICK.h"[!CR!][!ENDCODE!][!//
| ^
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:62:19: error: stray '#' in program
62 | [!CODE!][!WS "0"!]#include "S32G399A_SYSTICK.h"[!CR!][!ENDCODE!][!//
| ^
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:64:19: error: stray '#' in program
64 | [!CODE!][!WS "0"!]#include "S32R45_SYSTICK.h"[!CR!][!ENDCODE!][!//
| ^
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:66:19: error: stray '#' in program
66 | [!CODE!][!WS "0"!]#include "S32R41_SYSTICK.h"[!CR!][!ENDCODE!][!//
| ^
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:68:19: error: stray '#' in program
68 | [!CODE!][!WS "0"!]#include "S32K116_SYSTICK.h"[!CR!][!ENDCODE!][!//
| ^
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:70:19: error: stray '#' in program
70 | [!CODE!][!WS "0"!]#include "S32K118_SYSTICK.h"[!CR!][!ENDCODE!][!//
| ^
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:72:19: error: stray '#' in program
Finished building: ../Project_Settings/Startup_Code/Vector_Table.s
72 | [!CODE!][!WS "0"!]#include "S32K142W_SYSTICK.h"[!CR!][!ENDCODE!][!//
| ^
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:74:19: error: stray '#' in program
74 | [!CODE!][!WS "0"!]#include "S32K142_SYSTICK.h"[!CR!][!ENDCODE!][!//
| ^
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:76:19: error: stray '#' in program
Finished building: ../Project_Settings/Startup_Code/nvic.c
76 | [!CODE!][!WS "0"!]#include "S32K144W_SYSTICK.h"[!CR!][!ENDCODE!][!//
| ^
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:78:19: error: stray '#' in program
78 | [!CODE!][!WS "0"!]#include "S32K144_SYSTICK.h"[!CR!][!ENDCODE!][!//
| ^
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:80:19: error: stray '#' in program
80 | [!CODE!][!WS "0"!]#include "S32K146_SYSTICK.h"[!CR!][!ENDCODE!][!//
| ^
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:82:19: error: stray '#' in program
82 | [!CODE!][!WS "0"!]#include "S32K148_SYSTICK.h"[!CR!][!ENDCODE!][!//
| ^
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:84:19: error: stray '#' in program
84 | [!CODE!][!WS "0"!]#include "S32E27_SYSTICK.h"[!CR!][!ENDCODE!][!//
| ^
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:86:19: error: stray '#' in program
86 | [!CODE!][!WS "0"!]#include "S32Z27_SYSTICK.h"[!CR!][!ENDCODE!][!//
Finished building: ../Project_Settings/Startup_Code/startup_cm7.s
| ^
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:88:19: error: stray '#' in program

88 | [!CODE!][!WS "0"!]#include "SJA1110.h"[!CR!][!ENDCODE!][!//
| ^
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:144:43: error: token "[" is not valid in preprocessor expressions

144 | #define OSIF_ENABLE_USER_MODE_SUPPORT ([!IF "OsIfGeneral/OsIfEnableUserModeSupport"!]STD_ON[!ELSE!]STD_OFF[!ENDIF!])
| ^
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:147:20: note: in expansion of macro 'OSIF_ENABLE_USER_MODE_SUPPORT'
147 | #if (STD_ON == OSIF_ENABLE_USER_MODE_SUPPORT)
Finished building: ../Project_Settings/Startup_Code/startup.c
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Internal.h:46,

from C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/Mcal.h:66,
from ../Project_Settings/Startup_Code/system.c:73:
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:161:9: error: stray '#' in program
161 | [!CODE!]#define USING_OS_AUTOSAROS[!ENDCODE!]
| ^
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:165:9: error: stray '#' in program
165 | [!CODE!]#define USING_OS_BAREMETAL[!ENDCODE!]
| ^
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:169:9: error: stray '#' in program
169 | [!CODE!]#define USING_OS_FREERTOS[!ENDCODE!]
| ^
C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Cfg.h:173:9: error: stray '#' in program
173 | [!CODE!]#define USING_OS_ZEPHYR[!ENDCODE!]
| ^

make: *** [Project_Settings/Startup_Code/subdir.mk:40: Project_Settings/Startup_Code/system.o] Error 1
"make -j8 all" terminated with exit code 2. Build might be incomplete.

10:08:34 Build Failed. 85 errors, 0 warnings. (took 3s.332ms)

 

0 Kudos
Reply
2 Replies

988 Views
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

Could you help us providing which S32DS/RTD/IPCF version are you using? We see that S32DS==3.4 and RTD==3.0.2 (possibly HF01) but we are seeing anything regarding IPCF.

This seems related to not generating the code with Config Tools. Below the errors without generating the code from Config Tools:

"C:/nxp/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_2022_03/SW32_RTD_4_4_3_0_2_D2203/Base_TS_T40D11M30I2R0/include/OsIf_Internal.h:46:10: fatal error: OsIf_Cfg.h: No such file or directory
Invoking: Standard S32DS C Compiler
46 | #include "OsIf_Cfg.h"
| ^~~~~~~~~~~~
compilation terminated.
Invoking: Standard S32DS C Compiler
../src/sample.c:24:10: fatal error: ipcf_Ip_Cfg.h: No such file or directory
24 | #include "ipcf_Ip_Cfg.h"
| ^~~~~~~~~~~~~~~"

Once we the code is generated, the project can successfully compile:

"Invoking: Standard S32DS Print Size
arm-none-eabi-size --format=berkeley IPCF_Example_multi_instance_S32G274_M7_0.elf
text data bss dec hex filename
297512 0 4097 301609 49a29 IPCF_Example_multi_instance_S32G274_M7_0.elf
Finished building: IPCF_Example_multi_instance_S32G274_M7_0.siz

13:14:11 Build Finished. 0 errors, 0 warnings. (took 10s.84ms)"

To generate the code, you need to click on your project, then right click on it and select:

"S32 Configuration Tools > Open Pins"

Then, an "Update Code" is presented below the tool bar, with a green icon. Click on it to generate the code for the application. Image below shows the location of the button on our setup:

DanielAguirre_0-1682446903787.png

Once generated, you can try an compile the project, it should let you now. If not, we recommend deleting the project then importing it again, to prevent any misconfigurations that the project could have taken.

Please, let us know.

0 Kudos
Reply

628 Views
chaoping
Contributor I

Hello, Daniel.

I meet the same problem as you mentioned above:

chaoping_0-1712620320882.png

But I'm sure that I have performed to generate the code,

(There has some warnings and error, but not selected as default)

chaoping_1-1712620389530.png

From the "c/c++ view" I could see these generated files:

chaoping_2-1712620487227.png

Do you know why I still have this compile error even though I have generated the codes?

I'm using following versions regarding to "S32DS/RTD/IPCF":

>S32DS==3.4

>SW32G_RTD_4.4_3.0.2_HF01_DS_updatesite_D2204.zip

>SW32G_IPCF_4.6.0_D2205_updatesite.zip

0 Kudos
Reply