arduino / ArduinoCore-avr

The Official Arduino AVR core
https://www.arduino.cc
1.22k stars 1.04k forks source link

"Export compiled Binary" with .eep file #274

Open Dragon-Knight opened 6 years ago

Dragon-Knight commented 6 years ago

When exporting a binary file, only a hex file is created. When both in the temp folder there are both hex and eep files. Please, add the ability to export both program data and eeprom data.

ubidefeo commented 6 years ago

If I may add, it would be great if this option could create a "build" folder in the sketch folder containing everything including the .elf file. Some users (like me) may want to do debugging and have to go scavenge for the .elf in the temp folder which is always erased and changes name on compile, hence the path will change

Dragon-Knight commented 6 years ago

I fully support. The .elf file is also very often used and it is very inconvenient to look for it in the temp folder.

ubidefeo commented 6 years ago

@facchinm , could you also consider my extension as an improvement and add a build folder with all that's needed to the sketch folder? :)

stevecolt commented 6 years ago

Count me in on this request, a separate build directory under sketch folder would be ideal Steve

alexceltare2 commented 5 years ago

This will be greatly useful. An option in Arduino to choose a path where to export the .bin/.hex/.eep upon compilation will help to quickly distribute a binary file for production. I fully support this idea. And it shouldn't be limited to just AVR. I use MSP430 to develop using Arduino IDE and that feature will definitely come in handy.

ubidefeo commented 5 years ago

hi there, fellows :) has any of you tried Arduino-CLI? when building it also produces an .elf file local to the sketch. for users comfortable with the command line it's really neat.

My workflow is based on Sublime Text 3 and a simple build script to compile/upload