errors while compiling s32k344 project

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

errors while compiling s32k344 project

Jump to solution
2,092 Views
steven_zhang
Contributor V

i tried compiling the adc_example  project  ,but got the following ,i  can not find the OsIf_Cfg.h file in my computer .
Description Resource Path Location Type
fatal error: OsIf_Cfg.h: No such file or directory Adc_example_S32K344 line 46, external location: C:\NXP\S32DS.3.4\S32DS\software\PlatformSDK_S32K3_2021_10\SW32K3_RTD_4_4_1_0_0_D2110\Base_TS_T40D34M10I0R0\include\OsIf_Internal.h C/C++ Problem
Field 'Adc_UnitSelfTestStatus' could not be resolved main.c /Adc_example_S32K344/src line 130 Semantic Error
Field 'Adc_UnitSelfTestStatus' could not be resolved main.c /Adc_example_S32K344/src line 220 Semantic Error
make: *** [Project_Settings/Startup_Code/subdir.mk:42: Project_Settings/Startup_Code/exceptions.o] Error 1 Adc_example_S32K344 C/C++ Problem
make: *** [src/subdir.mk:20: src/main.o] Error 1 Adc_example_S32K344 C/C++ Problem
make: *** Waiting for unfinished jobs.... Adc_example_S32K344 C/C++ Problem
Symbol 'Adc_Config_VS_0' could not be resolved main.c /Adc_example_S32K344/src line 122 Semantic Error
Symbol 'AdcGroupSoftwareOneShot' could not be resolved main.c /Adc_example_S32K344/src line 146 Semantic Error
Symbol 'AdcGroupSoftwareOneShot' could not be resolved main.c /Adc_example_S32K344/src line 147 Semantic Error
Symbol 'AdcGroupSoftwareOneShot' could not be resolved main.c /Adc_example_S32K344/src line 152 Semantic Error
Symbol 'AdcGroupSoftwareOneShot' could not be resolved main.c /Adc_example_S32K344/src line 158 Semantic Error
Symbol 'AdcGroupSoftwareOneShotDma' could not be resolved main.c /Adc_example_S32K344/src line 233 Semantic Error
Symbol 'AdcGroupSoftwareOneShotDma' could not be resolved main.c /Adc_example_S32K344/src line 234 Semantic Error
Symbol 'AdcGroupSoftwareOneShotDma' could not be resolved main.c /Adc_example_S32K344/src line 239 Semantic Error
Symbol 'AdcGroupSoftwareOneShotDma' could not be resolved main.c /Adc_example_S32K344/src line 244 Semantic Error
Symbol 'AdcHwUnit_0' could not be resolved main.c /Adc_example_S32K344/src line 129 Semantic Error
Symbol 'AdcHwUnit_0' could not be resolved main.c /Adc_example_S32K344/src line 185 Semantic Error
Symbol 'AdcHwUnit_0' could not be resolved main.c /Adc_example_S32K344/src line 211 Semantic Error
Symbol 'AdcHwUnitDma' could not be resolved main.c /Adc_example_S32K344/src line 219 Semantic Error
Symbol 'BctulTriggerList' could not be resolved main.c /Adc_example_S32K344/src line 197 Semantic Error
Symbol 'BctuTriggerSingle' could not be resolved main.c /Adc_example_S32K344/src line 186 Semantic Error
Symbol 'Dma0_Ch1_IRQHandler' could not be resolved main.c /Adc_example_S32K344/src line 114 Semantic Error
Symbol 'Mcu_Config_VS_0' could not be resolved main.c /Adc_example_S32K344/src line 103 Semantic Error
Symbol 'McuClockSettingConfig_0' could not be resolved main.c /Adc_example_S32K344/src line 104 Semantic Error
Symbol 'McuModeSettingConf_0' could not be resolved main.c /Adc_example_S32K344/src line 105 Semantic Error
Type 'Adc_CalibrationStatusType' could not be resolved main.c /Adc_example_S32K344/src line 99 Semantic Error
"__ICCARM" is not defined, evaluates to 0 [-Wundef] TEST line 43, external location: C:\NXP\S32DS.3.4\S32DS\software\FreeMASTER_S32K3_v3.0\src\common\freemaster_private.h C/C++ Problem
"FMSTR_PLATFORM_CORTEX_M" is not defined, evaluates to 0 [-Wundef] TEST line 35, external location: C:\NXP\S32DS.3.4\S32DS\software\FreeMASTER_S32K3_v3.0\src\common\freemaster.h C/C++ Problem
"FMSTR_PLATFORM_S12Z" is not defined, evaluates to 0 [-Wundef] TEST line 39, external location: C:\NXP\S32DS.3.4\S32DS\software\FreeMASTER_S32K3_v3.0\src\common\freemaster.h C/C++ Problem
"FMSTR_SERIAL_ID" is not defined, evaluates to 0 [-Wundef] freemaster_cfg.h /TEST/include_freemaster line 34 C/C++ Problem
comparison of integer expressions of different signedness: 'FMSTR_INDEX' {aka 'int'} and 'unsigned int' [-Wsign-compare] freemaster_protocol.c /TEST/FreeMASTER/src/common line 386 C/C++ Problem
comparison of integer expressions of different signedness: 'int' and 'FMSTR_SIZE' {aka 'unsigned int'} [-Wsign-compare] freemaster_rec.c /TEST/FreeMASTER/src/common line 395 C/C++ Problem
comparison of integer expressions of different signedness: 'int' and 'FMSTR_SIZE' {aka 'unsigned int'} [-Wsign-compare] freemaster_rec.c /TEST/FreeMASTER/src/common line 592 C/C++ Problem
comparison of integer expressions of different signedness: 'int' and 'FMSTR_SIZE' {aka 'unsigned int'} [-Wsign-compare] freemaster_rec.c /TEST/FreeMASTER/src/common line 655 C/C++ Problem
comparison of integer expressions of different signedness: 'int' and 'FMSTR_SIZE' {aka 'unsigned int'} [-Wsign-compare] freemaster_scope.c /TEST/FreeMASTER/src/common line 187 C/C++ Problem
Invalid project path: Include path not found (C:\Users\86138\workspaceS32DS.3.4\Adc_example_S32K344\board). Adc_example_S32K344 pathentry Path Entry Problem
Invalid project path: Include path not found (C:\Users\86138\workspaceS32DS.3.4\Adc_example_S32K344\generate\include). Adc_example_S32K344 pathentry Path Entry Problem
Invalid project path: Include path not found (C:\Users\86138\workspaceS32DS.3.4\Adc_example_S32K344\RTD\include). Adc_example_S32K344 pathentry Path Entry Problem
Invalid project path: Missing project folder or file: \Adc_example_S32K344\board for Source path. Adc_example_S32K344 pathentry Path Entry Problem
Invalid project path: Missing project folder or file: \Adc_example_S32K344\generate for Source path. Adc_example_S32K344 pathentry Path Entry Problem
Invalid project path: Missing project folder or file: \Adc_example_S32K344\RTD for Source path. Adc_example_S32K344 pathentry Path Entry Problem
this statement may fall through [-Wimplicit-fallthrough=] freemaster_pipes.c /TEST/FreeMASTER/src/common line 900 C/C++ Problem
this statement may fall through [-Wimplicit-fallthrough=] freemaster_pipes.c /TEST/FreeMASTER/src/common line 921 C/C++ Problem
here freemaster_pipes.c /TEST/FreeMASTER/src/common line 904 C/C++ Problem
here freemaster_pipes.c /TEST/FreeMASTER/src/common line 925 C/C++ Problem
in definition of macro 'FMSTR_MK_IDSTR1' TEST line 261, external location: C:\NXP\S32DS.3.4\S32DS\software\FreeMASTER_S32K3_v3.0\src\common\freemaster_defcfg.h C/C++ Problem
in expansion of macro 'FMSTR_MK_IDSTR' freemaster_can.c /TEST/FreeMASTER/src/common line 28 C/C++ Problem
in expansion of macro 'FMSTR_MK_IDSTR' freemaster_pdbdm.c /TEST/FreeMASTER/src/common line 28 C/C++ Problem
in expansion of macro 'FMSTR_TRANSPORT' freemaster_can.c /TEST/FreeMASTER/src/common line 28 C/C++ Problem
in expansion of macro 'FMSTR_TRANSPORT' freemaster_pdbdm.c /TEST/FreeMASTER/src/common line 28 C/C++ Problem

