Creatoer-Generated header files give compile error

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

cross mob
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

After initial debugging of my 8051 code, I have a "syntax error near '8'" error on line 99 of EZI2C.h.  This being a PSoC Creator generated file, I don't know what could be causing this, the code looks fine above line 99.  On a possible unrelated note, I #included project.h to my main file and the uintxx data types were failing to be recognized.  This problem is resolved now.

   

 

   

I've attached my project archive bundle to this post as well.  Thanks in advance for any assisstance.

0 Likes
2 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

I cannot tell you why, but remove the #define bufSize 8 from main.h

   

 

   

Bob

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

Using Creator 3.2 I see a lot of errors in main.c due to variables being

   

undeclared ? Funny, none of them reported though.

   

 

   

REgards, Dana.

0 Likes