where's Cpu.h

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

where's Cpu.h

Jump to solution
2,607 Views
everkimage
Contributor IV

My IDE is S32 Design Studio for Power Architecture.

I import an existing project from the offical library,such as Hello_World,when build it,it's always get a lot of Errors.

The first item is "No such file or directory" in main.c to the code "#include "Cpu.h"".

I can not find Cpu.h in project directory and C:\NXP\S32DS_Power_v2017.R1\.

1 Solution
1,951 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

you probably forgot generate processor expert code before you build project: 
pastedImage_1.png

Jiri

View solution in original post

3 Replies
1,951 Views
everkimage
Contributor IV

The project "Hello_World" is OK.

The error comes from Example Project of MPC57xx EAR SDK and i have already installed "S32 Design Studio for Power Architecture® 2017.R1 – Update 1".

0 Kudos
1,952 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

you probably forgot generate processor expert code before you build project: 
pastedImage_1.png

Jiri

1,951 Views
kevinelgin
Contributor I

This is how to get the view Jiri has referenced:

s32ds_2018-02-21_15-28-42.png

0 Kudos