.hex file location on mac

Understanding the language, error messages, etc.

.hex file location on mac

Postby agentavacado » Fri Aug 07, 2015 12:47 pm

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
agentavacado
 
Posts: 19
Joined: Thu Jun 25, 2015 12:50 am

Re: .hex file location on mac

Postby adekto » Fri Aug 07, 2015 2:15 pm

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 .
User avatar
adekto
 
Posts: 448
Joined: Tue Feb 25, 2014 9:47 pm
Location: belgium

Re: .hex file location on mac

Postby agentavacado » Fri Aug 07, 2015 8:32 pm

Thank you! Excuse my lack of arduino knowledge.
agentavacado
 
Posts: 19
Joined: Thu Jun 25, 2015 12:50 am

Re: .hex file location on mac

Postby adekto » Sat Aug 08, 2015 4:56 pm

no problem you leurn every day
User avatar
adekto
 
Posts: 448
Joined: Tue Feb 25, 2014 9:47 pm
Location: belgium


Return to Programming Questions

Who is online

Users browsing this forum: No registered users and 77 guests

cron