You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
1.3 KiB
45 lines
1.3 KiB
17 years ago
|
|
||
|
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.
|
||
|
|
||
|
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.
|