where's Cpu.h

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

where's Cpu.h

跳至解决方案
4,371 次查看
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 解答
3,715 次查看
jiri_kral
NXP Employee
NXP Employee

Hi, 

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

Jiri

在原帖中查看解决方案

3 回复数
3,715 次查看
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 项奖励
回复
3,716 次查看
jiri_kral
NXP Employee
NXP Employee

Hi, 

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

Jiri

3,715 次查看
kevinelgin
Contributor I

This is how to get the view Jiri has referenced:

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

0 项奖励
回复