Pages: [1]   Go Down
Author Topic: Where are the files hex saved after Verify  (Read 582 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi Everyone,

I am new in the Arduino world, but I already love it smiley

I have installed the software Arduino 1.0-rc2 on Mac OSX 10.6.6 (10.6.8 )

In the instructions that I am following (AVRdude) I need the "Sample_Program" on hex format ( .h or .hex) which should find up upon "Verify" in folder "/tmp" ... unfortunately, I cannot find any file with the name "Sample_Program" etc. I have only "Sample_Program.ino" under folder sketch (sketchbook).

My question is, where does Arduino 1.0-rc2 save it's temporary files, e.i. compiled files (Sample_Program.h, Sample_Program.c, etc) ?

Thank you very much for your help
Logged

Global Moderator
Dallas
Online Online
Shannon Member
*****
Karma: 207
Posts: 12902
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset


%TEMP%
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Re: Coding Badly

I dont understand what you mean ...  on OSX ??? ... %TEMP% ... Can you be more specific please, thank you
« Last Edit: May 01, 2012, 06:10:22 pm by okap » Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 208
Posts: 8842
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

In Arduino Preferences set "Show verbose output during : [X] compilation [ ] upload"

Then when you verify you will get the verbose output that will tell you where the compile was done.  It will be in the second-to-last line:
Quote
/var/folders/cs/p6yz0z1m8xj9lf0059b_lzw00000gn/T/build8229176203510383123.tmp/Blink.cpp.hex
Binary sketch size: 1026 bytes (of a 32256 byte maximum)

Of course it will be different for each build.
Logged

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thank you very much John, this is exactly what I needed ... THANKS !!!
Logged

Pages: [1]   Go Up
Jump to: