Continuing the discussion from Re Flash my x controller:
In the Arduino IDE go to Tools->Board->Boards Manager
For “Arduino AVR Boards” click on more info:
Click on Select Version" (the picture below doesn’t show 1.6.11 because I already have it installed)
Click on '1.6.11"
Click on Install