Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing include folder in Eclipse IDE? #210

Closed
madhead opened this issue May 23, 2015 · 1 comment
Closed

Missing include folder in Eclipse IDE? #210

madhead opened this issue May 23, 2015 · 1 comment
Assignees
Labels
Milestone

Comments

@madhead
Copy link

madhead commented May 23, 2015

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 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 propertiesC/C++ GeneralPaths and Symbols):

image

Am I missing something, or, maybe, this directory can be included in Eclipse projects by default?

@ivankravets ivankravets added this to the 2.0.1 milestone May 23, 2015
@ivankravets ivankravets self-assigned this May 23, 2015
@ivankravets
Copy link
Member

Thanks a lot for the feedback! 👍

Yes, this is bug or maybe, missed feature. I will add includes from toolchains to exported paths in 2.0.1 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants