Welcome! Log In Create A New Profile

Advanced

Arduino DUE, Marlin 1.1.9: fatal error: avr/io.h: No such file or directory

Posted by EcoF83R 
Arduino DUE, Marlin 1.1.9: fatal error: avr/io.h: No such file or directory
September 02, 2018 03:42PM
Aloha :-)

For some days I try to load Marlin 1.1.9 (2.0.0) as firmware on my Arduino DUE with RADDS.
The following error message I get through the Arduino IDE:

In file included from sketch\HAL.h:33:0,

from sketch\MarlinConfig.h:39,

from sketch\G26_Mesh_Validation_Tool.cpp:27:

sketch\fastio.h:34:20: fatal error: avr/io.h: No such file or directory

#include <avr/io.h>

^

compilation terminated.

exit status 1
Fehler beim Kompilieren für das Board Arduino Due (Programming Port).


I have already tried the folder "avr/" including the "io.h" in different directories to copy. But no matter what I do, each time the same error message appears.
In the version 1.0.0 (which I use for years and which also works well) is "avr/io.h" does not exist. So I have no problems there.
Does any of you have a solution?

Greeting,
Chris

Edited 1 time(s). Last edit at 09/02/2018 04:37PM by EcoF83R.
Re: Arduino DUE, Marlin 1.1.9: fatal error: avr/io.h: No such file or directory
September 03, 2018 06:12AM
Aloha :-)

Ok, I have it!
You have to create a folder 'avr' in '.../sketchbook/libraries' and copy the file 'io.h' into it.
Then it works.

Greeting,
Chris
Sorry, only registered users may post in this forum.

Click here to login