"StandardTypes.h: No such file or directory" compilation error in generated code

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

"StandardTypes.h: No such file or directory" compilation error in generated code

1,595 Views
dinesh_balaji
Contributor III

I'm using S32 design studio v3.5 for programming s32k344. After configuring clock and peripherals, I'm seeing compilation errors in the generated code.

D:/workspaceS32DS.3.5/mcal_test/generate/include/OsIf_Cfg.h:46:10: fatal error: StandardTypes.h: No such file or directory
   46 | #include "StandardTypes.h"
      |          ^~~~~~~~~~~~~~~~~
compilation terminated.
 
../RTD/include/Clock_Ip_Types.h:47:10: fatal error: StandardTypes.h: No such file or directory
   47 | #include "StandardTypes.h"
      |          ^~~~~~~~~~~~~~~~~
  
In file included from ../board/Tspc_Port_Ip_Cfg.h:45,
                 from ../board/Tspc_Port_Ip_Cfg.c:42:
../RTD/include/Tspc_Port_Ip_Types.h:44:10: fatal error: Std_Types.h: No such file or directory
   44 | #include "Std_Types.h"
      |          ^~~~~~~~~~~~~
 
#S32K344 , #S32DS
Tags (2)
0 Kudos
10 Replies

1,576 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@dinesh_balaji

Could you please tell me which RTD version you're using?  Did you update code after configure.

You can share the project so i can help you to find the root cause quickly.

0 Kudos

1,450 Views
trunie1
Contributor III

Hi.

Something similar to the question above occurred in my project as well.

[sequence of the work]

1. I imported the two projects below in S32DS 3.5

 - MSSPTE1AK344_PMSM_FOC_2Sh_as_tr

 - MSSPTE1AK344_PMSM_FOC_2Sh_II

Referenced link : Get Started with the MCSPTE1AK344 Development Kit | NXP Semiconductors (At 5 minutes and 20 seconds)

error after importing project.png

2. But an error occurred.

error1.png

error description on Problem tab : SDK PlatformSDK_S32K3_2022_03_S32K344_M7_2.0.0_PATH is not found in workspace

error after importing project_2.png

3. I ignored the above error, selected the package(S32K344_172MQFP), and built. Then the error below occurred.

- error : ../RTD/include/Emios_Pwm_Ip.h:46:10: fatal error: StandardTypes.h: No such file or directory
- There are several errors, but the common one seems to be that they occur because the 'StandardTypes.h' file is missing.

error2.png

I attached this project.

What should I do?

0 Kudos

1,443 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@trunie1

this demo should run on RTD 2.0.0,

According to the warning note shows that you didn't have installed RTD 2.0.0

0 Kudos

1,439 Views
trunie1
Contributor III

Hi.

Thank you for answer

RTD installed in my project is 4.0.0, but this demo only works with RTD 2.0.0?

[my project : RTD 4.0.0]

RTD 400.png

 

I want to run a motor control example, but there is no motor example in 'S32DS Project from Example'.

What should I do?

[S32DS 3.5]

example.png

0 Kudos

1,436 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@trunie1

yes, I already told you that you have to install RTD 2.0.0 so you can run this demo.

https://www.nxp.com/document/guide/get-started-with-the-mcspte1ak344-development-kit:GS-MCSPTE1AK344...

 

0 Kudos

1,434 Views
trunie1
Contributor III

RTD 4.0.0 is installed in my project. Is there any problem if I install and use RTD2.0.0?

 

MCSPTE1AK344 folder already exists.png

[release note]

release note.png

0 Kudos

1,426 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@trunie1

I have told you to install RTD 2.0.0.

The picture you provided is the demo version and not the RTD version.

just follow the step in the link i provided in the last reply.

0 Kudos

1,431 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@trunie1

you can install S32 DS V3.4 + RTD 2.0.0

(It will have some problem but can fixed by some operate.)

0 Kudos

1,423 Views
trunie1
Contributor III

 

I installed RTD 2.0.0RTD2.0.0 Install.png

After installing RTD2.0.0, any error messages that existed in the project have disappeared.

However, when I click the 'Open S32 Configuration tools' icon, the following error occurs.

- error : Processor S32K344, the PlatformSDK_S32K3_2022_03 version is not supported by the current version of the tool

error3.png

What should I do?

And it appears that 'MSSPTE1AK344_PMSM_FOC_2Sh_as_tr' and '1MSSPTE1AK344_PMSM_FOC_2Sh_II' cannot be run in the current environment...

If I can't use the example projects above in my current environment, are there any other examples I can run?

0 Kudos

1,411 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@trunie1

You didn’t read the application manual of this demo carefully.
1. You have not installed RTD 2.0.0 correctly. If you don’t know how to install it, please search for related topics in the community.
2. One of these two routines uses MCAL and the other uses Low-level Driver
3. Create your own topic

0 Kudos