Re: Problem , "fatal error: avr/io.h: No such file or directory"

Hello

I have an Arduino ENC28J60 Ethernet module ( https://www.sparkfun.com/products/765 ).

I googled for libraries to this module and I found that the library Ethernet.h works with W5100 chips.
However, the chip ENC28J60 need libraries like ETHER_28J60.h, EtherCard.h and UIPEthernet.h to run. This libraries are available to download in the next site:

This three libraries return the same error:

"fatal error: avr/io.h: No such file or directory"

You say that the library avr is not used by DUE, so... How can I run my module with ENC28J60?

Thank you for your help and sorry for my bad englsih.

PS: My proyect is about to read with Arduino DUE some packets coming from an Ethernet port of a modem.

I understood reeding this forum that arduino DUE "no use" the libraries of avr because it have avm chips. But I think that arduino DUE should can use the avr library to run devices which need to use this library.

Is this wrong?

I'm trying to connect my ENC28J60 Ethernet module with my Arduino DUE.

Is this imposible?

Thank you very much.

The Due is SAM3X8, not AVR architecture.

Sorry, I dont understand you. What do you mean?

I know that DUE dont use servo.h to itself, but you can upload that library to run other modules (like a servo). Then, I suppose that I can upload avr libraries to run my module despite of DUE doesn't use it to itself.

Is this wrong?

Can I connect my ENC28J60 Ethernet module with my Arduino DUE?

BR