|
|
|
|
|
|
|
WIZnet W5100 / WIZ810MJ Hardwired TCP/IP Ethernet Chip/Module Driver for Arduino
|
|
|
|
================================================================================
|
|
|
|
|
|
|
|
For more information see:
|
|
|
|
|
|
|
|
<http://code.rancidbacon.com/Netduino/>
|
|
|
|
|
|
|
|
Based on the W5100 driver from WIZnet.
|
|
|
|
|
|
|
|
|
|
|
|
Installation and Building
|
|
|
|
-------------------------
|
|
|
|
|
|
|
|
Arduino will compile the library automatically if you put the correct
|
|
|
|
files in the library directory of the Arduino application.
|
|
|
|
|
|
|
|
If you are installing this library you should put the files
|
|
|
|
from the directory named 'src/libw5100/' in the Arduino library directory.
|
|
|
|
It will be compiled automatically within the IDE.
|
|
|
|
|
|
|
|
For Arduino version 0010 the library directory location is:
|
|
|
|
|
|
|
|
<ARDUINO>/hardware/libraries/
|
|
|
|
|
|
|
|
For Ardino version 0009 the library directory location was:
|
|
|
|
|
|
|
|
<ARDUINO>/lib/targets/libraries/
|
|
|
|
|
|
|
|
If you want to compile the library manually you can use the following:
|
|
|
|
|
|
|
|
avr-gcc -mmcu=atmega168 -Wall -Os -fsigned-char -combine -c socket.c w5100.c -o wiz810mj.o
|
|
|
|
|
|
|
|
avr-strip --strip-debug --strip-unneeded -X -x *.o
|
|
|
|
|
|
|
|
Open a demo '.pde' to compile.
|
|
|
|
|
|
|
|
|
|
|
|
Author
|
|
|
|
------
|
|
|
|
|
|
|
|
Philip Lindsay <follower@rancidbacon.com>
|
|
|
|
|
|
|
|
|
|
|
|
From the original driver README
|
|
|
|
-------------------------------
|
|
|
|
|
|
|
|
(You're almost certainly not going to need this.)
|
|
|
|
|
|
|
|
+ How to Change the interface mode
|
|
|
|
Change the value of the __DEF_IINCHIP_BUS__ in the types.h file.
|