Simple HTTP server example with WIZ550io, W5500 (WIZnet chipset) .access the mbed via any browser, mbed echo back http request header.

Dependencies:   W5500Interface mbed

Fork of HTTPServer_echoback_WIZ550io by Bongjun Hur

Revision:
18:bed64c7e5a72
Parent:
17:c42419afb2f8
Child:
19:59a668f08555
--- a/main.cpp	Mon Jul 21 05:18:06 2014 +0000
+++ b/main.cpp	Mon Jul 21 07:45:30 2014 +0000
@@ -48,6 +48,12 @@
     spi.format(8,0); // 8bit, mode 0
     spi.frequency(7000000); // 7MHz
     wait(1); // 1 second for stable state
+#elif defined (TARGET_NUCLEO_F030R8)
+    SPI spi(SPI_MOSI, SPI_MISO, SPI_SCK); // mosi, miso, sclk
+    EthernetInterfaceW5500 eth(&spi, PB_6, PA_9);//, nRESET(p9); // reset pin is dummy, don't affect any pin of WIZ550io
+    spi.format(8,0); // 8bit, mode 0
+    spi.frequency(7000000); // 7MHz
+    wait(1); // 1 second for stable state
 
 #endif