Commit Graph

7521 Commits

Author SHA1 Message Date
yangfeng
e5b167cef9 fix: Fix the potential stack overflow issue in the Classic Bluetooth example 2026-06-09 09:42:53 +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
Zhang Wen Xu
44d803e441 Merge branch 'feat/add_teardown_for_openthread_case_v5.5' into 'release/v5.5'
ci: add tear down for openthread ci case (v5.5)

See merge request espressif/esp-idf!48779
2026-05-26 06:33:41 +00:00
Laukik Hase
a88716153b feat(esp_tee): Add some required fields in the attestation token
- Chip ID from the ROM
- Device MAC address from eFuse BLK1
- Device Optional Unique ID from eFuse BLK2
2026-05-26 11:34:06 +05:30
Hu Rui
6b81966b9f refactor(uhci): improve uart_dma_ota example & uhci docs
add const to UHCI rx callback edata->data
2026-05-25 10:47:40 +08:00
Chen Chen
08ca9fcab3 feat(lcd): add configurable timeout for lcd i2c panel
Closes https://github.com/espressif/esp-idf/issues/18542
Closes https://github.com/espressif/esp-idf/pull/18543
2026-05-25 09:51:46 +08:00
Jiang Jiang Jian
c9ba18d854 Merge branch 'fix_otatool_serial_handoff_v5.5' into 'release/v5.5'
fix(otatool): fix flaky serial port handoff in otatool CI test (backport v5.5)

See merge request espressif/esp-idf!47714
2026-05-22 16:32:51 +08:00
Rahul Tank
851efb6119 Merge branch 'bugfix/nimble_hid_fixes_v5.5' into 'release/v5.5'
fix(nimble): Always read initial BAS level and forward HID report/control/protocol writes as HIDD events (v5.5)

See merge request espressif/esp-idf!48693
2026-05-22 13:39:39 +05:30
Chen Chen
4f6e79ab93 docs(i2s): add note for the restriction of MCLK on esp32
Closes https://github.com/espressif/esp-idf/issues/18564
2026-05-22 11:42:11 +08:00
yiwenxiu
7aefd6bd44 ci: add tear down for openthread ci case 2026-05-22 10:42:06 +08:00
Martin Vychodil
bc8b411422 Merge branch 'bugfix/nvs-bootloader-pytest-app-log_v5.5' into 'release/v5.5'
test(nvs_bootloader): mark nvs bootloader pytest as flaky (v5.5)

See merge request espressif/esp-idf!48698
2026-05-21 20:08:31 +08:00
Martin Vychodil
17915453f4 Merge branch 'bugfix/perf-benchmark-spiflash-ci-idfci-8082_v5.5' into 'release/v5.5'
fix(examples): suppress perf_benchmark printf in CI (v5.5)

See merge request espressif/esp-idf!48644
2026-05-21 20:02:17 +08:00
Mayank Tyagi
7496cf413e fix(nimble): Added change to read initial BAS level post connection 2026-05-21 12:15:16 +05:30
Jiang Jiang Jian
9b0f2616cd Merge branch 'bugfix/fix_some_wifi_bugs_260519_v5.5' into 'release/v5.5'
fix(wifi): fix some wifi bugs 260519 v5.5(Backport v5.5)

See merge request espressif/esp-idf!48708
2026-05-20 17:50:41 +08:00
Zhang Wen Xu
c2611807f1 Merge branch 'fix/optimize_the_ot_ci_v5.5' into 'release/v5.5'
fix(openthread): wait for all onlink GUAs to finish DAD before tests (v5.5)

See merge request espressif/esp-idf!48688
2026-05-20 03:25:33 +00:00
Jiang Jiang Jian
ee367e0b68 Merge branch 'bugfix/hfp_co_build_err_v5.5' into 'release/v5.5'
fix(bt/bluedroid): fixed building errors in HFP datapath (v5.5)

See merge request espressif/esp-idf!48568
2026-05-20 10:32:34 +08:00
muhaidong
81fa030c00 fix(wifi): update auth mode threshold doc 2026-05-19 21:12:11 +08:00
muhaidong
8f92270cf6 fix(wifi): add ESP_WIFI_MAX_CONN_NUM-aligned ranges for soft-AP max STA Kconfig 2026-05-19 21:12:11 +08:00
Xu Si Yu
a9a6975781 fix(openthread): wait for all onlink GUAs to finish DAD before tests 2026-05-19 18:55:57 +08:00
sonika.rathi
32cc2c243c test(nvs_bootloader): mark nvs bootloader pytest as flaky 2026-05-19 12:16:22 +02:00
Mahavir Jain
6a32889849 Merge branch 'feature/recovery_bootloader_support_v5.5' into 'release/v5.5'
feat(bootloader): Support recovery bootloader for ESP32P4 (v5.5)

See merge request espressif/esp-idf!48474
2026-05-19 12:35:57 +05:30
Island
a766a22659 Merge branch 'change/separate_nimble_host_mem_apis_v5.5' into 'release/v5.5'
change(bt): separated host mem apis from bt_osi_mem.c

See merge request espressif/esp-idf!48463
2026-05-19 10:29:53 +08:00