openwch / arduino_core_ch32

Core library for CH32duino
248 stars 41 forks source link

Nothing can be compiled for EthernetShield (W5500). #32

Closed michpro closed 3 months ago

michpro commented 10 months ago

Attempting to compile the WebServer.ino example (and others for Ethernet) ends in an error:

Using board 'CH32V10x_EVT' from platform in folder: D:\Work\arduino\portable\packages\WCH\hardware\ch32v\1.0.3 Using core 'arduino' from platform in folder: D:\Work\arduino\portable\packages\WCH\hardware\ch32v\1.0.3 Detecting libraries used...

...

Alternatives for Client.h: [] ResolveLibrary(Client.h) In file included from D:\Work\arduino\portable\sketchbook\libraries\Ethernet\examples\WebServer\WebServer.ino:21: -> candidates: []

D:\Work\arduino\portable\sketchbook\libraries\Ethernet\src/Ethernet.h:52:10: fatal error: Client.h: No such file or directory

include "Client.h"

      ^~~~~~~~~~

compilation terminated. Using library SPI version 1.0.0 from: D:\Work\arduino\portable\packages\WCH\hardware\ch32v\1.0.3\libraries\SPI Using library Ethernet version 2.0.2 from D:\Work\arduino\portable\sketchbook\libraries\Ethernet exit status 1

TianpeiLee commented 3 months ago

Thanks, I have merged the relevant PR