How add a file path to current project at S32K design studio?

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

How add a file path to current project at S32K design studio?

1,401 次查看
llyyww00
Contributor I

I create a source folder and file ,but I don't know how to add this file's path to current project,the build result is :no such file or directory,

pastedImage_1.png

0 项奖励
回复
2 回复数

1,247 次查看
ErichStyger
Specialist I

Hi @llyyww00 ,

I don't have S32 installed any more. But you have to tell the compiler where it can find the header files.

Go to the project properties/settings, and there under the compiler settings you find a setting for the include (option -I) directories. Add your folder name there.

Below a screenshot how it looks for the NXP MCUXpresso IDE which is very similar:

ErichStyger_0-1654705386100.png

 

I hope this helps,

Erich

0 项奖励
回复

1,252 次查看
kyf
Contributor V

You can drag and drop the file inside your project in the Ecplise's "Project Explorer".

kyf_0-1654695923121.png

 

0 项奖励
回复