Use this forum to chat about hardware specific topics for the ESP8266 (peripherals, memory, clocks, JTAG, programming)

User avatar
By OmarPoch
#83939 Hi to all:
I want to connect a Nodemcu by Ethernet ussing W5500 ethernet SPI module
I hve selected the Board under Tools Menu. OK

When try by compile the Extamples -> Ethernet ->Webserver , the IDE shows compile errors.
'class EthernetClass' has no member named 'hardwareStatus'.
(The copy of windows error messages is bellow in this message).

I ´ve tired changing the boart to Arduino one, and the program compile without error.
I 've installed a clear arduino installation in other machine, with same results
I 've installed a lot of libraries that I found into githubs but all give some kids errors.

Can you tell me if I must make some adjust into IDE of if I must download and specific librarie ?

Many thanks in advance

Omar



========================================================================
Copy of error messages:
Arduino: 1.8.10 (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Disabled, All SSL ciphers (most compatible), 4M (no SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 115200"

C:\Program Files (x86)\Arduino\libraries\Ethernet\examples\WebServer\WebServer.ino: In function 'void setup()':

WebServer:55:16: error: 'class EthernetClass' has no member named 'hardwareStatus'

if (Ethernet.hardwareStatus() == EthernetNoHardware) {

^

WebServer:55:36: error: 'EthernetNoHardware' was not declared in this scope

if (Ethernet.hardwareStatus() == EthernetNoHardware) {

^

WebServer:61:16: error: 'class EthernetClass' has no member named 'linkStatus'

if (Ethernet.linkStatus() == LinkOFF) {

^

WebServer:61:32: error: 'LinkOFF' was not declared in this scope

if (Ethernet.linkStatus() == LinkOFF) {

^

Multiple libraries were found for "SPI.h"
Used: C:\Users\Usuario\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.5.2\libraries\SPI

Multiple libraries were found for "Ethernet.h"
Used: C:\Users\Usuario\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.5.2\libraries\Ethernet
Not used: C:\Program
exit status 1
'class EthernetClass' has no member named 'hardwareStatus'

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
==================================================================