Go Down

Topic: How do you fix an attiny85 compiler error? (Read 188 times) previous topic - next topic

check222

Hi,

      I am trying to upload a script to an attiny85 chip using Arduino as ISP. I am using the Arduino Uno Rev 3 and am using the instructions from https://code.google.com/archive/p/arduino-tiny/. I am getting this error:
Code: [Select]
Arduino: 1.8.5 (Windows 10), Board: "ATtiny85 @ 8 MHz  (internal oscillator; BOD disabled)"

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\griff\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\griff\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Program Files (x86)\Arduino\sketchbook\libraries -fqbn=tiny:avr:attiny85at8 -vid-pid=0X2A03_0X0043 -ide-version=10805 -build-path C:\Users\griff\AppData\Local\Temp\arduino_build_528081 -warnings=none -build-cache C:\Users\griff\AppData\Local\Temp\arduino_cache_812163 -prefs=build.warn_data_percentage=75 -verbose C:\Program Files (x86)\Arduino\sketchbook\blink_2.0\blink_2.0.ino
readlink C:\Program Files (x86)\Arduino\sketchbook\blink_2.0: The system cannot find the file specified.

Error compiling for board ATtiny85 @ 8 MHz  (internal oscillator; BOD disabled).


The code I am trying to upload is the following:
Code: [Select]
void setup() {
  pinMode(3, OUTPUT);
void loop() {
  digitalWrite(3, HIGH);
  delay(500);
  digitalWrite(3, LOW);
  delay(500);
}


If anyone knows, it would be a great help!

pert

This error is caused by the use of the Arduino IDE with Windows OneDrive. The bug has been fixed in the hourly build, which you can download here:
http://www.arduino.cc/en/Main/Software#hourly

Go Up