You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GHPS
Thanks fro the nice words.
The serial problem is a known problem.
please see http://eclipse.baeyens.it/Arduino%20eclipse%20plugin%20FAQ.htm#bugs on the best way to get rid of the issue.
Note that adding extern HardwareSerial Serial; is not a good solution as it may create conflicts on some boards (for instance the mega)
Best regards
Jantje
Indeed it helped to change the index settings. The Serial library is found after
these steps (quote from the FAQ):
Setting the preference windows->preferences->C/C++->indexer->index unused headers.
Setting the preference windows->preferences->C/C++->indexer->index source and header files opened in the editor.
Setting the preference windows->preferences->C/C++->indexer->Files to index upfront . Add arduino.h and or WProgram.h.
Do next four in this sequence
Right click the project->index->Search for unresolved includes.
Right click the project->index->Freshen all Files.
Right click the project->index->Update with modified files.
Right click the project->index->Rebuild.
First of all: Thanks for the great plugin! It has made the work with
Eclipse and Arduino much easier - especially linking libraries.
Unfortunately the Serial library doesn't work out of the box.
The solution is quite simple: Include
extern HardwareSerial Serial;
in the specific project .h file.
A new version of the plugin could do this by default.
The text was updated successfully, but these errors were encountered: