Compile problems with S32K344 example projects: Can't find Std_Types.h or Platform_Types.h

cancel
Showing results for 
Search instead for 
Did you mean: 

Compile problems with S32K344 example projects: Can't find Std_Types.h or Platform_Types.h

82 Views
Andy_B
Contributor I

I am new to S32 Design Studio, I'm using the S32K3X4EVB-Q172, and have gone through the "Getting Started with the S32K3X4EVB-Q172 Evaluation Board" process to set up S32 Design Studio.

I've downloaded several example projects, including the Port_Example_S32K344 project.  When I build I get the following errors:

Building file: ../Project_Settings/Startup_Code/system.c
../Project_Settings/Startup_Code/exceptions.c:29:10: fatal error: Platform_Types.h: No such file or directory
29 | #include "Platform_Types.h"

arm-none-eabi-gcc "@Project_Settings/Startup_Code/exceptions.args" -MMD -MP -MF"Project_Settings/Startup_Code/system.d" -MT"Project_Settings/Startup_Code/system.o" -o "Project_Settings/Startup_Code/system.o" "../Project_Settings/Startup_Code/system.c"
../Project_Settings/Startup_Code/startup.c:29:10: fatal error: Std_Types.h: No such file or directory
29 | #include "Std_Types.h"

I'm guessing this is a path issue, but I'm not sure where to start.

The Update Code button is shadowed and can't be selected, and I get the error message:

Andy_B_1-1667235737614.png

 

Any assistance in resolving this would be appreciated.  

 

 

 

0 Kudos
1 Reply

64 Views
Senlent
NXP Employee
NXP Employee

Hi@Andy_B

1. First check whether you have installed the IDE and SDK correctly,
    Are you using S32 Design Studio for S32 Platform V3.4? Is S32K3 RTD AUTOSAR 4.4 Version 1.0.0 installed?(PS:S32 DS have to update to V3.4.3 when using RTD 2.0.0)


    If you have installed these correctly, you can import these example projects by opening New->S32DS Project from example, and this error should not occur again.

 

2. The latest version is S32 Design Studio for S32 Platform V3.5, you can try to use this latest version.

S32 Design Studio download address 

After you install V3.5, you also need to install RTD separately, the address of RTD can refer to the picture below

Senlent_1-1667269137593.png

Senlent_2-1667269202844.pngSenlent_3-1667269233583.png

 

 

 

 

0 Kudos