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,
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:
I hope this helps,
Erich
You can drag and drop the file inside your project in the Ecplise's "Project Explorer".