tobozo / ESP32-ENC28J60

ENC28J60 Ethernet driver for ESP32-Arduino 2.0.x / 3.0.x, lwip compliant
MIT License
26 stars 8 forks source link

hii, I ran your code and it showed me the following error message #10

Closed shavinda12 closed 2 months ago

shavinda12 commented 1 year ago
c:\Users\nethupama\Documents\Arduino\libraries\ESP32-ENC28J60\src\ESP32-ENC28J60.h:28:4: error: #error "This version of Arduino is too old"
   #error "This version of Arduino is too old"
    ^
In file included from c:\Users\nethupama\Documents\Arduino\libraries\ESP32-ENC28J60\src\ESP32-ENC28J60.cpp:25:0:
c:\Users\nethupama\Documents\Arduino\libraries\ESP32-ENC28J60\src\extmod/esp_eth_enc28j60.h:21:25: fatal error: esp_eth_phy.h: No such file or directory
compilation terminated.

exit status 1

Compilation error: exit status 1

I'm using the latest arduino ide which is 2.1.0.What is the reason for this?

tobozo commented 1 year ago

error "This version of Arduino is too old"

sorry about the misleading error message, it's actually the esp32 arduino core version that's too old