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/
Diff: UIPServer.h
- Revision:
- 33:7ba5d53df0f2
- Parent:
- 19:e416943f7119
--- a/UIPServer.h Fri Feb 10 09:10:47 2017 +0100 +++ b/UIPServer.h Tue Feb 14 14:16:14 2017 +0100 @@ -21,8 +21,12 @@ #include "ethernet_comp.h" #if defined(ARDUINO) - #include "Print.h" - #if defined(__STM32F3__) || defined(STM32F3) + #if defined(__RFduino__) + #include "Print.h" + #else + #include "Print.h" + #endif + #if defined(__STM32F3__) || defined(STM32F3) || defined(__RFduino__) #include "mbed/Server.h" #else #include "Server.h" @@ -34,10 +38,10 @@ #endif #include "UIPClient.h" -#if defined(ARDUINO) && !defined(STM32F3) +#if defined(ARDUINO) && !defined(STM32F3) && !defined(__RFduino__) class UIPServer : public Server { #endif -#if defined(__MBED__) || defined(STM32F3) +#if defined(__MBED__) || defined(STM32F3) || defined(__RFduino__) class UIPServer : public Print, public Server { #endif public: