Go Down

Topic: Compiling Sketch Question (Read 584 times) previous topic - next topic

Freman

How would I go about (if it's possible) creating a compiled sketch to upload to the Arduino?

So as to make it as easy as possible for a user to update their Arduino.

mem

#1
Dec 18, 2007, 09:51 pm Last Edit: Dec 18, 2007, 09:51 pm by mem Reason: 1
Freman, could you say a little more about what problem you are trying to solve.

Freman

I'd like to compile the sketch, email it to someone else and have them 'update' their arduino with the received file.

mem

#3
Dec 19, 2007, 04:18 am Last Edit: Dec 19, 2007, 04:19 am by mem Reason: 1
The file you need to email is the Intel Hex file founding the sketches applet subdirectory,  it has the same name as the sketch but with the extension .hex

The arduino environment uses avrdude to upload this file to the board. I have little direct experience with it but google should provide enough information to help you  understand what needs to happen to get the received file loaded.

good luck

leviathan

The recipient could upload the .hex file using avrdude from the command line.
levitis_leviathan

kg4wsv

The arduino IDE compiles a sketch as part of the "upload" process.

There's really no need to send anything other than a sketch, unless you're trying to hide your code.

-j


Go Up