add the header file of RTD2.0.2 peripheral to project

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

add the header file of RTD2.0.2 peripheral to project

ソリューションへジャンプ
386件の閲覧回数
shiqi_seventeen
Contributor III

Hello Team:

When I add the header file of RTD2.0.2 peripheral to my project, it will encounter the following error:

shiqi_seventeen_1-1706671275775.png

 

shiqi_seventeen_0-1706671246679.png

 

Then I suspected that the path to the header file was missing, so I added the path to the header file:

shiqi_seventeen_2-1706671289932.png

shiqi_seventeen_3-1706671334120.png

 

But there will also be many compilation errors:

shiqi_seventeen_4-1706671343601.png

 

I would like to ask if anyone has encountered this situation and how has it been resolved?

Thanks!

0 件の賞賛
返信
1 解決策
281件の閲覧回数
cuongnguyenphu
NXP Employee
NXP Employee

Hi @shiqi_seventeen ,
I missed this thread in my stack.
The issue of your project that you added wrong path for includes file.
It's required the header/source files that generated from S32CT tool, not in the include_PC path.
Please refer the Description.txt in each example of RTD included in package to know how to use S32CT to generate source code and build project

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
282件の閲覧回数
cuongnguyenphu
NXP Employee
NXP Employee

Hi @shiqi_seventeen ,
I missed this thread in my stack.
The issue of your project that you added wrong path for includes file.
It's required the header/source files that generated from S32CT tool, not in the include_PC path.
Please refer the Description.txt in each example of RTD included in package to know how to use S32CT to generate source code and build project

0 件の賞賛
返信