add the header file of RTD2.0.2 peripheral to project

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

add the header file of RTD2.0.2 peripheral to project

跳至解决方案
387 次查看
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 解答
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 项奖励
回复
1 回复
283 次查看
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 项奖励
回复