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: UIPEthernet.h
- Revision:
- 19:e416943f7119
- Parent:
- 0:e3fb1267e3c3
- Child:
- 33:7ba5d53df0f2
--- a/UIPEthernet.h Tue Jan 03 11:39:33 2017 +0100 +++ b/UIPEthernet.h Wed Jan 04 18:32:00 2017 +0100 @@ -26,7 +26,11 @@ #endif #if defined(ARDUINO) #include <Arduino.h> - #include "IPAddress.h" + #if defined(__STM32F3__) || defined(STM32F3) + #include "mbed/IPAddress.h" + #else + #include "IPAddress.h" + #endif #endif #include "Dhcp.h" #include "utility/Enc28J60Network.h"