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

MySensors Gateway example not compiling #558

Closed
gerritv opened this issue Mar 4, 2016 · 2 comments
Closed

MySensors Gateway example not compiling #558

gerritv opened this issue Mar 4, 2016 · 2 comments

Comments

@gerritv
Copy link

gerritv commented Mar 4, 2016

Attached is a project directory which fails to build using platformio but builds ok using VisualMicro and Arduino IDE 1.6.7. Using MySensors development branch, not the 1.5.4 library.
Also attached are two build outputs ( from Visual Micro and other from platformio) and the envdump.
Platformio version is 2.8.5.dev2 running on Windows 10 with python 2.7. The problem arises when building for Arduino nano as well, doesn't seem ESP8266 specific. My guess is that there is a flaw in the convoluted Arduino file finding algorithm. Platformio seems to want to build files that are not relevant to the .ino in question.

SensorNet.zip
envdump.txt

PlatformioOutput.txt
VisualMicroOutput.txt

@valeros
Copy link
Member

valeros commented Mar 4, 2016

Hi @gerritv
Indeed, MySensors library has an unusual build logic. Please have a look at #331
I've created a working project with a workaround for you, could you test it?

@gerritv
Copy link
Author

gerritv commented Mar 4, 2016

Awesome, it works. I guess next time I see these symptoms I will have to try this method. Sadly Arduino projects seem to provoke some really obtuse habits in structure :-(

@gerritv gerritv closed this as completed Mar 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants