|
Revision 67
(checked in by follower, 10 months ago)
|
Clarify the install instructions a little as to which files go where.
|
| Line | |
|---|
| 1 |
|
|---|
| 2 |
WIZnet W5100 / WIZ810MJ Hardwired TCP/IP Ethernet Chip/Module Driver for Arduino |
|---|
| 3 |
================================================================================ |
|---|
| 4 |
|
|---|
| 5 |
For more information see: |
|---|
| 6 |
|
|---|
| 7 |
<http://code.rancidbacon.com/LearningAboutArduinoWIZ810MJ> |
|---|
| 8 |
|
|---|
| 9 |
Based on the W5100 driver from WIZnet. |
|---|
| 10 |
|
|---|
| 11 |
|
|---|
| 12 |
Installation and Building |
|---|
| 13 |
------------------------- |
|---|
| 14 |
|
|---|
| 15 |
Arduino will compile the library automatically if you put the correct |
|---|
| 16 |
files in the library directory of the Arduino application. |
|---|
| 17 |
|
|---|
| 18 |
If you are installing this library from SVN you should put the files |
|---|
| 19 |
from 'src/lib/' in a directory named 'WIZ810MJ' and then put that |
|---|
| 20 |
directory in the Arduino library directory. |
|---|
| 21 |
|
|---|
| 22 |
For Arduino version 0010 the library directory location is: |
|---|
| 23 |
|
|---|
| 24 |
<ARDUINO>/hardware/libraries/ |
|---|
| 25 |
|
|---|
| 26 |
For Ardino version 0009 the library directory location was: |
|---|
| 27 |
|
|---|
| 28 |
<ARDUINO>/lib/targets/libraries/ |
|---|
| 29 |
|
|---|
| 30 |
If you want to compile the library manually you can use the following: |
|---|
| 31 |
|
|---|
| 32 |
avr-gcc -mmcu=atmega168 -Wall -Os -fsigned-char -combine -c socket.c w5100.c -o wiz810mj.o |
|---|
| 33 |
|
|---|
| 34 |
avr-strip --strip-debug --strip-unneeded -X -x *.o |
|---|
| 35 |
|
|---|
| 36 |
|
|---|
| 37 |
From the original driver README |
|---|
| 38 |
------------------------------- |
|---|
| 39 |
|
|---|
| 40 |
(You're almost certainly not going to need this.) |
|---|
| 41 |
|
|---|
| 42 |
+ How to Change the interface mode |
|---|
| 43 |
Change the value of the __DEF_IINCHIP_BUS__ in the types.h file. |
|---|