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
First of all, I want to say thank you for this awesome project. I came from Java and using Eclipse is much more convenient for me then Arduino IDE.
I'm using platformio to program my Arduino Uno, so, I generate project with platformio init --ide eclipse --board uno. In this case default "include path" in Eclipse contains two platform-specific directories:
With this configuration Eclipse does not know about some AVR types, like uint8_t. So when I use pinMode or digitalWrite I got error highlights, but the build is actually fine. This type is defined in <stdint.h> in AVR.
I solve this problem by manually including one more directory: /home/madhead/.platformio/packages/toolchain-atmelavr/avr/include to the Includes (Project properties → C/C++ General → Paths and Symbols):
Am I missing something, or, maybe, this directory can be included in Eclipse projects by default?
The text was updated successfully, but these errors were encountered:
First of all, I want to say thank you for this awesome project. I came from Java and using Eclipse is much more convenient for me then Arduino IDE.
I'm using platformio to program my Arduino Uno, so, I generate project with
platformio init --ide eclipse --board uno
. In this case default "include path" in Eclipse contains two platform-specific directories:/home/madhead/.platformio/packages/framework-arduinoavr/variants/standard
/home/madhead/.platformio/packages/framework-arduinoavr/cores/arduino
With this configuration Eclipse does not know about some AVR types, like
uint8_t
. So when I usepinMode
ordigitalWrite
I got error highlights, but the build is actually fine. This type is defined in<stdint.h>
in AVR.I solve this problem by manually including one more directory:
/home/madhead/.platformio/packages/toolchain-atmelavr/avr/include
to theIncludes
(Project properties
→C/C++ General
→Paths and Symbols
):Am I missing something, or, maybe, this directory can be included in Eclipse projects by default?
The text was updated successfully, but these errors were encountered: