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
dependabot[bot]
4219d6d367
Bump tornado from 6.5.4 to 6.5.5 ( #14704 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-16 09:25:19 +13:00
Jonathan Swoboda
33f9ad9cee
[esp32] Support non-numeric version extras in IDF version string ( #14826 )
2026-03-15 14:58:12 -04:00
18a082de30
[ci] Support URL and version extras in generate-esp32-boards.py ( #14828 )
...
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2026-03-15 14:58:01 -04:00
Jonathan Swoboda
7f418d969e
[multiple] Fix implicit int-to-gpio_num_t conversions for GCC 15 ( #14830 )
2026-03-15 14:57:52 -04:00
Jonathan Swoboda
fe9f19d9ed
[mqtt] Fix ESP-IDF 6.0 compatibility for external MQTT component ( #14822 )
2026-03-15 09:30:12 -04:00
J. Nick Koston
cdbbcfb87d
[socket] Extract lwip_bind_err() to deduplicate bind error handling
...
TCP bind and UDP bind_internal_ had identical ERR_USE/ERR_VAL/ERR_OK
to errno mapping. Extract into a shared helper.
2026-03-14 16:12:39 -10:00
J. Nick Koston
71da3dc2de
[socket] Fix RP2040 socket_delay race: don't clear wake flag before sleep
...
Restore the comment explaining why s_socket_woke must not be cleared
between the early-return check and the __wfe() loop, and restore the
s_socket_woke = false after the loop to consume the wake for the next
call. Both were lost during conflict resolution.
2026-03-14 16:09:24 -10:00
J. Nick Koston
0176305d24
[socket] Restore read_locked_, SO_RCVTIMEO, and wait_for_data_ lost in merge
...
These features from upstream/dev were dropped when resolving conflicts
with the PR's remote branch: read_locked_/wait_for_data_ (blocking read
with SO_RCVTIMEO timeout support), recv_timeout_cs_ field, SO_RCVTIMEO
and SO_SNDTIMEO setsockopt/getsockopt handling, and the setblocking()
implementation that accepts blocking mode for SO_RCVTIMEO.
2026-03-14 16:07:15 -10:00
J. Nick Koston
c81e9fd154
[socket] Deduplicate sockaddr parsing between TCP and UDP bind
...
Extract sockaddr_to_lwip() from LWIPRawUDPImpl static method to a
shared file-level function. Refactor LWIPRawCommon::bind() to use it
instead of inline address parsing, removing ~35 lines of duplicated
sockaddr-to-ip_addr_t conversion code.
2026-03-14 16:03:24 -10:00
J. Nick Koston
556ef1894f
Merge branch 'socket-lwip-raw-udp' of https://github.com/esphome/esphome into socket-lwip-raw-udp
...
# Conflicts:
# esphome/components/socket/lwip_raw_tcp_impl.cpp
# esphome/components/socket/lwip_raw_tcp_impl.h
2026-03-14 16:00:31 -10:00
J. Nick Koston and Claude Opus 4.6
519be06e73
[socket] Add LWIP_LOCK to UDP socket methods for RP2040 safety
...
On RP2040, lwip callbacks run from a low-priority IRQ context and can
preempt main-loop code. All lwip API calls from the main loop must
hold the async_context lock (LWIP_LOCK) to prevent races on shared
lwip state (PCB lists, pbuf pools, IGMP groups).
The TCP implementation was already correct; the UDP methods were
missing the lock.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-14 15:57:57 -10:00
J. Nick Koston
1e935c128a
Merge remote-tracking branch 'upstream/dev' into socket-lwip-raw-udp
...
# Conflicts:
# esphome/components/socket/lwip_raw_tcp_impl.cpp
2026-03-14 15:53:39 -10:00
J. Nick Koston
d37f8876d7
[bthome_mithermometer][xiaomi_ble] Migrate CCM to PSA AEAD API for ESP-IDF 6.0 ( #14816 )
2026-03-14 13:39:07 -10:00
J. Nick Koston
d7c42bc9ec
[debug] Fix ESP-IDF 6.0 compatibility for wakeup cause API ( #14812 )
2026-03-14 13:38:51 -10:00
J. Nick Koston
efc508a82b
[dlms_meter] Migrate GCM to PSA AEAD API for ESP-IDF 6.0 ( #14817 )
2026-03-14 13:18:40 -10:00
J. Nick Koston
0edc0fd9c8
[esp32_ble_tracker] Migrate to PSA Crypto API for ESP-IDF 6.0 ( #14811 )
2026-03-14 13:17:56 -10:00
J. Nick Koston
cc4c13930f
[hmac_sha256] Migrate to PSA Crypto MAC API for ESP-IDF 6.0 ( #14814 )
2026-03-14 13:17:43 -10:00
J. Nick Koston
234ca7c951
[debug] Fix shared buffer between reset reason and wakeup cause ( #14813 )
2026-03-14 13:17:32 -10:00
J. Nick Koston
447c4669b1
[esp32] Disable SHA-512 in mbedTLS on IDF 6.0+ and add idf_version() helper ( #14810 )
2026-03-14 11:26:20 -10:00
J. Nick Koston
27942f1973
[helpers] Replace deprecated std::is_trivial in FixedRingBuffer ( #14808 )
2026-03-14 11:05:39 -10:00
J. Nick Koston
158a119a5a
[sha256] Migrate to PSA Crypto API for ESP-IDF 6.0 ( #14809 )
2026-03-14 10:43:04 -10:00
Jonathan Swoboda and Claude Opus 4.6
b126f3af3b
[ledc] Fix ESP-IDF 6.0 compatibility for peripheral reset ( #14790 )
...
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-14 15:02:13 -04:00
Jonathan Swoboda and Claude Opus 4.6
d4e1e32a30
[mipi_dsi] Fix ESP-IDF 6.0 compatibility for use_dma2d flag ( #14792 )
...
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-14 15:02:06 -04:00
Jonathan Swoboda and Claude Opus 4.6
271b423b22
[psram] Fix ESP-IDF 6.0 compatibility for PSRAM sdkconfig options ( #14794 )
...
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-14 15:01:58 -04:00
Jonathan Swoboda and Claude Opus 4.6
417858f098
[psram] Add ESP32-C61 PSRAM support ( #14795 )
...
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-14 15:01:49 -04:00
Jonathan Swoboda and Claude Opus 4.6
c52042e023
[tinyusb][usb_cdc_acm] Bump esp_tinyusb to 2.1.1 ( #14796 )
...
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-14 15:01:29 -04:00
Jonathan Swoboda and Claude Opus 4.6
f12531e7e0
[esp32_camera] Bump esp32-camera to 2.1.5 ( #14806 )
...
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-14 08:32:17 -10:00
ca279110c9
[output] Inline trivial FloatOutput accessors ( #14786 )
...
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com >
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
2026-03-14 08:31:50 -10:00
J. Nick Koston
f2968e0449
[api] Reduce API code size with buffer and nodelay optimizations ( #14797 )
2026-03-14 08:13:50 -10:00
J. Nick Koston and Copilot Autofix powered by AI
0043be6165
[core] Inline trivial EntityBase accessors ( #14782 )
...
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
2026-03-14 08:13:01 -10:00
J. Nick Koston
0716c9f722
[core] Inline LwIPLock as no-op on platforms without lwIP core locking ( #14787 )
2026-03-14 08:12:04 -10:00
leccelecce
fcf5637aa5
[online_image] Log download duration in milliseconds instead of seconds ( #14803 )
2026-03-14 09:15:54 -04:00
J. Nick Koston and Copilot Autofix powered by AI
5e3c44d48f
[rp2040] Add CI check for boards.py freshness ( #14754 )
...
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
2026-03-13 13:28:55 -10:00