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: utility/Enc28J60Network.cpp
- Revision:
- 39:deeb00b81cc9
- Parent:
- 36:689bcc358067
--- a/utility/Enc28J60Network.cpp Mon Mar 27 22:31:01 2017 +0200 +++ b/utility/Enc28J60Network.cpp Tue Jan 23 15:08:43 2018 +0100 @@ -35,7 +35,9 @@ #if ENC28J60_USE_SPILIB #if defined(ARDUINO) - #if !defined(STM32F3) && !defined(__STM32F4__) + #if defined(STM32F2) + #include <SPI.h> + #elif !defined(STM32F3) && !defined(__STM32F4__) #include <SPI.h> extern SPIClass SPI; //#elif defined(ARDUINO_ARCH_AMEBA)