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.h
- Revision:
- 25:ef941d560208
- Parent:
- 22:1ce14a6cd293
- Child:
- 33:7ba5d53df0f2
--- a/utility/Enc28J60Network.h Sat Jan 14 21:25:56 2017 +0100 +++ b/utility/Enc28J60Network.h Sat Jan 14 22:35:26 2017 +0100 @@ -63,6 +63,10 @@ #define BOARD_SPI1_MOSI_PIN PA7 #endif //This is workaround for stm32duino STM32F3 +#if defined(BOARD_discovery_f4) + #define __STM32F4__ +#endif + #if !defined(ENC28J60_CONTROL_CS) #if defined(__AVR__) || defined(ESP8266) // Arduino Uno (__AVR__) SS defined to pin 10