Arduino 1.65 "Export compiled Binary"

duff

Well-known member
Paul, when i tried to export my sketches "compiled binary" through the IDE console says:
Warning: This core does not support exporting sketches. Please consider upgrading it or contacting its author
Screen Shot 2015-07-29 at 12.14.48 PM.png
I'm assuming this should export the all the complied files that it would normally store in the tmp directory to the sketches folder defined in the preferences menu? Can we get this working?
 
Yeah, the Teensyduino platform.txt file doesn't have the new rules for this.

I've put it on my list of stuff to do....
 
i'll see what that platform.txt thing is about, does editing that file require me to rebuild the IDE?
 
No, rebuilding is not necessary, but you will need to quit and restart the IDE. Arduino only reads platform.txt and boards.txt at startup.
 
ok i got it working I just editied the platform.txt and added this:
Code:
## Create hex
....

## Save hex
recipe.output.tmp_file={build.project_name}.hex
recipe.output.save_file={build.project_name}.hex
Now I want to see if i can add the .elf and .o files to show up in the sketches folder too:)
 
just a followup, I seems you can call only one recipe for exporting hex or elf files to your sketch folder with the above mod to the platform.txt. I use it to export my sketches .elf file so its in the sketches folder.
 
Back
Top