Page 1 of 1

.hex file location on mac

PostPosted: Fri Aug 07, 2015 12:47 pm
by agentavacado
This may sound stupid... But how do you access a .hex file on mac? It's in this odd folder called "var" and I can't find it. I checked in the arduino.app file and outside it. Another possibility is that it dropped right into an .eeprom file and I can't open that. Is there a way to access the .hex file on mac?
Code: Select all
/Users/_/Desktop/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-objcopy -O ihex -R .eeprom /var/folders/04/6f7dy_md59dbbh4lgxdkhzfc0000gq/T/build2767952365303504327.tmp/sketch_aug06a.cpp.elf /var/folders/04/6f7dy_md59dbbh4lgxdkhzfc0000gq/T/build2767952365303504327.tmp/sketch_aug06a.cpp.hex

Re: .hex file location on mac

PostPosted: Fri Aug 07, 2015 2:15 pm
by adekto
i have made a video about it


but in short after compile open terminal and Chance Derectory to that folder location that the IDE spits out
Code: Select all
cd /var/folders/04/6f7dy_md59dbbh4lgxdkhzfc0000gq/T/build2767952365303504327.tmp/

and then to go open that folder in the terminal
Code: Select all
open .

Re: .hex file location on mac

PostPosted: Fri Aug 07, 2015 8:32 pm
by agentavacado
Thank you! Excuse my lack of arduino knowledge.

Re: .hex file location on mac

PostPosted: Sat Aug 08, 2015 4:56 pm
by adekto
no problem you leurn every day