Community
Participate
Working Groups
I tried to fix the 'unresolved inclusion "Arduino.h"' problem for while now, and so far the only solution I could find is to include the source files via a separate project who has the root folder of the libraries as a linked resource. It works good enough for that problem, but I noticed that the source files are just messed up somehow. For example the 'Serial' class is actually called 'HardwareSerial' pseudo-named to 'SerialUSB'. The whole declaration (both in the available .c/.cpp and .h files) of the 'Serial' class cannot be found. In short my thoughts: - The original problem is thought to be from some bug in the indexer - The indexer might not be the problem in this case, but the source files it has to 'index'/'resolve' Package: Arduino SAMD Boards (32-bits ARM Cortex-M0+) version: 1.8.3 -- Configuration Details -- Product: Eclipse IDE 4.12.0.20190614-1200 (org.eclipse.epp.package.cpp.product)Installed Features: org.eclipse.platform 4.12.0.v20190605-1801
Correction, the 'SerialUSB' class is pseudo-named to 'Serial'. and 'SerialUSB' cannot be found anywhere in the source codes.
I have the same problem...
Thank you for taking the time to file a bug report about the Arduino component of the CDT project. The Arduino component is no longer maintained and will be removed from CDT 10 (Bug 562498). The final Eclipse CDT version that will include Arduino support is the CDT 9.11 series. Please consider using The Arduino Eclipse IDE and plug-ins named Sloeber (https://marketplace.eclipse.org/node/2637354) for your future Eclipse CDT powered Arduino development.