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)
I saw your (unanswered) post. I may start a new project with FX2LP (to control AD7785 on EVAL-AD7785 board from Analog Devices) and looking for the appropriate (modern) IDE. But before downloading EZ-USB FX3 suite I have 2 questions:
- ) I wonder if you eventually succeeded to get rid of these (false) error flags in Eclipse?
- ) You’re saying that code “compile without errors and the resulting .hex file does actually work when downloaded to the FX2LP”. Does this mean that you manage everything (compile, download) inside the Eclipse IDE provided with EZ-USB FX3 suite?
Thank you in advance for your help!