Skip to content

Bug fix for legacy libs using .pde examples. #4021

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

Closed
wants to merge 1 commit into from

Conversation

Chris--A
Copy link
Contributor

The newer build system does not work correctly with .pde files. The .ino extension is hard coded and avrdude results in an error: "cannot find file".

This fix will prompt the user to allow the IDE to auto update the extensions.
This only checks legacy libraries.

These are the errors that appear when trying to upload an example using .pde

Reading | ################################################## | 100% 0.01s

avrdude: Device signature = 0x1e9801
avrdude: reading input file "C:\Users\Chris\AppData\Local\Temp\build9273366a9a263951d3a7df5914e80d49.tmp/NewPingExample.ino.hex"
avrdude: can't open input file C:\Users\Chris\AppData\Local\Temp\build9273366a9a263951d3a7df5914e80d49.tmp/NewPingExample.ino.hex: No such file or directory
avrdude: read from file 'C:\Users\Chris\AppData\Local\Temp\build9273366a9a263951d3a7df5914e80d49.tmp/NewPingExample.ino.hex' failed

avrdude done.  Thank you.

If you want me to change the text, or make it force the update (only Ok, not Yes/No) let me know and I'll amend my commit.

Cheers.

The newer build system does not work correctly with .pde files. The .ino
extension is hard coded and avrdude results in an error: "cannot find file".

This fix will prompt the user to allow the IDE to auto update the extensions.

This only checks legacy libraries.
@matthijskooijman
Copy link
Collaborator

@ffissore, was support for .pde files intentionally dropped? They used to still work before arduino-builder AFAIK?

@Chris--A
Copy link
Contributor Author

Yeah, .pde's did work. Since arduino-builder it appears the .ino extension is hard coded. It must blindly copy the sketch source.

@ffissore ffissore self-assigned this Oct 29, 2015
@ffissore ffissore added Component: Compilation Related to compilation of Arduino sketches Type: Bug labels Nov 2, 2015
@ffissore ffissore added this to the Release 1.6.6 milestone Nov 2, 2015
@ffissore
Copy link
Contributor

ffissore commented Nov 2, 2015

Confirm. Working on it

@ffissore ffissore closed this in 5ceca65 Nov 2, 2015
@ffissore
Copy link
Contributor

ffissore commented Nov 2, 2015

Fixed. Fix will be available with next hourly build http://www.arduino.cc/en/Main/Software#hourly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Compilation Related to compilation of Arduino sketches Type: Bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants