Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

arduino due cant use enc28j60? #192

Closed
nanmenxue opened this issue Jun 2, 2015 · 5 comments
Closed

arduino due cant use enc28j60? #192

nanmenxue opened this issue Jun 2, 2015 · 5 comments

Comments

@nanmenxue
Copy link

the library cant work in due,can i resolve this problem?

@solarkennedy
Copy link
Contributor

Can you provide more context about how it doesn't work?

Have you tried using the equivalent SPI pins for the Due?
http://www.arduino.cc/en/Reference/SPI (Section on "Connections")

If you do get it working can you submit a PR updating the readme on the pin hookup for a Due?

@markoj21
Copy link

I hope this gives you more info, using the simple testDHCP.ino which works on the mega just fine.

C:\Users***\Documents\Arduino\libraries\ethercard-master\dhcp.cpp: In static member function 'static bool EtherCard::dhcpSetup(const char*, bool)':
C:\Users***\Documents\Arduino\libraries\ethercard-master\dhcp.cpp:327:61: error: 'strncpy_P' was not declared in this scope
strncpy_P(hostname, hname, DHCP_HOSTNAME_MAX_LEN);
^
Error compiling.

When i commented strncpy the compile process went into a endless loop. Using arduion 1.6.4 and added arduino due from the board manager.

@simongerads
Copy link

Hi, I have the same Issue. Any ideas?

@prasimix
Copy link

Hi, I'm also interested if any plans/progress exists for adding support for Arduino Due. Thanks for great job.

@antonays
Copy link

antonays commented Feb 8, 2018

Similar Issue,

EtherCard.cpp:14:24: fatal error: avr/eeprom.h: No such file or directory
#include <avr/eeprom.h>

Could be lack of compatibility with DUE as suggested in EtherCard does not work on Arduino Due, compilation error .

Question:
Suggestions how to tweak the library to use the SPI library ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants