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

Autoupdates render platform unbuildable with latest published version #171

Closed
iterati opened this issue Apr 10, 2015 · 2 comments
Closed
Assignees
Labels
Milestone

Comments

@iterati
Copy link

iterati commented Apr 10, 2015

I did not realize that the default settings for platformio were to auto-update libraries and platforms and after a number of successful builds, an update happened that broke my build. The fix involved removing the platformio distribution I downloaded from the site, grabbing the source from github, and building/installing from the source.

I believe the problem was that updates to the teensy platform libraries were not compatible with the 1.3.0 build. Even after multiple attempts, platformio upgrade would return that it was at the most up to date version.

Here's the error my build would throw on 1.3.0:
.pioenvs/autogen_teensy31/libFrameworkArduino.a(mk20dx128.o): In function ResetHandler':
.../.pioenvs/autogen_teensy31/FrameworkArduino/mk20dx128.c:764: undefined reference to __rtc_localtime'

The project again builds successfully on 1.4.0.dev2. I recommend turning off the platform and library auto-updates by default.

@iterati iterati changed the title Auto update of platforms rendered project unbuildable until reinstalling from source Autoupdates render platform unbuildable with latest published version Apr 11, 2015
@ivankravets ivankravets added this to the 2.0.0 milestone Apr 17, 2015
@ivankravets ivankravets self-assigned this Apr 17, 2015
@ivankravets ivankravets mentioned this issue Apr 17, 2015
11 tasks
@ivankravets
Copy link
Member

Thanks a lot! Autoupdates will be disabled in PlatformIO 2.0. See my latest commit b52ff11.

@iterati
Copy link
Author

iterati commented Apr 17, 2015

Awesome. Thanks for your attention on this and your work on this project. It's really streamlined my development workflow.

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