| | 10 | |
| | 11 | |
| | 12 | Installation and Building |
| | 13 | ------------------------- |
| | 14 | |
| | 15 | Arduino will compile the library automatically if you put it in the |
| | 16 | library directory of the Arduino application. |
| | 17 | |
| | 18 | For Arduino version 0010 the library directory location is: |
| | 19 | |
| | 20 | <ARDUINO>/hardware/libraries/ |
| | 21 | |
| | 22 | For Ardino version 0009 the library directory location was: |
| | 23 | |
| | 24 | <ARDUINO>/lib/targets/libraries/ |
| | 25 | |
| | 26 | If you want to compile the library manually you can use the following: |
| | 27 | |
| | 28 | avr-gcc -mmcu=atmega168 -Wall -Os -fsigned-char -combine -c socket.c w5100.c -o wiz810mj.o |
| | 29 | |
| | 30 | avr-strip --strip-debug --strip-unneeded -X -x *.o |