Platform_Software_Integration_S32R294_2021_11

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

Platform_Software_Integration_S32R294_2021_11

850 Views
MichaelLee2
Contributor I

Hi:

I'm compiling an integration project for S32R294,

"Platform_Software_Integration_S32R294_2021_11",

and I've configured the configuration.bat file according to the user manual,but it still does not pass the compilation.

Note: The compiler is WindRiver Diab.

The two attachments below are my configuration.bat  and the compiled output file.

In the terminal, I keep getting: error: cannot create output file . /. /build/bin/CDD_Mcl.o
What can should i do to get the compilation to work?

Any help would be positive. Thank you very much!

Tags (1)
0 Kudos
7 Replies

812 Views
namnguyenviet
NXP Employee
NXP Employee

Hello @MichaelLee2 ,

Please open windows command prompt, then try to execute the command in attached, and see whether object file can be generated. If it's possible, then probably there was an issue with cygwin.

Best Regards,

Nam

0 Kudos

806 Views
MichaelLee2
Contributor I

I apologize for the late reply, I have tried to run command.bat in windows command, unfortunately I still get the same error.


I guess maybe my configuration.bat  file is misconfigured. But I can't find the corresponding error now. Can you please give me an example of a configured configuration.bat . Thank you very much!

0 Kudos

785 Views
namnguyenviet
NXP Employee
NXP Employee

Hello,

Your configuration.bat should work, this file is just used for path declaration. Did you check my suggestion that only do the command of DIAB execution in my previous comment?

Best Regards,

Nam

0 Kudos

762 Views
MichaelLee2
Contributor I

HI Nam:

I have run the command.bat file you gave me. I still get the following error: 

PS C:\Users\10322\Desktop\Platform_Software_Integration_S32R294_2021_11\code\framework\realtime\swc\PlatformIntegration\platforms\S32R294\build>
PS C:\Users\10322\Desktop\Platform_Software_Integration_S32R294_2021_11\code\framework\realtime\swc\PlatformIntegration\platforms\S32R294\build> dir


Directory: C:\Users\10322\Desktop\Platform_Software_Integration_S32R294_2021_11\code\framework\realtime\swc\PlatformIntegration\platforms\S32R294\build


Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 2022/7/13 14:04 cmm
d----- 2022/7/13 14:04 linkfiles
d----- 2022/7/13 14:04 make
-a---- 2022/7/27 15:05 4728 command.bat
-a---- 2022/7/18 12:14 4684 command.bat.bak
-a---- 2022/7/18 10:52 0 command.txt.bak
-a---- 2022/7/15 20:04 3323 configuration.bat
-a---- 2022/7/13 19:50 3323 configuration.bat.txt
-a---- 2022/7/19 10:37 4794 launch.bat
-a---- 2022/7/13 19:49 0 launch.bat.txt.bak
-a---- 2022/7/13 16:37 16202 Makefile


PS C:\Users\10322\Desktop\Platform_Software_Integration_S32R294_2021_11\code\framework\realtime\swc\PlatformIntegration\platforms\S32R294\build> .\command.bat

