Skip to content


Subversion checkout URL

You can clone with
Download ZIP


avrdude.conf can't be found on fedora distribution #51

slevirus opened this Issue · 6 comments

3 participants


avrdude package not have avrdude.conf in /usr/share/arduino but in /etc/avrdude/avrdude.conf. Just hack path finding for add repertory for all fedora distribution.
Nice work and thank you

diff --git a/ino/commands/ b/ino/commands/
index e081219..ca36772 100644
--- a/ino/commands/
+++ b/ino/commands/
@@ -39,7 +39,10 @@ class Upload(Command):
         self.e.find_tool('stty', ['stty'])
         if platform.system() == 'Linux':
             self.e.find_arduino_tool('avrdude', ['hardware', 'tools'])
-            self.e.find_arduino_file('avrdude.conf', ['hardware', 'tools'])
+            if platform.dist()[0] == 'fedora':
+                self.e.find_arduino_file('avrdude.conf', [])
+            else:
+                self.e.find_arduino_file('avrdude.conf', ['hardware', 'tools'])
             self.e.find_arduino_tool('avrdude', ['hardware', 'tools', 'avr', 'bin'])
             self.e.find_arduino_file('avrdude.conf', ['hardware', 'tools', 'avr', 'etc'])
diff --git a/ino/ b/ino/
index 92da645..482df67 100644
--- a/ino/
+++ b/ino/
@@ -63,8 +63,10 @@ class Environment(dict):
-    if platform.system() == 'Darwin':
+    if platform.system() == 'linux':
+        if platform.dist()[0] == 'fedora':
+            arduino_dist_dir_guesses.insert(0, '/etc/avrdude')
+    elif platform.system() == 'Darwin':
         arduino_dist_dir_guesses.insert(0, '/Applications/')

     default_board_model = 'uno'
@slevirus slevirus closed this
@slevirus slevirus reopened this

Thanks for the report. There should be a way to get to know where avrdude.conf actually is. Since Arduino IDE itself knows it somehow. Will investigate the issue.


I think it's hardcoded. It's a specific distribution issues.

cd /usr/share/arduino/
grep -nr 'avrdude.conf' .
./hardware/arduino/bootloaders/optiboot/Makefile:55:AVRDUDE_CONF = -C$(TOOLROOT)/avr/etc/avrdude.conf
./hardware/arduino/bootloaders/optiboot/Makefile:77:AVRDUDE_CONF = -C$(TOOLROOT)/avr/etc/avrdude.conf
./hardware/arduino/bootloaders/caterina/Makefile:438:AVRDUDE = /Applications/avrdude -C /Applications/avrdude.conf -B 1

If it's can help you


Any traction on this? Pretty soon we'll have to start maintaining patches in the RPM.


Oh, well, sorry for the long delay. Will find a bit of spare time for this in few days. Thank you for bothering.


Fixed in 0.3.6

@nailxx nailxx closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.