add the header file of RTD2.0.2 peripheral to project

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

add the header file of RTD2.0.2 peripheral to project

Jump to solution
211 Views
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 Kudos
Reply
1 Solution
106 Views
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

View solution in original post

0 Kudos
Reply
1 Reply
107 Views
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 Kudos
Reply