0 Kudos
1 Solution
2,075 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi steven,

Please Update Code and then build the project again.

Update Code.png

Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

View solution in original post

0 Kudos
2 Replies
2,064 Views
steven_zhang
Contributor V

yes ,it works by using config tools,but i still got 7 errors while compling the project from the examples :

 

steven_zhang_0-1644808026509.png

Description Resource Path Location Type
fatal error: Adc.h: No such file or directory main.c /Adc_example_S32K344/src line 26 C/C++ Problem
fatal error: OsIf_Cfg.h: No such file or directory Adc_example_S32K344 line 46, external location: C:\NXP\S32DS.3.4\S32DS\software\PlatformSDK_S32K3_2021_10\SW32K3_RTD_4_4_1_0_0_D2110\Base_TS_T40D34M10I0R0\include\OsIf_Internal.h C/C++ Problem
make: *** [Project_Settings/Startup_Code/subdir.mk:42: Project_Settings/Startup_Code/exceptions.o] Error 1 Adc_example_S32K344 C/C++ Problem
make: *** [Project_Settings/Startup_Code/subdir.mk:42: Project_Settings/Startup_Code/system.o] Error 1 Adc_example_S32K344 C/C++ Problem
make: *** [src/subdir.mk:20: src/main.o] Error 1 Adc_example_S32K344 C/C++ Problem
make: *** Waiting for unfinished jobs.... Adc_example_S32K344 C/C++ Problem

 

i tried to add the including path of the missing *.h files,got much more errors

steven_zhang_1-1644808471847.png

 

.

 

0 Kudos
2,076 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi steven,

Please Update Code and then build the project again.

Update Code.png

Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos