An error occurs when building the example.(AN12218)

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

An error occurs when building the example.(AN12218)

Jump to solution
481 Views
HyungGyuKim76
Contributor I

Hi,

I downloaded the example related file from the line below and tried to build it.

https://www.nxp.com/docs/en/application-note-software/AN12218SW.zip 

Then, If I build without any settings, a path error occurs as shown below.

HyungGyuKim76_0-1658756430716.png

I don't know why it can't find the file in /src/drivers.

Please let me know which preferences need to be fixed.

0 Kudos
1 Solution
469 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@HyungGyuKim76

I tested this example without changing anything ,and it works fine on myside, 

it looks like some file path is invalid in your S32 DS.

and you can change the file path using the setting menu below.

Senlent_1-1658804023149.png

 

View solution in original post

0 Kudos
3 Replies
463 Views
HyungGyuKim76
Contributor I

Thank you, Senlent.

Your answer is very useful solution.

I set the path directly as below and the build succeeded without error.

HyungGyuKim76_0-1658821577345.png

However, it is still a question of why the set default path("${workspace_loc:/${ProjName}/src/drivers}") is not applied.

I wonder what environment setting should be changed for successful build without adding a separate path?

0 Kudos
455 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@HyungGyuKim76

Did you use copy instead of import? I don't know the exact reason,

anyway, if such a problem occurs next time, it can be solved by adding a path.

0 Kudos
470 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@HyungGyuKim76

I tested this example without changing anything ,and it works fine on myside, 

it looks like some file path is invalid in your S32 DS.

and you can change the file path using the setting menu below.

Senlent_1-1658804023149.png

 

0 Kudos