C:\Users\10322\Desktop\Platform_Software_Integration_S32R294_2021_11\code\framework\realtime\swc\PlatformIntegration\platforms\S32R294\build>"C:/WINDRI~1/COMPIL~1/DIAB-5~1.2/WIN32/bin/dcc.exe" -DS32R294 -DD
IAB -DSINTRAM -DCORE_0 -DCPU_S32R294 -DAUTOSAR_OS_NOT_USED -DEU_DISABLE_ANSILIB_CALLS -g3 -l -Xdialect-ansi -XO -Xsize-opt -Xsmall-data=0 -Xno-common -Wa,-Xisa-vle -Xdebug-dwarf2 -Xdebug-local-all -Xdebug-l
ocal-cie -Xdebug-struct-all -Xforce-declarations -Xmacro-undefined-warn -ee1481 -Xnested-interrupts -Xaddr-sconst=0x11 -Xaddr-sdata=0x11 -Xlink-time-lint -c99 -tPPCE200Z4204N3VEN:simple -DMCAL_ENABLE_SUPER
VISOR_MODE -DENABLE_POWER_MODE -DFILE_BASENAME=CDD_Mcl -c C:/EB/tresos/plugins_mcal/Mcl_TS_T2D56M10I2R0/src/CDD_Mcl.c -IC:/Users/10322/Desktop/Platform_Software_Integration_S32R294_2021_11/applications/rea
ltime/Tresos/workspaces/Lighting_SingleCore_S32R294_ASR_4.4_Z4/output/include -IC:/Users/10322/Desktop/Platform_Software_Integration_S32R294_2021_11/applications/realtime/S32DS/S32DSWorkspace_05_2020_Lighti
ng_SingleCore/Lighting_SingleCore_S32R294_Z4/include -IC:/EB/tresos/plugins_mcal/Dem_TS_T2D56M10I2R0/include
"C:/EB/tresos/plugins_mcal/Mcl_TS_T2D56M10I2R0/src/CDD_Mcl.c", line 127: error (dcc:1621): can't find include file Mcal.h
"C:/EB/tresos/plugins_mcal/Mcl_TS_T2D56M10I2R0/src/CDD_Mcl.c", line 128: error (dcc:1621): can't find include file CDD_Mcl.h
"C:/EB/tresos/plugins_mcal/Mcl_TS_T2D56M10I2R0/src/CDD_Mcl.c", line 130: error (dcc:1621): can't find include file Mcl_Notif.h
"C:/EB/tresos/plugins_mcal/Mcl_TS_T2D56M10I2R0/src/CDD_Mcl.c", line 132: error (dcc:1621): can't find include file Mcl_IPW.h
"C:/EB/tresos/plugins_mcal/Mcl_TS_T2D56M10I2R0/src/CDD_Mcl.c", line 134: warning (dcc:1711): undefined identifier 'MCL_DEV_ERROR_DETECT' used in constant expression
"C:/EB/tresos/plugins_mcal/Mcl_TS_T2D56M10I2R0/src/CDD_Mcl.c", line 134: warning (dcc:1711): undefined identifier 'STD_ON' used in constant expression
"C:/EB/tresos/plugins_mcal/Mcl_TS_T2D56M10I2R0/src/CDD_Mcl.c", line 134: warning (dcc:1711): undefined identifier 'MCL_MULTICORE_SUPPORT' used in constant expression
"C:/EB/tresos/plugins_mcal/Mcl_TS_T2D56M10I2R0/src/CDD_Mcl.c", line 134: warning (dcc:1711): undefined identifier 'STD_ON' used in constant expression
"C:/EB/tresos/plugins_mcal/Mcl_TS_T2D56M10I2R0/src/CDD_Mcl.c", line 135: error (dcc:1621): can't find include file Det.h
"C:/EB/tresos/plugins_mcal/Mcl_TS_T2D56M10I2R0/src/CDD_Mcl.c", line 156: warning (dcc:1711): undefined identifier 'MCL_VENDOR_ID' used in constant expression
"C:/EB/tresos/plugins_mcal/Mcl_TS_T2D56M10I2R0/src/CDD_Mcl.c", line 157: error (dcc:1573): "CDD_Mcl.c and CDD_Mcl.h have different vendor IDs"

