Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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
Chris--A wants to merge 1 commit into arduino:master from Chris--A:pde-examples-fix

Conversation

Copy link
Contributor

@Chris--A Chris--A commented Oct 23, 2015

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.
Copy link
Collaborator

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

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
Copy link
Contributor

ffissore commented Nov 2, 2015

Confirm. Working on it

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
Reviewers
No reviews
Labels
Component: Compilation Related to compilation of Arduino sketches Type: Bug
Projects
None yet
Milestone
Release 1.6.6
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /