This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
When I compile a project a created in ccs V10, I get this error: struct "COMP_REGS" has no field
Error is at this line: Comp2Regs.RAMPMAXREF_SHDW = PID2.PIDOuput*16;
what am I missing in my setup?
Thanks,
Farid
Hi Farid,
Are you using any project provided within C2000Ware? If so, can you let me know which version of C2000Ware are you using and path of the project.
From the error , looks like the header file included in the project is not the right one.
Best Regards
Siddharth
Thank you for your reply!
I’m not using any example project from C2000 package. I created my own project. Can you tell me which header file you suspect is not right?
Thank you
Hi Farid,
Ok, thanks for the clarification.
How about the header files? Are you including these from the C2000Ware package?
Can you check if "F2806x_Comp.h" file has the COMP_REGS structure and RAMPMAXREF_SHDW member defined?
Best Regards
Siddharth