C:\Users\10322\Desktop\Platform_Software_Integration_S32R294_2021_11\code\framework\realtime\swc\PlatformIntegration\platforms\S32R294\build>-IC:/EB/tresos/plugins_mcal/Det_TS_T2D56M10I2R0/include
'-IC:' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\10322\Desktop\Platform_Software_Integration_S32R294_2021_11\code\framework\realtime\swc\PlatformIntegration\platforms\S32R294\build>-IC:/EB/tresos/plugins_mcal/Mcu_TS_T2D56M10I2R0/include
'-IC:' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\10322\Desktop\Platform_Software_Integration_S32R294_2021_11\code\framework\realtime\swc\PlatformIntegration\platforms\S32R294\build>-IC:/EB/tresos/plugins_mcal/Port_TS_T2D56M10I2R0/include
'-IC:' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\10322\Desktop\Platform_Software_Integration_S32R294_2021_11\code\framework\realtime\swc\PlatformIntegration\platforms\S32R294\build>-IC:/EB/tresos/plugins_mcal/Base_TS_T2D56M10I2R0/include
'-IC:' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\10322\Desktop\Platform_Software_Integration_S32R294_2021_11\code\framework\realtime\swc\PlatformIntegration\platforms\S32R294\build>-IC:/EB/tresos/plugins_mcal/Os_TS_T2D56M10I2R0/include
'-IC:' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\10322\Desktop\Platform_Software_Integration_S32R294_2021_11\code\framework\realtime\swc\PlatformIntegration\platforms\S32R294\build>-IC:/EB/tresos/plugins_mcal/EcuM_TS_T2D56M10I2R0/include
'-IC:' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\10322\Desktop\Platform_Software_Integration_S32R294_2021_11\code\framework\realtime\swc\PlatformIntegration\platforms\S32R294\build>-IC:/EB/tresos/plugins_mcal/Ecum_TS_T2D56M10I2R0/include
'-IC:' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\10322\Desktop\Platform_Software_Integration_S32R294_2021_11\code\framework\realtime\swc\PlatformIntegration\platforms\S32R294\build>-IC:/EB/tresos/plugins_mcal/Icu_TS_T2D56M10I2R0/include
'-IC:' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\10322\Desktop\Platform_Software_Integration_S32R294_2021_11\code\framework\realtime\swc\PlatformIntegration\platforms\S32R294\build>-IC:/EB/tresos/plugins_mcal/Gpt_TS_T2D56M10I2R0/include
'-IC:' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\10322\Desktop\Platform_Software_Integration_S32R294_2021_11\code\framework\realtime\swc\PlatformIntegration\platforms\S32R294\build>-IC:/EB/tresos/plugins_mcal/Mcl_TS_T2D56M10I2R0/include
'-IC:' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\10322\Desktop\Platform_Software_Integration_S32R294_2021_11\code\framework\realtime\swc\PlatformIntegration\platforms\S32R294\build>-IC:/EB/tresos/plugins_mcal/Dio_TS_T2D56M10I2R0/include
'-IC:' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\10322\Desktop\Platform_Software_Integration_S32R294_2021_11\code\framework\realtime\swc\PlatformIntegration\platforms\S32R294\build>-IC:/EB/tresos/plugins_mcal/Mcl_TS_T2D56M10I2R0/include
'-IC:' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\10322\Desktop\Platform_Software_Integration_S32R294_2021_11\code\framework\realtime\swc\PlatformIntegration\platforms\S32R294\build>-IC:/EB/tresos/plugins_mcal/Pwm_TS_T2D56M10I2R0/include
'-IC:' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\10322\Desktop\Platform_Software_Integration_S32R294_2021_11\code\framework\realtime\swc\PlatformIntegration\platforms\S32R294\build>-IC:/EB/tresos/plugins_mcal/Can_TS_T2D56M10I2R0/include
'-IC:' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\10322\Desktop\Platform_Software_Integration_S32R294_2021_11\code\framework\realtime\swc\PlatformIntegration\platforms\S32R294\build>-IC:/EB/tresos/plugins_mcal/CanIf_TS_T2D56M10I2R0/include
'-IC:' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\10322\Desktop\Platform_Software_Integration_S32R294_2021_11\code\framework\realtime\swc\PlatformIntegration\platforms\S32R294\build>-IC:/Users/10322/Desktop/Platform_Software_Integration_S32R294_20
21_11/code/framework/realtime/bsw/dal/SysDal/generic/include -IC:/Users/10322/Desktop/Platform_Software_Integration_S32R294_2021_11/code/framework/realtime/bsw/dal/IoDal/generic/include -IC:/Users/10322/Des
ktop/Platform_Software_Integration_S32R294_2021_11/code/framework/realtime/bsw/dal/ComDal/generic/include -IC:/Users/10322/Desktop/Platform_Software_Integration_S32R294_2021_11/code/framework/realtime/bsw/d
al/SysDal/platforms/S32R294/include -IC:/Users/10322/Desktop/Platform_Software_Integration_S32R294_2021_11/code/framework/realtime/bsw/dal/IoDal/platforms/S32R294/include -IC:/Users/10322/Desktop/Platform_S
oftware_Integration_S32R294_2021_11/code/framework/realtime/bsw/dal/ComDal/platforms/S32R294/include -IC:/Users/10322/Desktop/Platform_Software_Integration_S32R294_2021_11/code/framework/realtime/swc/Actuat
ors/generic/include -IC:/Users/10322/Desktop/Platform_Software_Integration_S32R294_2021_11/code/framework/realtime/swc/Lighting/generic/include -IC:/Users/10322/Desktop/Platform_Software_Integration_S32R294
_2021_11/code/framework/realtime/swc/Rte/generic/include -IC:/Users/10322/Desktop/Platform_Software_Integration_S32R294_2021_11/code/framework/realtime/swc/Sensors/generic/include -IC:/Users/10322/Desktop/P
latform_Software_Integration_S32R294_2021_11/code/framework/realtime/swc/Vdr/generic/include -IC:/Users/10322/Desktop/Platform_Software_Integration_S32R294_2021_11/code/framework/realtime/swc/SysCtrl/generi
c/include -IC:/Users/10322/Desktop/Platform_Software_Integration_S32R294_2021_11/code/framework/realtime/utils/include -IC:/Users/10322/Desktop/Platform_Software_Integration_S32R294_2021_11/code/framework/r
ealtime/startup/S32R294/include -IC:/Users/10322/Desktop/Platform_Software_Integration_S32R294_2021_11/code/framework/realtime/bsw/uart/linflexd/platforms/S32R294/include -IC:/Users/10322/Desktop/Platform_S
oftware_Integration_S32R294_2021_11/code/framework/realtime/bsw/platforms/S32R294/sdk/include -IC:/Users/10322/Desktop/Platform_Software_Integration_S32R294_2021_11/code/framework/realtime/bsw/generic/sdk/i
nclude
'-IC:' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\10322\Desktop\Platform_Software_Integration_S32R294_2021_11\code\framework\realtime\swc\PlatformIntegration\platforms\S32R294\build>-IC:/NXP/S32DS_Power_v2.1/S32DS/software/S32_SDK_S32R294_RTM_1.0.
0/platform/drivers/inc
'-IC:' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\10322\Desktop\Platform_Software_Integration_S32R294_2021_11\code\framework\realtime\swc\PlatformIntegration\platforms\S32R294\build>-IC:/NXP/S32DS_Power_v2.1/S32DS/software/S32_SDK_S32R294_RTM_1.0.
0/platform/drivers/src/linflexd
'-IC:' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\10322\Desktop\Platform_Software_Integration_S32R294_2021_11\code\framework\realtime\swc\PlatformIntegration\platforms\S32R294\build>-IC:/NXP/S32DS_Power_v2.1/S32DS/software/S32_SDK_S32R294_RTM_1.0.
0/platform/devices/S32R294/include
'-IC:' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\10322\Desktop\Platform_Software_Integration_S32R294_2021_11\code\framework\realtime\swc\PlatformIntegration\platforms\S32R294\build>-IC:/NXP/S32DS_Power_v2.1/S32DS/software/S32_SDK_S32R294_RTM_1.0.
0/platform/devices
'-IC:' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\10322\Desktop\Platform_Software_Integration_S32R294_2021_11\code\framework\realtime\swc\PlatformIntegration\platforms\S32R294\build>-IC:/NXP/S32DS_Power_v2.1/S32DS/software/S32_SDK_S32R294_RTM_1.0.
0/rtos/osif
'-IC:' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\10322\Desktop\Platform_Software_Integration_S32R294_2021_11\code\framework\realtime\swc\PlatformIntegration\platforms\S32R294\build>-IC:/WINDRI~1/COMPIL~1/DIAB-5~1.2/WIN32/bin/inc/c/
'-IC:' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\10322\Desktop\Platform_Software_Integration_S32R294_2021_11\code\framework\realtime\swc\PlatformIntegration\platforms\S32R294\build>-IC:/Users/10322/Desktop/Platform_Software_Integration_S32R294_20
21_11/code/framework/realtime/startup/S32R294/include
'-IC:' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\10322\Desktop\Platform_Software_Integration_S32R294_2021_11\code\framework\realtime\swc\PlatformIntegration\platforms\S32R294\build>-IC:/EB/tresos/plugins_mcal/Rte_TS_T2D56M10I2R0/include -o .././b
uild/bin/CDD_Mcl.o
'-IC:' is not recognized as an internal or external command,
operable program or batch file.
PS C:\Users\10322\Desktop\Platform_Software_Integration_S32R294_2021_11\code\framework\realtime\swc\PlatformIntegration\platforms\S32R294\build>

0 Kudos

760 Views
namnguyenviet
NXP Employee
NXP Employee

The whole command should be put in a single line. Please remove all of end of line symbols in the command and try again. See attachment

 

0 Kudos

832 Views
namnguyenviet
NXP Employee
NXP Employee

Hello,

I would suggest that you can try to open cygwin/window command prompt with administrator right and execute the bat file again.

Best Regards,

Nam

0 Kudos

827 Views
MichaelLee2
Contributor I

Hi: namnguyenviet

Thank you very much for your reply, I just opened cygwin & windows terminal in admin mode and re-run launch.bat, but I still get the same error.

0 Kudos