Pages: 1 [2]   Go Down
Author Topic: [SOLVED]Passing extra options to avrdude  (Read 3727 times)
0 Members and 2 Guests are viewing this topic.
Deep south of Italy
Offline Offline
Faraday Member
**
Karma: 8
Posts: 2955
The quieter you become, the more you can hear
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

i don't wanna program a specific mcu, i only want to find the way to pass extra options to avrdude within the arduino ide.
I changed avrdude adding to it a new option, but usually, Arduino does not provide access to an option destinated to avrdude he doesn't know , so you have to make arduino ide able to understand the new option and if required in the configuration file, to communicate it to avrdude.
« Last Edit: March 23, 2012, 12:32:43 pm by BrainBooster » Logged

Deep south of Italy
Offline Offline
Faraday Member
**
Karma: 8
Posts: 2955
The quieter you become, the more you can hear
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

thank you guys.
I menaged to solve the problem ! and now i hame my version working with the new option for avrdude  smiley-mr-green

it was driving me nuts!
Logged

Belgium
Offline Offline
Edison Member
*
Karma: 68
Posts: 1917
Arduino rocks; but with my plugin it can fly rocking the world ;-)
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

congratulations
Best regards
Jantje
Logged

Do not PM me a question unless you are prepared to pay for consultancy.
Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -

ottawa, canada
Offline Offline
God Member
*****
Karma: 6
Posts: 990
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

So how did you do it?
Logged

Deep south of Italy
Offline Offline
Faraday Member
**
Karma: 8
Posts: 2955
The quieter you become, the more you can hear
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

i changed the file AvrdudeUploader.java the way to make arduino able to parse the new option , reading it from the preferences.txt file.
and then i also changed the preference  gui to add the small addon box.
that's it smiley
Logged

Pages: 1 [2]   Go Up
Jump to: