1
0
mirror of https://github.com/esphome/esphome.git synced 2025-11-19 16:25:50 +00:00

Bump ESP32 IDF version to 5.4.2 and Arduino version to 3.2.1 (#9305)

This commit is contained in:
Jonathan Swoboda
2025-07-16 15:50:42 -04:00
committed by GitHub
parent 78c32eac04
commit c93b892ccc
5 changed files with 22 additions and 14 deletions

View File

@@ -11,6 +11,7 @@
#include "esp_eth_mac.h"
#include "esp_netif.h"
#include "esp_mac.h"
#include "esp_idf_version.h"
namespace esphome {
namespace ethernet {
@@ -153,7 +154,10 @@ class EthernetComponent : public Component {
// NOLINTNEXTLINE(cppcoreguidelines-avoid-non-const-global-variables)
extern EthernetComponent *global_eth_component;
#if defined(USE_ARDUINO) || ESP_IDF_VERSION < ESP_IDF_VERSION_VAL(5, 4, 2)
extern "C" esp_eth_phy_t *esp_eth_phy_new_jl1101(const eth_phy_config_t *config);
#endif
} // namespace ethernet
} // namespace esphome