I think Eclipse just didn't refresh the contents, so it shows errors. Just right click your project on the Project ecplorer and select Index -
thank you for your answer. I did try your suggestion, however it sadly did not resolve any of the errors Eclipse shows and underlines.
To further clarify my problem, this is what I get after creating a new project with "File -> New -> Project -> Cypress/FX2LP Project -> Create from Template "Bulkloop_SDCC": (see attachment #1 "before_opening.png")As you can see it does not show any errors so far, but after opening a source file it marks every register that is used as error and SYNCDELAY usage produces warnings. (see attachment #2 "after_opening.png")
Also in the "fx2regs.h" where the corresponding registers are declared it shows a lot of supposed syntax errors: (see attachment #3 "fx2regs.png")
I guess this is why Eclipse does not recognize them in the other source files either.
Is there any fix for this?
Thanks for any further help in advance!
(In case the images are not properly displayed, please find them in the attachments)