J. Nick Koston
d4bce7f042
[ethernet] Guard per-chip PHY/MAC includes with IDF >= 6.0
...
On IDF 5.x these headers don't exist as standalone files — they are
included internally via esp_eth.h. On IDF 6.0 they moved to registry
components and need explicit includes.
LAN867x is unchanged (external component since IDF 5.3).
2026-03-15 17:16:21 -10:00
J. Nick Koston
63a2abf19c
[ethernet] Fix JL1101 on IDF 6.0: pioarduino doesn't have it patched
...
pioarduino only patches esp_eth_phy_new_jl1101() into IDF 5.4.2-5.x,
not IDF 6.0. Update guards in both the .c driver and .h declaration
to also compile when IDF >= 6.0.
Guard logic: compile custom driver when JL1101 configured AND
(IDF >= 6.0 OR IDF < 5.4.2 OR not PlatformIO)
2026-03-15 17:13:00 -10:00
J. Nick Koston
0183d2ca61
[ethernet] Only compile JL1101 driver when needed
...
- Exclude esp_eth_phy_jl1101.c when JL1101 is not configured
- Exclude on IDF 5.4.2-5.x where pioarduino has it builtin
- Keep custom driver for IDF < 5.4.2 and IDF 6.0+ (pioarduino may
not have patched JL1101 into their IDF 6.0 fork yet)
- Always use esp_eth_phy_new_jl1101() in C++ (no generic fallback)
- Namespace ethernet type in CORE.data[KEY_ETHERNET]
2026-03-15 17:09:59 -10:00
J. Nick Koston
6e8ef55381
[ethernet] Fix AttributeError: CORE has no using_platformio
...
Only exclude esp_eth_phy_jl1101.c at the Python level on IDF >= 6.0.
On IDF 5.4.2+ with PlatformIO, the file's own preprocessor guard
(checking the C-level PLATFORMIO define) compiles it to empty.
2026-03-15 17:03:21 -10:00
J. Nick Koston
d27b3e8c0f
[ethernet] Add explicit PHY/MAC includes and exclude JL1101 driver when unused
...
- Add explicit includes for per-chip PHY/MAC headers (required on IDF 6.0
where they are no longer pulled in via esp_eth.h, also works on IDF 5.x)
- Exclude esp_eth_phy_jl1101.c from compilation on IDF >= 6.0 (uses
generic PHY) and IDF >= 5.4.2 with PlatformIO (uses builtin driver)
2026-03-15 17:01:29 -10:00
J. Nick Koston
b636f2613d
[ethernet] Add IDF 6.0 registry component dependencies
...
ESP-IDF 6.0 moved individual ethernet PHY and SPI MAC/PHY drivers out
of the builtin esp_eth component into the Espressif Component Registry.
Changes:
- Add USE_ETHERNET_W5500/DM9051 defines, replacing CONFIG_ETH_SPI_ETHERNET_*
Kconfig options that were removed in IDF 6.0
- Conditionally pull registry components (lan87xx, rtl8201, dp83848,
ip101, ksz80xx, w5500, dm9051) via add_idf_component() on IDF >= 6.0
- Skip CONFIG_ETH_SPI_ETHERNET_{TYPE} sdkconfig on IDF >= 6.0
- Fix emac_rmii_clock_gpio_t cast using decltype (enum removed in IDF 6.0)
- Use esp_eth_phy_new_generic() for OPENETH and JL1101 on IDF >= 6.0
- Fix JL1101 to work on IDF 5.4.2+ with PlatformIO (was previously
falling through to mark_failed due to overly restrictive guard)
- Exclude custom JL1101 driver on IDF >= 6.0
- Add registry components to idf_component.yml for static analysis
- Update defines.h for static analysis
All changes maintain backward compatibility with IDF 5.x.
2026-03-15 16:57:19 -10:00
J. Nick Koston
1377776d21
[ethernet] Restructure for multi-platform support ( #14819 )
2026-03-15 15:17:21 -10:00
J. Nick Koston and Claude Opus 4.6
29501ef4f8
[core] Mark leaf Component subclasses as final ( #14833 )
...
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-15 15:13:34 -10:00
J. Nick Koston
d97c23b8e3
[core] Add no-arg status_set_warning() to allow linker GC of const char* overload ( #14821 )
2026-03-15 15:13:10 -10:00
Bonne Eggleston and J. Nick Koston
92d5e7b18c
[tests] Fix integration helper to match entities exactly ( #14837 )
...
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
2026-03-15 13:02:23 -10:00
Jesse Hills
15ce4b3616
Merge branch 'beta' into dev
2026-03-16 11:46:15 +13:00
Jesse Hills
254e1f3abb
Merge pull request #14834 from esphome/bump-2026.3.0b2
...
2026.3.0b2
2026.3.0b2
2026-03-16 11:45:42 +13:00
Jesse Hills
deb6b97eea
Bump version to 2026.3.0b2
2026-03-16 09:25:21 +13:00
J. Nick Koston
22ea2764d4
[debug] Fix shared buffer between reset reason and wakeup cause ( #14813 )
2026-03-16 09:25:21 +13:00
J. Nick Koston
632dbc8fe8
[core] Inline LwIPLock as no-op on platforms without lwIP core locking ( #14787 )
2026-03-16 09:25:21 +13:00
leccelecce
98d9871620
[online_image] Log download duration in milliseconds instead of seconds ( #14803 )
2026-03-16 09:25:21 +13:00
J. Nick Koston
a064eceb9b
[template] Fix misleading 'Text value too long to save' warning ( #14753 )
2026-03-16 09:25:21 +13:00
J. Nick Koston
49107f2174
[api] Increase log Nagle coalescing on all platforms except ESP8266 ( #14752 )
2026-03-16 09:25:21 +13:00
J. Nick Koston
e9c2659147
[select] Fix -Wmaybe-uninitialized warnings on ESP8266 ( #14759 )
2026-03-16 09:25:20 +13:00
Kjell Braden
18b54f075e
[runtime_image] fix BMP parsing ( #14762 )
2026-03-16 09:25:20 +13:00
J. Nick Koston
45e40223ac
[rp2040] Fix compiler warnings in crash_handler and mdns ( #14739 )
2026-03-16 09:25:20 +13:00
J. Nick Koston and Copilot
1ab1534028
[mdns] Fix RP2040 mDNS not restarting after WiFi reconnect ( #14737 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-03-16 09:25:20 +13:00
J. Nick Koston
039efdb02a
[i2c] Fix RP2040 I2C bus selection based on pin assignment ( #14745 )
2026-03-16 09:25:20 +13:00
J. Nick Koston
b0447dc521
[light] Fix binary light spamming 'brightness not supported' warning with strobe effect ( #14735 )
2026-03-16 09:25:20 +13:00
J. Nick Koston
aacbaab5f8
[wifi] Reject EAP/WPA2 Enterprise config on unsupported platforms ( #14746 )
2026-03-16 09:25:20 +13:00
J. Nick Koston
dc5032f72f
[water_heater] Set OPERATION_MODE feature flag when modes are configured ( #14748 )
2026-03-16 09:25:20 +13:00
J. Nick Koston and Copilot
c263c2c382
[captive_portal] Fix captive portal inaccessible when web_server auth is configured ( #14734 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-03-16 09:25:20 +13:00
J. Nick Koston
910784ca84
[debug] Fix missing reset reason for RP2040/RP2350 ( #14740 )
2026-03-16 09:25:20 +13:00
J. Nick Koston and Claude Opus 4.6
0b99e8f08d
[rp2040] Use full flash for sketch in testing mode ( #14747 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-16 09:25:20 +13:00
J. Nick Koston
93be539789
[light] Fix ambiguous set_effect overload for const char* ( #14732 )
2026-03-16 09:25:20 +13:00
Brian Kaufman
390bb0451f
[OTA] Stage exact uploaded size for ESP8266 web OTA (gzip fix) ( #14741 )
2026-03-16 09:25:20 +13:00
J. Nick Koston
14c3e2d9d9
[api] Fix heap-buffer-overflow in protobuf message dump for StringRef ( #14721 )
2026-03-16 09:25:20 +13:00
J. Nick Koston
23c7e0f803
[uart] Allow hardware UART with single pin on RP2040 ( #14725 )
2026-03-16 09:25:20 +13:00
J. Nick Koston
cb4d1d1b5e
[api] Fix undefined behavior in noise handshake with empty rx buffer ( #14722 )
2026-03-16 09:25:20 +13:00
J. Nick Koston
2ba807efe8
[adc] Fix PICO_VSYS_PIN compile error on RP2350 boards ( #14724 )
2026-03-16 09:25:20 +13:00
J. Nick Koston
c8cf9b74b1
[ota][socket] Fix ESP8266/RP2040 OTA timeout by using SO_RCVTIMEO instead of polling ( #14675 )
2026-03-16 09:25:19 +13:00
J. Nick Koston and Copilot
33475703da
[time] Fix settimeofday() failure on ESP8266 ( #14707 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-03-16 09:25:19 +13:00
J. Nick Koston and Claude Opus 4.6
1b7d0f9c0b
[esp32_ble_client] Fix disconnect race that causes stuck connections ( #14211 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-16 09:25:19 +13:00
J. Nick Koston
1d881ef6f4
[socket] Fast path for TCP_NODELAY bypasses lwip_setsockopt overhead ( #14693 )
2026-03-16 09:25:19 +13:00
J. Nick Koston
3a838d897f
[socket] Fix use-after-free in LWIP PCB close/abort path ( #14706 )
2026-03-16 09:25:19 +13:00
Matthias König and pre-commit-ci-lite[bot]
da130c900f
[mqtt] Fixed permission denied error for client certificates on Windows ( #13525 )
...
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2026-03-16 09:25:19 +13:00
Kevin Ahrendt
440734dadf
[audio] Bump microOpus to v0.3.5 ( #14727 )
2026-03-16 09:25:19 +13:00
Brian Kaufman
df2ddc47ec
[web_server] use DETAIL_ALL in update_all_json_generator ( #14711 )
2026-03-16 09:25:19 +13:00
Keith Burzinski
4b1c4ba5c0
[ledc] Fix high-pressure crash & recovery ( #14720 )
2026-03-16 09:25:19 +13:00
Adam DeMuri and J. Nick Koston
6002badb3c
[modbus] Fix buffer overflow in modbus ( #14719 )
...
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
2026-03-16 09:25:19 +13:00
J. Nick Koston
e8f51fec88
[rp2040] Fix crash handler design flaws ( #14716 )
2026-03-16 09:25:19 +13:00
Keith Burzinski
7cec2d3029
[ethernet] ESP32-S3 Ethernet compilation fix ( #14717 )
2026-03-16 09:25:19 +13:00
J. Nick Koston
2b0c471ed7
[esp32] Add crash handler to capture and report backtrace across reboots ( #14709 )
2026-03-16 09:25:19 +13:00
Keith Burzinski and Jonathan Swoboda
064bd13ebb
[ethernet] ESP32-P4 Ethernet compilation fix ( #14714 )
...
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com >
2026-03-16 09:25:19 +13:00
Jonathan Swoboda and Claude Opus 4.6
2627490a11
[esp32_hosted] Bump esp_hosted to 2.12.1 ( #14708 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-16 09:25:19 +13:00