Commit Graph

7541 Commits

Author SHA1 Message Date
morris
0180ed2432 Merge branch 'ci/twai-runner-update-v5.5' into 'release/v5.5'
ci: twai runner setup v5.5

See merge request espressif/esp-idf!49801
2026-06-18 16:11:11 +08:00
igor.udot
c77139112d ci: twai runner setup 2026-06-18 15:28:20 +08:00
Jiang Jiang Jian
6935edf425 Merge branch 'feat/optimizations_related_to_keep_alive_v5.5' into 'release/v5.5'
feat(wifi): optimizations ralated to keep alive(backport v5.5)

See merge request espressif/esp-idf!49452
2026-06-18 14:41:10 +08:00
Jiang Jiang Jian
ad91c6ed0f Merge branch 'feat/support_usb_wakeup_v5.5' into 'release/v5.5'
feat: support usb as wakeup source from light sleep (v5.5)

See merge request espressif/esp-idf!49511
2026-06-17 19:50:18 +08:00
yinqingzhao
8fd0cbc882 fix(wifi): fix scheduling issue when tasks have the same priority as the Wi-Fi task 2026-06-17 12:16:42 +08:00
yinqingzhao
0aefa61fb4 fix(itwt): fix flow id 0 cannot suspend in itwt example 2026-06-17 12:13:38 +08:00
Jiang Jiang Jian
87c540da31 Merge branch 'fix/disable_secure_boot_v2_ecdsa_v5.5' into 'release/v5.5'
Fix/disable secure boot v2 ecdsa (v5.5)

See merge request espressif/esp-idf!49472
2026-06-17 12:00:48 +08:00
Jiang Jiang Jian
0a1b7e13c3 Merge branch 'docs/ble-uart-tutorial_v5.5' into 'release/v5.5'
docs(ble): added ESP-BLE-UART OpenCode Companion Guide (5.5)

See merge request espressif/esp-idf!49383
2026-06-17 11:59:46 +08:00
Jiang Jiang Jian
510488345c Merge branch 'fix/esp_idf_lp_uart_wakeup_muti_times_v5.5' into 'release/v5.5'
fix(ulp): fix lp uart keep wakeup triggered v5.5

See merge request espressif/esp-idf!49401
2026-06-17 11:59:15 +08:00
Jiang Jiang Jian
2ed7f48d3d Merge branch 'fix/ecdsa_ecc_hw_input_validation_v5.5' into 'release/v5.5'
Validate ECDSA signature range and harden ECC memory power-down (v5.5)

See merge request espressif/esp-idf!49431
2026-06-17 11:59:02 +08:00
hebinglin
ab7f6a6d95 fix(ulp): fix lp uart keep wakeup triggered 2026-06-15 15:18:31 +08:00
Island
9cf9a72d28 Merge branch 'bugfix/fix_bluedroid_ai_review_bugs_20260427_v5.5' into 'release/v5.5'
Bugfix/fix bluedroid ai review bugs 20260427 (5.5)

See merge request espressif/esp-idf!49540
2026-06-15 11:04:03 +08:00
harshal.patil
1a36a6409b fix(secure_boot): range-check ECDSA r,s in bootloader before ROM verify 2026-06-12 16:54:33 +05:30
zhiweijian
40628eacb3 fix(examples): improve bluedroid BLE example error handling
Check GAP/GATT event status, fix prepare-write buffer lifecycle, and
align example code with updated Bluedroid API behavior.
2026-06-11 21:10:43 +08:00
zhiweijian
b36812444f refactor(examples): disable unused BT options in bluedroid BLE examples
Add sdkconfig.defaults to turn off unused Bluedroid host features per
example role (GATT client/server, SMP, legacy adv, etc.).
2026-06-11 21:05:16 +08:00
ShenWeilong
468222b05b fix(bluedroid): Set CONFIG_PARTITION_TABLE_SINGLE_APP_LARGE=y in bluedroid host examples 2026-06-11 21:03:18 +08:00
JiangGuangMing
a2e5d0b23f feat(usb): add usb wakeup from light sleep example
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-11 09:24:04 +08:00
yangfeng
f675732259 fix: Fix the incorrect connection of the same-name devices in the HFP example 2026-06-10 19:12:38 +08:00
Aditya Patwardhan
66156479d2 change(secure_boot): mark ECDSA based Secure Boot V2 as insecure on affected SoCs
ECDSA based Secure Boot V2 is not functional for certain input vectors on
ESP32-C5/C61/H2/P4 and on the preview targets ESP32-H4/H21. RSA based Secure
Boot V2 is the recommended scheme where the SoC supports it. This issue will be
fixed in a future hardware ECO revision; more details will be shared through the
hardware errata document.

