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

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

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

970 Views
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 Kudos
Reply
2 Replies

816 Views
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 Kudos
Reply

821 Views
kyf
Contributor V

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

kyf_0-1654695923121.png

 

0 Kudos
Reply