1

Whenever I upload a code I get this error:

avrdude: no programmer has been specified on the command line or the config file Specify a programmer using the -c option and try again

I am able to upload from other PCs, but ever since I got the newest IDE, it stopped working. I even tried downgrading to 1.6.8, and still i get this error... Any help? Thanks,

Sean

per1234
4,2782 gold badges23 silver badges43 bronze badges
asked Oct 9, 2016 at 20:03
1
  • Check what programmer you have selected in the IDE. Commented Oct 9, 2016 at 20:04

1 Answer 1

4

This issue occurs when using Arduino IDE 1.6.8 or older with Arduino AVR Boards 1.6.12 or 1.6.14. There are two solutions:

  1. Upgrade your Arduino IDE to 1.6.9 or newer by downloading and installing the appropriate file from https://www.arduino.cc/en/Main/Software.

  2. Downgrade your Arduino AVR Boards version to 1.6.11 or older(or 1.6.13) via Tools> Board> Boards Manager...

I submitted a pull request to fix this backwards compatibility issue and it was merged by the Arduino developers so this issue will no longer occur with Arduino AVR Boards 1.6.15 and up. It explains the cause of the issue: https://github.com/arduino/Arduino/pull/5427

answered Oct 10, 2016 at 0:00

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.