Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

arduino-esp32 example of eth.h with w5500 #6548

Unanswered
Rgrndaal asked this question in Q&A
Discussion options

I'm trying to figure out how spi-ethernet (ETH.H) with a w5500 can be used with esp32-arduino 2.0.3rc1. With the arduino ethernet.h this works like a charm but WiFiServer or WiFiClient cannot be used, and one would need to implement servers and clients twice for both wifi and ethernet.

What's the Arduino approach here? Is esp-idf wrapped somewhere or does one simply use the functions from the headers directly:
#include "esp_netif.h"
#include "esp_eth.h"
#include "esp_event.h"
#include "esp_log.h"
#include "driver/gpio.h"
#include "sdkconfig.h"
#include "driver/spi_master.h"

DM9051 is initialised through ETH.begin()

You must be logged in to vote

Replies: 1 comment

Comment options

This feature was added in v3.x

#7163 (comment)

#8712

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /