1
0
mirror of https://github.com/esphome/esphome.git synced 2025-11-19 00:05:43 +00:00

Make SPI Ethernet (W5500) compatible with ESP-IDF v5 (#6778)

* change MAC PHY init order according to IDF examples

* add idfv5 specific w5500 config init

* esp_mac.h needs to be included directly starting with idf5

* Header fix

* Couple tweaks

---------

Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
This commit is contained in:
Frederik
2024-05-29 00:02:45 +02:00
committed by GitHub
parent 06996def72
commit 2b691ad5ad
2 changed files with 7 additions and 2 deletions

View File

@@ -10,6 +10,7 @@
#include "esp_eth.h"
#include "esp_eth_mac.h"
#include "esp_netif.h"
#include "esp_mac.h"
namespace esphome {
namespace ethernet {