Commit Graph

48155 Commits

Author SHA1 Message Date
Chen Chen
ec8115862a docs(i2s): correct power lock management description
Closes https://github.com/espressif/esp-idf/issues/18655
2026-06-02 09:25:48 +08:00
Alexey Gerenkov
8c59da477b Merge branch 'feat/test_lp_core_debugging_v5.5' into 'release/v5.5'
feat(ulp): add pytest for debugging example (v5.5)

See merge request espressif/esp-idf!48256
2026-06-01 20:55:10 +08:00
Zhang Wen Xu
33589325c7 Merge branch 'fix/openthread_rcp_uart_senddone_on_fail_v5.5' into 'release/v5.5'
fix(openthread): avoid HDLC TX stall on fd write failure (v5.5)

See merge request espressif/esp-idf!49072
2026-06-01 09:45:04 +00:00
Rahul Tank
133caa82e3 Merge branch 'bugfix/add_support_min_count_v5.5' into 'release/v5.5'
fix(nimble): Add support for shorter connection interval (v5.5)

See merge request espressif/esp-idf!48162
2026-06-01 14:36:15 +05:30
Jiang Jiang Jian
5ea07be8b5 Merge branch 'fix/ws_echo_server_uri_registration_race_v5.5' into 'release/v5.5'
fix(http_server/ws_echo_server): Fix ws_echo_server test URI registration race condition (backport v5.5)

See merge request espressif/esp-idf!47726
2026-06-01 16:45:44 +08:00
Shu Chen
9f4f77ba1c Merge branch 'fix/154_txrx_at_time_v5.5' into 'release/v5.5'
fix(802.15.4): remove comparison between txrx_at and ramp time (v5.5)

See merge request espressif/esp-idf!49080
2026-06-01 08:43:45 +00:00
Marius Vikhammer
1f8477249a Merge branch 'bugfix/ulp_riscv_rtc_i2c_test_fix_v5.5' into 'release/v5.5'
fix(ulp_riscv_i2c): Fix spurious pass in RTC I2C multi-device test (v5.5)

See merge request espressif/esp-idf!48526
2026-06-01 16:05:08 +08:00
Marius Vikhammer
e60589404d Merge branch 'fix/heap-minimum-free-size_v5.5' into 'release/v5.5'
fix(heap): Do not consider newly registered heap in minimum free size calculation (v5.5)

See merge request espressif/esp-idf!49037
2026-06-01 15:39:26 +08:00
Hrushikesh Bhosale
9ab588078e fix(http_server/ws_echo_server): Fix ws_echo_server test URI registration race condition
The WebSocket echo server tests connect immediately after seeing
'Starting server on port:' in the device log, but URI handlers
(/ws, /auth) are registered asynchronously after the server starts,
taking 40-660ms depending on config and CI load.

This causes two failures:
1. WebSocket handshake returns 404 Not Found because the URI
   handler is not registered yet when the client connects.
2. WebSocket echo returns wrong data because the server is in a
   partially initialized state.

Wait for 'Returned from app_main()' before connecting, which
guarantees all URI handlers are registered. Add connection retry
with WebSocketBadStatusException handling to WsClient.

Extract _wait_for_server_ready() helper to deduplicate the WiFi
credential input and server readiness logic.

(cherry picked from commit 7a50e3ab04)
2026-06-01 11:36:01 +05:30
chendejin
89563c68f9 fix(802.15.4): remove comparison between txrx_at and ramp time 2026-06-01 13:17:47 +08:00
Jiang Jiang Jian
75ea94697b Merge branch 'feat/update_twt_example_v5.5' into 'release/v5.5'
feat(wifi): update itwt example for different chips(backport v5.5)

See merge request espressif/esp-idf!49041
2026-06-01 10:51:58 +08:00
Jiang Jiang Jian
df6833f738 Merge branch 'bugfix/allow_m1_for_pmk_cache_v5.5' into 'release/v5.5'
fix(esp_wifi): Allow M1 in pmk caching case (v5.5)

See merge request espressif/esp-idf!49031
2026-06-01 10:51:43 +08:00
Xu Si Yu
f7e3dcec6c fix(openthread): avoid HDLC TX stall on fd write failure 2026-06-01 10:33:23 +08:00
Aditya Patwardhan
b14621021e Merge branch 'fix_https_request_rom_impl_ci_failure_v5.5' into 'release/v5.5'
fix(examples): make https_request rom_impl CI test resilient to transient external server failures (backport v5.5)

See merge request espressif/esp-idf!48417
2026-05-29 18:14:57 +05:30
Aditya Patwardhan
d9cdb04c72 Merge branch 'fix_https_request_ci_failure_v5.5' into 'release/v5.5'
fix(https_request): write host time to NVS to eliminate SNTP dependency in CI (backport v5.5)

See merge request espressif/esp-idf!48416
2026-05-29 18:14:49 +05:30
Jiang Jiang Jian
10f9c895c5 Merge branch 'bugfix/fix_some_rom_func_ld_issue_v5.5' into 'release/v5.5'
fix(wifi): fix som rom func ld issue(Backport v5.5)

See merge request espressif/esp-idf!49007
2026-05-29 19:25:36 +08:00
yinqingzhao
1feb0e019b \feat(wifi): update itwt example for different chips 2026-05-29 18:07:19 +08:00
Guillaume Souchere
ca7deb4bf7 fix(mqtt): increase partition size for ssl_mutual_auth example
The binary size (0x100110) slightly exceeds the default 1MB factory
partition, causing a build failure with 0x110 bytes overflow.
Use CONFIG_PARTITION_TABLE_SINGLE_APP_LARGE to provide sufficient
space, consistent with other TLS-based mqtt examples.
2026-05-29 11:37:53 +02:00
Guillaume Souchere
41ea1c562f fix(heap): Do not consider newly registered heap in minimum free size calcualtion
After startup is done and app_main is reached, all calls to
heap_caps_add_region_with_caps (adding a new heap to the list of registered
heaps) will not affect the minimum free heap size value.

For heaps created before startup, this won't apply and their size will
end up being taken into account in the calculation of the minimum.
2026-05-29 07:57:09 +02:00
Kapil Gupta
c62143a9a3 fix(esp_wifi): Allow M1 in pmk caching case 2026-05-29 11:14:26 +05:30
morris
631484b94a Merge branch 'fix/fix_i80_example_high_failure_ratio_v5.5' into 'release/v5.5'
test(lcd): fix i80 lcd example pytest failure (v5.5)

See merge request espressif/esp-idf!49026
2026-05-29 13:17:39 +08:00
Mahavir Jain
9017d3576e Merge branch 'fix/tls-session-verify-and-hostname-warn_v5.5' into 'release/v5.5'
fix(esp-tls): fix TLS session resumption bypassing CA verification and clarify skip_common_name behavior (v5.5)

See merge request espressif/esp-idf!48930
2026-05-29 09:56:11 +05:30
muhaidong
f5b743df6a fix(ci): enlarge ssl mutual auth app partition on esp32c5 2026-05-29 11:01:36 +08:00
Chen Jichang
d6601de2fb test(lcd): fix i80 lcd example pytest failure 2026-05-29 10:42:27 +08:00
Jiang Jiang Jian
c012538a2c Merge branch 'bugfix/fix_ble_coded_phy_rx_bug_v5.5' into 'release/v5.5'
fix(coex): fix ble coded phy rx issue when aborted by coex (v5.5)

See merge request espressif/esp-idf!48983
2026-05-29 10:26:16 +08:00
Rahul Tank
ba5cfdb7e4 fix(nimble): Add support for shorter connection intervals 2026-05-28 15:52:48 +05:30
Rahul Tank
b70452bf30 Merge branch 'bugfix/fix_service_compilation_issue_v5.5' into 'release/v5.5'
fix(nimble): Fix compilation issues in Gatt SPS service (v5.5)

See merge request espressif/esp-idf!48968
2026-05-28 15:16:38 +05:30
muhaidong
a84d2eb3c5 fix(wifi): fix som rom func ld issue 2026-05-28 16:14:03 +08:00
Aditya Patwardhan
6f79e8ed4a Merge branch 'feat/esp_tee_backports_v5.5' into 'release/v5.5'
feat(esp_tee): Feature/fixes backports to `release/v5.5`

See merge request espressif/esp-idf!48496
2026-05-28 11:00:10 +05:30
Aditya Patwardhan
9234e95e20 Merge branch 'feat/generic_key_mgr_key_types_v5.5' into 'release/v5.5'
Store key_len field in the key_config (v5.5)

See merge request espressif/esp-idf!48145
2026-05-28 10:42:25 +05:30
Aditya Patwardhan
36d2235696 Merge branch 'fix/fix_sec2_client_possible_pub_length_truncation' into 'release/v5.5'
fix(esp_prov): fixes security2 client possible public length truncation

See merge request espressif/esp-idf!48728
2026-05-28 10:41:41 +05:30
morris
a4ff8642d5 Merge branch 'feat/lcd_i2c_use_configurable_timeout_v5.5' into 'release/v5.5'
feat(lcd): add configurable timeout for lcd i2c panel (v5.5)

See merge request espressif/esp-idf!48664
2026-05-28 11:35:14 +08:00
Zhang Hai Peng
0a5d37dbc6 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(51d9dfde)
- improve coded PHY performance under Wi-Fi coexistence


(cherry picked from commit 8da824cd0e)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-05-28 11:24:23 +08:00
morris
d818c5c1e2 Merge branch 'doc/i2s_esp32_mclk_restriction_v5.5' into 'release/v5.5'
docs(i2s): add note for the restriction of MCLK on esp32 (v5.5)

See merge request espressif/esp-idf!48572
2026-05-28 11:24:16 +08:00
morris
99b011cddc Merge branch 'feat/lcd_sleep_retention_p4_v5.5' into 'release/v5.5'
feat(lcd): support i80 lcd sleep retention on p4 (v5.5)

See merge request espressif/esp-idf!46529
2026-05-28 11:23:12 +08:00
morris
0baba6fba0 Merge branch 'contrib/github_pr_18569_v5.5' into 'release/v5.5'
fix(i2c_master): yield from ISR when no matching device is found (GitHub PR) (v5.5)

See merge request espressif/esp-idf!48428
2026-05-28 11:22:11 +08:00
morris
9462240ecd Merge branch 'test/uart_dma_ota_fix_v5.5' into 'release/v5.5'
refactor(uhci): refactor uart_dma_ota example (v5.5)

See merge request espressif/esp-idf!48756
2026-05-28 11:21:33 +08:00
morris
dd244bf035 Merge branch 'idfgh-17542_v5.5' into 'release/v5.5'
hal/twai: honor prop_seg in legacy timing config (v5.5)

See merge request espressif/esp-idf!48187
2026-05-28 11:21:05 +08:00
morris
869a9ba758 Merge branch 'fix/s3_xip_opt_os_startup_v5.5' into 'release/v5.5'
fix(mspi): fixed possible boot failure in some builds when psram is enabled (v5.5)

See merge request espressif/esp-idf!48584
2026-05-28 11:19:27 +08:00
Jiang Jiang Jian
1d54a7bbae Merge branch 'bugfix/support_auto_mode_connect_passive_channel_hhidden_ap_v5.5' into 'release/v5.5'
feat(wifi): support auto mode connect passive channel hidden ap(Backport v5.5)

See merge request espressif/esp-idf!48960
2026-05-28 10:54:22 +08:00
zhiweijian
dde37923f7 fix(ble/bluedroid): note LE Coded PHY impact on Wi-Fi coexistence in bluedroid GAP/GATT APIs 2026-05-28 10:31:00 +08:00
linruihao
b7fcb06e03 fix(coex): fix ble coded phy rx issue when aborted by coex 2026-05-28 10:31:00 +08:00
Rahul Tank
da8054d1ad fix(nimble): Fix compilation issues in Gatt SPS service 2026-05-27 17:14:42 +05:30
muhaidong
9f1080c847 feat(wifi): support auto mode connect passive channel hidden ap 2026-05-27 17:48:09 +08:00
Hrushikesh Bhosale
a756e5d6f3 fix(https_request): use write_flash esptool subcommand for compatibility
The esptool version bundled with the release/v5.5 IDF environment only
accepts the underscore subcommand name 'write_flash'. The hyphenated
alias 'write-flash' is rejected by argparse on this esptool version.
Use the canonical 'write_flash' name accepted by all esptool versions.
2026-05-27 11:53:34 +05:30
hrushikesh.bhosale
c8684960af ci(pre-commit): apply ruff-format and ruff autofix on release/v5.5 2026-05-27 11:53:03 +05:30
hrushikesh.bhosale
3143a3a343 ci(pre-commit): add write_time_to_nvs helper to satisfy F821/mypy on release/v5.5
The write_time_to_nvs helper is introduced by parent MR !47528's sibling on master
(!47201). On release/v5.5 the parent hasn't merged yet, so this MR's rom_impl test
resilience patch references an undefined name. Include the helper inline here so
pre-commit (ruff F821 + mypy) passes; if the parent's backport (!48415/!48416)
lands first, the merge will need a trivial dedup of this helper.
2026-05-27 11:53:03 +05:30
hrushikesh.bhosale
d63f5d4a15 fix(https_request): Make https_request rom_impl test resilient
The test_examples_protocol_https_request_rom_impl test on ESP32-C2 with
the ROM mbedTLS implementation hits a public TLS endpoint
(tls13.browserleaks.com / www.howsmyssl.com) for five sequential
sub-tests. CI runs frequently fail mid-test with one of:

  * mbedtls_ssl_handshake returned -0x7780
    (MBEDTLS_ERR_SSL_FATAL_ALERT_MESSAGE - server-side fatal alert)
  * esp-tls: [sock=NN] select() timeout
  * esp-tls: Failed to open new connection in specified timeout

In a representative log the first three sub-tests succeed and only the
fourth/fifth fail, which is consistent with rate-limiting or transient
server unavailability rather than a device bug. Mark the test as
flaky with up to two reruns (10 s delay) so a single transient remote
failure does not fail the CI job.

Also align this test with the rest of the file by injecting the host
timestamp via NVS (write_time_to_nvs) so the device clock no longer
depends on a previous boot's persisted SNTP result, removing one more
source of CI flakiness on first-boot or after NVS erase.
2026-05-27 11:53:03 +05:30
hrushikesh.bhosale
69e3d5bd8a fix(examples): make https_request rom_impl test resilient to transient external server errors
The test_examples_protocol_https_request_rom_impl test on ESP32-C2 with
the ROM mbedTLS implementation hits a public TLS endpoint
(tls13.browserleaks.com / www.howsmyssl.com) for five sequential
sub-tests. CI runs frequently fail mid-test with one of:

  * mbedtls_ssl_handshake returned -0x7780
    (MBEDTLS_ERR_SSL_FATAL_ALERT_MESSAGE - server-side fatal alert)
  * esp-tls: [sock=NN] select() timeout
  * esp-tls: Failed to open new connection in specified timeout

In a representative log the first three sub-tests succeed and only the
fourth/fifth fail, which is consistent with rate-limiting or transient
server unavailability rather than a device bug. Mark the test as
flaky with up to two reruns (10 s delay) so a single transient remote
failure does not fail the CI job.

Also align this test with the rest of the file by injecting the host
timestamp via NVS (write_time_to_nvs) so the device clock no longer
depends on a previous boot's persisted SNTP result, removing one more
source of CI flakiness on first-boot or after NVS erase.
2026-05-27 11:53:03 +05:30
Hrushikesh Bhosale
aff90e29f8 fix(https_request): use write_flash esptool subcommand for compatibility
The esptool version bundled with the release/v5.5 IDF environment only
accepts the underscore subcommand name 'write_flash'. The hyphenated
alias 'write-flash' was added in later esptool releases, so the CI
target test failed with 'argparse.ArgumentError: invalid choice:
write-flash'. Use the canonical 'write_flash' name, which is accepted
by all esptool versions.
2026-05-27 11:51:29 +05:30