A new hidden Kconfig option SECURE_BOOT_V2_ECDSA_INSECURE marks the affected
mass-production SoCs (ESP32-C5/C61/H2/P4). On these SoCs, when hardware Secure
Boot V2 is enabled, the ECDSA (V2) signing scheme is no longer offered by
default; it must be turned on explicitly via SECURE_BOOT_V2_FORCE_ENABLE_ECDSA
under "Allow potentially insecure options" (CONFIG_SECURE_BOOT_INSECURE). App
signing without hardware Secure Boot is not affected. Note that ESP32-C61 has no
RSA based Secure Boot V2, so it has no Secure Boot scheme enabled by default.

The preview targets ESP32-H4 and ESP32-H21 mark ECDSA Secure Boot V2 as not
supported in their SoC capabilities instead of using the option above. As
ESP32-H4 has no other Secure Boot V2 scheme, Secure Boot is disabled entirely on
it; ESP32-H21 retains RSA based Secure Boot V2.

The security documentation keeps the ECDSA Secure Boot V2 content visible and
adds a warning describing the limitation (including that ECDSA Secure Boot V2 on
ESP32-C61 is not recommended for production). CI apps that exercise ECDSA Secure
Boot V2 on the affected SoCs set CONFIG_SECURE_BOOT_V2_FORCE_ENABLE_ECDSA
accordingly.
2026-06-10 08:08:07 +05:30
yangfeng
e5b167cef9 fix: Fix the potential stack overflow issue in the Classic Bluetooth example 2026-06-09 09:42:53 +08:00
Zhou Xiao
b214034f6e docs(ble): add ESP-BLE-UART companion guide
Move the OpenCode companion guide into the ble_uart_service example.

Add English and Chinese Markdown guides with image assets.

Keep ESP-BLE-UART naming consistent across the example and bridge tooling.


(cherry picked from commit 926111e721)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2026-06-08 14:14:45 +08:00
Rahul Tank
010b3a37b2 fix(nimble): Fix for clang compilation issues 2026-06-05 10:55:27 +05:30
Jiang Jiang Jian
3d03a4035b Merge branch 'doc-fix_sleep_mode_doc_v5.5' into 'release/v5.5'
docs(system): update GPIO wakeup section for clarity on EXT0 and EXT1 support (v5.5)

See merge request espressif/esp-idf!49116
2026-06-05 10:54:09 +08:00
morris
6a3dab1b4b Merge branch 'fix/fix_mipi_lcd_dirty_buffer_v5.5' into 'release/v5.5'
feat(lcd): support buffer switch interrupt (v5.5)

See merge request espressif/esp-idf!49102
2026-06-03 18:43:36 +08:00
wuzhenghui
2ea0d4639d docs(system): update GPIO wakeup section for clarity on EXT0 and EXT1 support
backport !47362
2026-06-03 10:57:54 +08:00
Chen Jichang
e1d48975fb feat(lcd): support buffer switch interrupt 2026-06-02 19:35:19 +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
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
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
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
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
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
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
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
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
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
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
Rahul Tank
da8054d1ad fix(nimble): Fix compilation issues in Gatt SPS service 2026-05-27 17:14:42 +05:30
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