cancel
Showing results for 
Search instead for 
Did you mean: 

How to include standard header files in SPC5 Studio project

Parth1
Associate II

After importing a sample project, how to include header files of components configured.

This discussion has been locked for participation. If you have a question, please start a new topic in order to ask your question
1 ACCEPTED SOLUTION

Accepted Solutions
Erwan YVIN
ST Employee

Hello ,

you can include the header files of components configured

by using include macros in your source file :

#include "adc_lld_cfg.h"

0693W00000BdPaaQAF.png Best Regards

Erwan

View solution in original post

2 REPLIES 2
Erwan YVIN
ST Employee

Hello ,

you can include the header files of components configured

by using include macros in your source file :

#include "adc_lld_cfg.h"

0693W00000BdPaaQAF.png Best Regards

Erwan

Parth1
Associate II

Hello,

Thank you for your reply.

Please find below attached error snip which I am getting after building the project that is imported from SPC5 examples. I simply imported the application, then generated the SPC5 application and build the project.

0693W00000Czoz9QAB.jpg 

I guess includes folder is missing from generated files (refer below snip)

0693W00000CzoziQAB.jpg 

I have also attached the workspace (.rar) in which the above error occurred.

Please let me know if any further information is required.

Thanks