Add state machine header file error

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lfl_4816136
Level 2
Level 2

hello,

I used the GPIF tool to design a state machine, and successfully generated a cyfxgpif2config.h file, but when I added this header file to my project, I got an error

What should I do to add this file to my project correctly?

0 Likes
1 Solution

Hello lfl_4816136,

Please try #include "cyfxgpif2config.h" instead of #include <cyfxgpif2config.h> and try building the project.


Regards,

Yashwant

View solution in original post

5 Replies
YashwantK_46
Moderator
Moderator
Moderator
100 solutions authored 50 solutions authored 50 likes received

Hello lfl_4816136​,

Apologies for the delayed response.

Can you please share a snapshot of the error that you are facing while adding the header file to the eclipse project?

Regards,

Yashwant

0 Likes
lfl_4816136
Level 2
Level 2

pastedImage_0.png

0 Likes

Hello lfl_4816136,

Please try #include "cyfxgpif2config.h" instead of #include <cyfxgpif2config.h> and try building the project.


Regards,

Yashwant

Thank you for your help, now the problem is solved

0 Likes
lfl_4816136
Level 2
Level 2

I want to drive a set of GPIO and state machine at the same time, so I plan to modify it based on the GpioAPP example

0 Likes