An error occurs when building the example.(AN12218)

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

An error occurs when building the example.(AN12218)

ソリューションへジャンプ
491件の閲覧回数
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 件の賞賛
1 解決策
479件の閲覧回数
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 件の賞賛
3 返答(返信)
473件の閲覧回数
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 件の賞賛
465件の閲覧回数
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 件の賞賛
480件の閲覧回数
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 件の賞賛