WIZnet WIZ550io (W5500) support
Dependencies: HTTPClient WIZ550ioInterface mbed
Fork of HTTPClient_HelloWorld by
Revision 5:101b6b1498d0, committed 2013-12-15
- Comitter:
- ban4jp
- Date:
- Sun Dec 15 13:13:44 2013 +0000
- Parent:
- 4:dce35de805b5
- Child:
- 6:e887778f5f03
- Commit message:
- Add WIZ550io support
Changed in this revision
--- a/EthernetInterface.lib Mon Dec 02 14:41:44 2013 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -http://mbed.org/users/mbed_official/code/EthernetInterface/#cba86db5ab96
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/WIZ550ioInterface.lib Sun Dec 15 13:13:44 2013 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/ban4jp/code/WIZ550ioInterface/#8bdf6aac8cea
--- a/main.cpp Mon Dec 02 14:41:44 2013 +0000 +++ b/main.cpp Sun Dec 15 13:13:44 2013 +0000 @@ -1,8 +1,19 @@ #include "mbed.h" -#include "EthernetInterface.h" +//#include "EthernetInterface.h" +#include "WIZ550ioInterface.h" #include "HTTPClient.h" -EthernetInterface eth; +//EthernetInterface eth; +#if defined(TARGET_LPC1114) +SPI spi(dp2, dp1, dp6); // mosi, miso, sclk +WIZ550ioInterface eth(&spi, dp25, dp26); // spi, cs, reset + +#elif defined(TARGET_LPC1768) +SPI spi(p5, p6, p7); // mosi, miso, sclk +WIZ550ioInterface eth(&spi, p25, p26); // spi, cs, reset + +#endif + HTTPClient http; char str[512];
--- a/mbed-rtos.lib Mon Dec 02 14:41:44 2013 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -http://mbed.org/users/mbed_official/code/mbed-rtos/#29007aef10a4