compilation Fail SDK_32XX_4.0.0

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

compilation Fail SDK_32XX_4.0.0

跳至解决方案
598 次查看
monk_65
Contributor III

 

Hi,

when I create a new project with S32K344, compilation work

but if i configure a pin and update code,compilation failed

directory platform install is \NXP\S32\S32DS\software\PlatformSDK_S32XX_4_0_0\RTD\Base_TS_T40D11M40I0R0

 

but message is

D:/NXP/S32/S32DS/software/PlatformSDK_S32K3/RTD/BaseNXP_TS_T40D34M40I0R0/include/OsIf_Internal.h:45:10: fatal error: OsIf_Cfg.h: No such file or directory

when I compile

 

0 项奖励
回复
1 解答
426 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@monk_65

Have you installed multiple RTD versions under one S32 DS?

Installing different RTD versions under the same S32 DS will cause some similar errors.

This is somewhat similar to what I told you before.

If possible, you can uninstall the IDE and reinstall it and Please remember to delete all files in the installation directory.

在原帖中查看解决方案

0 项奖励
回复
11 回复数
317 次查看
monk_65
Contributor III

i reinstall package and my problem has resolved

 

 

0 项奖励
回复
562 次查看
monk_65
Contributor III

Capture.PNGCapture1.PNG

 

thanks,

to have more information, here the message when i select peripheral

my configuration is S32K344, why is not compatible ?

 

0 项奖励
回复
528 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@monk_65

Does this project come from S32DS?

Have you installed multiple RTD versions under one S32 DS?

Installing different RTD versions under the same S32 DS will cause some similar errors.

Please be sure to install a separate S32 DS for each RTD versions.

0 项奖励
回复
560 次查看
spara7c5
Contributor III

Have you properly started from demo project for S32K344? please check

0 项奖励
回复
573 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@monk_65

Please try opening a sample project from S32 DS and test if such problem still exists.

If yes, it may be an issue with the RTD installation

If not, check your project and compare the difference between the two projects.

0 项奖励
回复
576 次查看
spara7c5
Contributor III

It seems you have not generated the OS code. Please check in the Peripheral setup, in OS>Generate you find Generate Configuration button. Press it and then update the code

0 项奖励
回复
483 次查看
monk_65
Contributor III

i reinstalled package with S32 extensions and updates

RTD S32K3_S32M27X 4.0.0.202404020208 com.nxp.RTD.S32K3_S32M27X.root.feature.feature.group NXP Semiconductors, Inc.

RTD S32K3XX 4.0.0.202404020208 com.nxp.RTD.S32K3XX.root.feature.feature.group NXP Semiconductors, Inc.

S32K3xx development package 3.5.8.202311290134 com.nxp.s32ds.s32k3.dev.feature.feature.group NXP

S32 Design Studio for S32 Platform 3.5.11.202403280939 com.nxp.s32ds.platform.ide.feature.feature.group NXP

FREERTOS S32K3_S32M27X 4.0.0.202312180411 com.nxp.FREERTOS.S32K3_S32M27X.root.4.0.0.feature.feature.group NXP Semiconductors, Inc.

i create a project with a guide_started_s32k_3xx and compilation is OK

but i tried to configure a pin and i have a error

 

 

D:/NXP/S32DS.3.5/S32DS/software/PlatformSDK_S32K3/RTD/BaseNXP_TS_T40D34M40I0R0/include/OsIf_Internal.h:45:10: fatal error: OsIf_Cfg.h: No such file or directory

i don't understand  why  this file is not inside my project

when i use the "manager SDK component"

i selected "OS" package and i have files related in OS in my project

 



 

0 项奖励
回复
457 次查看
spara7c5
Contributor III

Because you have not generated the OS. Press the generate button in peripheral>>OS>>general. And update the project

0 项奖励
回复
459 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@monk_65

Senlent_0-1715827113600.png

 

 

0 项奖励
回复
436 次查看
monk_65
Contributor III

update_code.PNG

 

but i don't have peripheral , components view, and Osif configuration so i can't add this file

 

when i click on the peripherals tools,  it display  "The peripheral tool is enabled but it does not support the selected processor"

 

0 项奖励
回复
427 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@monk_65

Have you installed multiple RTD versions under one S32 DS?

Installing different RTD versions under the same S32 DS will cause some similar errors.

This is somewhat similar to what I told you before.

If possible, you can uninstall the IDE and reinstall it and Please remember to delete all files in the installation directory.

0 项奖励
回复