1837087_en-US

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

1837087_en-US

1837087_en-US

S32DS 3.4 compilation failed when importing adc_example_s32k118.

make: *** [src/main.o] Error 1
make: *** Waiting for unfinished tasks....
In file included from ../Project_Settings/Startup_Code/exceptions.c:30:
/home/xysun/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K1_2022_02/SW32K1_RTD_4_4_1_0_1_D2202/Base_TS_T40D2M10I1R0/include/Mcal.h:62:10: Fatal error: Soc_Ips.h: No such file or directory.
62 | #include "Soc_Ips.h"
| ^~~~~~~~~~~
Compilation failed.

Re: S32DS 3.4导入adc_example_s32k118编译失败
1.jpg
periherals of ConfigTools is “SoC_Ips.h”,but RTD and generate/include source code use
#include "Soc_Ips.h"
then linux strictly distinguish between uppercase and lowercase letters,this is a bug of S32 IDE?should manual modification the file name of generate/include/SoC_Ips.h to generate/include/Soc_Ips.h,then compile succeed
Re: S32DS 3.4导入adc_example_s32k118编译失败

Hi@yshenu

For your new question:"The window installation is OK, but the Ubuntu installation fails. I can't found reason"

Could you please create a new topic , because I know nothing about Ubuntu.

Re: S32DS 3.4导入adc_example_s32k118编译失败

The window installation is OK, but the Ubuntu installation fails. I can't found reason

Re: S32DS 3.4导入adc_example_s32k118编译失败

Hi@yshenu

I can't think of other possible reasons. I can only suggest that you reinstall the IDE and RTD. Try not to use Chinese and try again.

Re: S32DS 3.4导入adc_example_s32k118编译失败

Hi senlent

look,version is ok

2024-03-29 14-55-50 的屏幕截图.png

Re: S32DS 3.4导入adc_example_s32k118编译失败

Hi@yshenu

please show me your S32 DS version like picture below, you can see the RTD 1.0.1 require "Update 1" and above version installed.

Senlent_1-1711693579879.png


Senlent_0-1711693544628.png


Re: S32DS 3.4导入adc_example_s32k118编译失败

Hi senlent,

have this error2024-03-29 11-18-54 的屏幕截图.png

Re: S32DS 3.4导入adc_example_s32k118编译失败

Hi senlent

Maybe the component function does not exist. How to install this function?

2024-03-29 10-32-55 的屏幕截图.png

Re: S32DS 3.4导入adc_example_s32k118编译失败

Hi@yshenu

According to the log file you provided, the Soc_Ips.h file is missing from your current project, but in fact the file will be generated in your project directory after you update the code. So my conclusion is that you probably didn't generate the configuration code correctly

Senlent_0-1711674664635.png


Re: S32DS 3.4导入adc_example_s32k118编译失败

Hi Senlent

Already updated, but still the same problem

2024-03-28 18-22-49 的屏幕截图.png

Re: S32DS 3.4导入adc_example_s32k118编译失败

Hi@yshenu

please click "Update code" to generate config file before building it.

Senlent_0-1711618540617.png


Tags (1)
No ratings
Version history
Last update:
Thursday
Updated by: