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:
22:1ce14a6cd293
Parent:
19:e416943f7119
Child:
25:ef941d560208
--- a/utility/Enc28J60Network.h	Sat Jan 14 21:12:09 2017 +0100
+++ b/utility/Enc28J60Network.h	Sat Jan 14 21:15:33 2017 +0100
@@ -141,7 +141,7 @@
 #endif
 
 #if defined(__MBED__) || defined(ARDUINO_ARCH_SAM) || defined(__STM32F1__) || defined(__STM32F3__) || defined(STM32F3) || defined(__STM32F4__) || defined(ESP8266)
-   #if defined(__STM32F3__) || defined(STM32F3)
+   #if defined(ARDUINO) && defined(STM32F3)
       #include "HardwareSPI.h"
    #else
       #include <SPI.h>