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

Arduino AVR Boards 1.6.9 and Arduino SAM Boards 1.6.6 incompatible with IDE<1.6.6 #4114

Closed
per1234 opened this issue Nov 9, 2015 · 6 comments

Comments

@per1234
Copy link
Collaborator

per1234 commented Nov 9, 2015

Arduino AVR Boards 1.6.9 contains the following recipe:

recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} {compiler.ar.extra_flags} "{archive_file_path}" "{object_file}""

Which is incompatible with any IDE previous to 1.6.6 because of {archive_file_path} needs to be changed to {build.path}/{archive_file}. After updating to Arduino AVR Boards 1.6.9 any compile using these boards causes the error:

avr-gcc: error: C:\Users\per\AppData\Local\Temp\build8524536844090177810.tmp/core.a: No such file or directory

This is a perfect example of why https://github.com/arduino/Arduino/issues/3932 is needed.

@Chris--A
Copy link
Contributor

Chris--A commented Nov 9, 2015

Maybe this is related: #4110

When the new core downloads, it ends up in the AppData\Local\Arduino15 folder and must override the copy packaged in the install folder.

@per1234
Copy link
Collaborator Author

per1234 commented Nov 9, 2015

When the new core downloads, it ends up in the AppData\Local\Arduino15 folder

Using Boards Manager with <=1.6.5 it installs to AppData*Roaming*\Arduino15

@per1234
Copy link
Collaborator Author

per1234 commented Nov 9, 2015

But that's Windows only. With OS X or linux I believe 1.6.6 and 1.6.5 use the same arduino15 folder. So if you are using either of those OSs and install Arduino IDE 1.6.6, get the boards update notification, update Arduino AVR Boards to 1.6.9, and then decide you want to go back to Arduino IDE 1.6.5 it seems like installing 1.6.6 broke 1.6.5 even though it was really updating Arduino AVR Boards which could have happened in either version of the IDE. But in #4110 they are using Windows 10 so I don't think that specific scenario is their issue.

@ffissore ffissore self-assigned this Nov 12, 2015
@per1234 per1234 changed the title Arduino AVR Boards 1.6.9 incompatible with IDE<1.6.6 Arduino AVR Boards 1.6.9 and Arduino SAM Boards 1.6.6 incompatible with IDE<1.6.6 Nov 15, 2015
@per1234
Copy link
Collaborator Author

per1234 commented Nov 15, 2015

Arduino SAM Boards 1.6.6 is also incompatible with Arduino IDEs previous to 1.6.6.
Edit: Arduino SAM Boards 1.6.5 is also incompatible.

@AndKe
Copy link

AndKe commented Mar 21, 2016

still not fixed in boards v1.6.10 (at least on Linux) 1.6.8 works...

@sandeepmistry
Copy link
Contributor

Now that #4737 is merged newer core releases should not have this issue, there's not much we can do about AVR core 1.6.9 and SAM 1.6.6 so closing.

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

5 participants