[En-Nut-Discussion] Problem with registry DEV_ETHER

mateuszk mateusz778 at vp.pl
Thu Aug 21 09:56:25 CEST 2014


Hello,
I tried register Ethernet Controller. I prepared two project, the first and
the second project have the same main program, but the first project is
compiled with files Nut/Os version 4.8.0 and the second project is compiled
with files Nut/Os version 5.1.0.
Project with Nut/Os 4.8.0 works perfectly. The second project with Nut/Os
5.1.0 is compiled but doesn't work (doesn't initialize the connection). I
must use Nut/Os v.5.1.0 because I need Uflash filesystem.
I found somethink that:
<http://microcontrollers.2385.n7.nabble.com/file/n191692/dev_ether.png> 
I think that it is the problem. But I don't know How Can I change
devNullEther -> devSmsc111 ?
In dev/board I changed :

*#ifndef DEV_ETHER
#include <dev/null_ether.h>
#endif
#ifndef DEV_ETHER_NAME
#define DEV_ETHER_NAME  "eth0"
#endif*

to

*#ifndef DEV_ETHER
#include <dev/lanc111.h>
#endif
#ifndef DEV_ETHER_NAME
#define DEV_ETHER_NAME  "eth0"
#endif*

But it didn't change anything.Does anyone know what to do with it?

Best Regards,
Matthew




--
View this message in context: http://microcontrollers.2385.n7.nabble.com/Problem-with-registry-DEV-ETHER-tp191692.html
Sent from the MicroControllers - Ethernut mailing list archive at Nabble.com.


More information about the En-Nut-Discussion mailing list