UIPEthernet library for Arduino IDE, Eclipse with arduino plugin and MBED/SMeshStudio (AVR,STM32F,ESP8266,Intel ARC32,Nordic nRF51,Teensy boards,Realtek Ameba(RTL8195A,RTL8710)), ENC28j60 network chip. Compatible with Wiznet W5100 Ethernet library API. Compiled and tested on Nucleo-F302R8. Master repository is: https://github.com/UIPEthernet/UIPEthernet/

Revision:
19:e416943f7119
Parent:
10:cd62b2205c2a
Child:
33:7ba5d53df0f2
--- a/UIPServer.h	Tue Jan 03 11:39:33 2017 +0100
+++ b/UIPServer.h	Wed Jan 04 18:32:00 2017 +0100
@@ -22,7 +22,11 @@
 #include "ethernet_comp.h"
 #if defined(ARDUINO)
   #include "Print.h"
-  #include "Server.h"
+  #if defined(__STM32F3__) || defined(STM32F3)
+    #include "mbed/Server.h"
+  #else
+    #include "Server.h"
+  #endif
 #endif
 #if defined(__MBED__)
   #include "mbed/Print.h"
@@ -30,10 +34,10 @@
 #endif
 #include "UIPClient.h"
 
-#if defined(ARDUINO)
+#if defined(ARDUINO) && !defined(STM32F3)
   class UIPServer : public Server {
 #endif
-#if defined(__MBED__)
+#if defined(__MBED__) || defined(STM32F3)
   class UIPServer : public Print, public Server {
 #endif
 public: