Go Down

Topic: assembly program + avrdude gui + duemilanove (Read 2 times) previous topic - next topic


Now only if the Arduino IDE would park a copy of a sketch's hex file into the user's sketch directory directly like it once did so many moons ago, I would be a happier camper.  ;)

Just write a wrapper script around avrdude  ;)

But seriously. This can easily be handled by using an avrdude wrapper.
Not the prettiest method but it is very simple.
If you simply rename avrdude than write a script that gets called instead
you can do whatever you want before you then run avrdude.
The only drawback is that it only runs when an upload is done.

Personally I would find a listing or nm output much more interesting than the .hex file
since the .hex file is already available in the build area.

With the 1.5 IDE it is really easy to get even more sophisticate since you now have
complete control over the commands used for everything from the compiler, linker, uploader,
etc.. in the  platform.txt and boards.txt files.

That is the beauty of open source.
You can make do whatever you want.

--- bill


Nov 21, 2012, 08:00 pm Last Edit: Nov 21, 2012, 08:02 pm by retrolefty Reason: 1
That is the beauty of open source.
You can make do whatever you want.

--- bill

>Puts on best Robert DeNiro voice:
You talkin to me? you talkin to me? you must not be talkin to me! As I can only make the IDE not print out nasty red error messages in it's output window with only much effort and perseverance on a good day.



Ok, "don't trust" may have been overly strong language.  I don't like GUI's like this because you can't see what they're doing.  When the OP said "it uploads fine from Arduino, but not with the avrdude GUI", my immediate reaction is compare the command used by arduino (as shown by setting the "verbose" option in preferences) with the command used the avrdude standalone.  Which is DOEN'T SHOW YOU.  grr.

The beauty of using the commandline is that there is nothing hidden.

That's a better way of putting it!

Go Up