Compilation Error With Arduino 1.83, "sketch\HAL.h:34:20: fatal error: avr/io.h: No such file...

I just downloaded  "Repetier-Firmware 1.0.x with Configuration Tool" and am trying to compile it for Arduino Due in the Arduino 1.83 environment on a Windows 7 machine.

I get the error: "sketch\HAL.h:34:20: fatal error: avr/io.h: No such file or directory.

Any help?

Thank you.


Comments

  • You need to select the right board in arduino ide or the file will not be there. Since it wants a avr file probably Mega 2560 board.
  • Repetier said:
    You need to select the right board in arduino ide or the file will not be there. Since it wants a avr file probably Mega 2560 board.
    Thank you for your quick response. I am using a Due in my project, but I may have made a mistake when I filled out the firmware configuration answers. I filled it out again, downloaded it, and it compiles ok now. Thanks again!
Sign In or Register to comment.