nilesh.kale
62a67bbcb8
fix(examples): solve OTA resumption CI failures (backport v6.0)
...
This commit started threaded server to serve multiple clients
simultaneously in individual thread, eliminating the single-threaded
server limitation that caused the device's mid-OTA reconnect to time
out while the previous connection was still being torn down.
SSL is now wrapped per-connection inside the handler thread (in
setup()) so the main accept loop never blocks on a TLS handshake.
Closes IDFCI-3505
(cherry picked from commit 7647d54271 )
2026-05-15 14:08:39 +05:30
Jiang Jiang Jian
60b925ffcf
Merge branch 'fix/bootloader-hooks-log-v2_v6.0' into 'release/v6.0'
...
fix(bootloader_hooks): Fix log_v2 support in bootloader hooks (v6.0)
See merge request espressif/esp-idf!48252
2026-05-15 15:52:06 +08:00
Jiang Jiang Jian
0f06a3c7e7
Merge branch 'fix_https_request_ci_failure_v6.0' into 'release/v6.0'
...
fix(https_request): write host time to NVS to eliminate SNTP dependency in CI (backport v6.0)
See merge request espressif/esp-idf!48415
2026-05-15 14:11:29 +08:00
Jiang Jiang Jian
91b378565a
Merge branch 'feat/test_lp_core_debugging_v6.0' into 'release/v6.0'
...
feat(ulp): add pytest for debugging example (v6.0)
See merge request espressif/esp-idf!48255
2026-05-15 14:08:07 +08:00
Jiang Jiang Jian
a7b604fd33
Merge branch 'fix/lp_uart_data_bits_v6.0' into 'release/v6.0'
...
fix(ulp/lp_core): fix LP UART data_bits validation and add full word-length test coverage (v6.0)
See merge request espressif/esp-idf!48031
2026-05-15 14:03:13 +08:00
Jiang Jiang Jian
ecfe107ae5
Merge branch 'fix/x509_bundle_replace_unreliable_url_v6.0' into 'release/v6.0'
...
fix(examples): replace unreliable external URL in https_x509_bundle example (backport v6.0)
See merge request espressif/esp-idf!47718
2026-05-15 13:59:15 +08:00
Mahavir Jain
36f3329a23
Merge branch 'feature/recovery_bootloader_support_v6.0' into 'release/v6.0'
...
feat(bootloader): Support recovery bootloader for ESP32P4 (v6.0)
See merge request espressif/esp-idf!48468
2026-05-15 09:52:49 +05:30
Konstantin Kondrashov
555e5bf271
fix(bootloader_hooks): Fix log_v2 support in bootloader hooks
...
Closes https://github.com/espressif/esp-idf/issues/18482
2026-05-14 14:09:31 +03:00
Marius Vikhammer
bac55534a7
fix(examples): raise efuse ESP32-P4 CI partition offset for larger bootloader
...
Recovery bootloader support increased the ESP32-P4 bootloader image enough
that it no longer fits before 0xe000. Moving the partition table to 0x10000
restores slack for CI builds using secure boot and flash encryption together.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-05-14 13:59:23 +03:00
Xu Si Yu
ab4451dd99
fix(openthread): increase the app size in the partition table for the example
2026-05-14 15:24:55 +08:00
Xu Si Yu
3c17a336f7
fix(openthread): fix openthread ci ping case
2026-05-14 15:02:40 +08:00
sonika.rathi
1c01005ae1
fix(examples): add flaky reruns to nvs_rw_value pytest for CI flash
2026-05-13 13:35:08 +02:00
sonika.rathi
42b64128fa
fix(examples): rerun flaky perf benchmark spiflash test
2026-05-13 10:32:43 +02:00
Konstantin Kondrashov
a742bd519a
feat(bootloader): Support recovery bootloader for ESP32P4/C61
2026-05-13 10:18:15 +03:00
hrushikesh.bhosale
6036d714ba
ci(pre-commit): convert .format() to f-string for ruff UP032
...
Apply ruff's UP032 auto-fix on examples/protocols/https_x509_bundle/pytest_https_x509_bundle.py
to make the file pass CI's check_pre_commit job.
2026-05-13 11:36:56 +05:30
Alexey Gerenkov
412e8e4ea4
Merge branch 'fix/apptrace_uart_flush_v6.0' into 'release/v6.0'
...
Replace ISR based Uart TX with polling (v6.0)
See merge request espressif/esp-idf!46816
2026-05-13 01:03:05 +08:00
sibeibei
baba004e0d
feat(ci): add sleep cache safe check for wifi power save
2026-05-12 19:22:54 +08:00
muhaidong
636b285772
fix(wifi): add ESP_WIFI_MAX_CONN_NUM-aligned ranges for soft-AP max STA Kconfig
2026-05-12 19:22:54 +08:00
Samuel Obuch
ecf063c2f4
feat(ulp): add pytest for debugging example
2026-05-12 13:09:56 +02:00
Jiang Jiang Jian
9cf982000d
Merge branch 'feat/add_auto_lightsleep_example_6.0' into 'release/v6.0'
...
feat(example): add power management example (v6.0)
See merge request espressif/esp-idf!48369
2026-05-12 18:11:28 +08:00
Jiang Jiang Jian
6d6aa6cccd
Merge branch 'fix/fix_https_server_linux_build_v6.0' into 'release/v6.0'
...
fix(https_server): fixes failing example build for linux target (v6.0)
See merge request espressif/esp-idf!48205
2026-05-12 18:07:17 +08:00
Island
8e8e9f5545
Merge branch 'feat/share_ble_uart_component_and_refresh_docs_v6.0' into 'release/v6.0'
...
feat(bt): add shared ble_uart component and update ble_uart_service/docs (6.0)
See merge request espressif/esp-idf!48401
2026-05-12 18:02:52 +08:00
Jiang Jiang Jian
3aeda29119
Merge branch 'fix_otatool_serial_handoff_v6.0' into 'release/v6.0'
...
fix(otatool): fix flaky serial port handoff in otatool CI test (backport v6.0)
See merge request espressif/esp-idf!47713
2026-05-12 18:02:05 +08:00
Erhan Kurubas
e4ad52292a
fix(app_trace): implement uart TX without using ISR
2026-05-12 10:13:07 +02:00
hrushikesh.bhosale
1713fd16c7
fix(examples/system/ota/otatool): fix serial port contention in pytest
...
The otatool pytest calls dut.serial.close() and then immediately
launches otatool_example.py as a subprocess that re-opens the same
serial port via esptool. This fails intermittently because:
1. pytest-embedded's QueueFeederThread still holds a reference to
the serial port file descriptor when close() returns, causing
'argument must be an int, or have a fileno() method' error.
2. The OS has not fully released the serial port by the time the
subprocess tries to open it.
Add a delay after serial close and retry logic for the subprocess
to handle transient serial port contention.
Made-with: Cursor
2026-05-12 11:26:34 +05:30
hrushikesh.bhosale
7e43e5e4a4
fix(https_request): write host time to NVS to eliminate SNTP dependency in CI
...
Replace erase_nvs + SNTP time sync with direct NVS timestamp injection
from the pytest host. This eliminates CI flakiness caused by NTP servers
being unreachable from the CI lab network.
Changes:
- Add write_time_to_nvs() helper that generates an NVS partition image
with the current host timestamp and flashes it to the DUT before each
test. The firmware reads this via the existing update_time_from_nvs()
path and skips SNTP entirely.
- Remove @pytest.mark.parametrize('erase_nvs', ['y']) from all 4
Ethernet-based tests since NVS is now written with valid data.
2026-05-12 10:43:15 +05:30
wuzhenghui
17f49a9b79
feat(example): test power_save pd_top config for esp32c5 & esp32c61
2026-05-12 10:13:54 +08:00
wuzhenghui
68eeb5606d
feat(example): implement power management example for ESP chips
2026-05-12 10:13:50 +08:00
Zhi Wei Jian
1b93addbd0
feat(bt): add shared ble_uart component and update ble_uart_service/docs
...
(cherry picked from commit 272793f7d5 )
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-05-11 21:23:35 +08:00
Wang Meng Yang
4be0cc0f8a
Merge branch 'bugfix/ai_review_example_critical_v6.0' into 'release/v6.0'
...
fix(bt/example): fix critical issues of classic_bt examples reported by AI review (v6.0)
See merge request espressif/esp-idf!48338
2026-05-11 19:13:54 +08:00
Mahavir Jain
38db686872
Merge branch 'feat/update_mbedtls_4_1_1_v6.0' into 'release/v6.0'
...
feat(mbedtls): update to version 4.1.0 (v6.0)
See merge request espressif/esp-idf!48175
2026-05-11 09:50:25 +05:30
yangfeng
aa10a3a2d1
fix(bt/example): fix critical issues of classic_bt examples reported by AI review
2026-05-11 11:24:52 +08:00
Jiang Jiang Jian
3414307179
Merge branch 'change/separate_nimble_host_mem_apis' into 'release/v6.0'
...
change(bt): separated host mem apis from bt_osi_mem.c
See merge request espressif/esp-idf!48183
2026-05-11 11:00:07 +08:00
Jiang Jiang Jian
5811e4129d
Merge branch 'feat/remove_led_from_ble_mesh_examples_v6.0' into 'release/v6.0'
...
refactor(ble_mesh): remove LED hardware dependency from examples (6.0)
See merge request espressif/esp-idf!47439
2026-05-11 10:58:21 +08:00
Jiang Jiang Jian
1c0bc64bb8
Merge branch 'fix/disabel_ble50_by_default_for_blemesh_v6.0' into 'release/v6.0'
...
fix(ble_mesh): disabled ble50 by default for ble_mesh (6.0)
See merge request espressif/esp-idf!47752
2026-05-11 10:54:53 +08:00
Ashish Sharma
1d0cdd5602
fix(https_server): fixes failing example build for linux target
2026-05-10 19:29:25 +08:00
Ashish Sharma
eaac238545
fix(mbedtls): remove deprecated configs and migrate to PSA
2026-05-10 19:16:12 +08:00
Rahul Tank
e468727c02
Merge branch 'bugfix/ai_fixes_common_components_v6.0' into 'release/v6.0'
...
Bugfix/ai fixes common components (v6.0)
See merge request espressif/esp-idf!47566
2026-05-09 12:30:33 +05:30
Rahul Tank
55e359ad36
fix(nimble): Update example READMEs with correct console log information
2026-05-08 14:37:09 +05:30
Rahul Tank
3c0310c5aa
fix(nimble): Address review comments for hidd / hidh code
2026-05-08 14:23:48 +05:30
Rahul Tank
81476b116d
fix(nimble): Address review fixes for tinycrypt / and blufi code
2026-05-08 14:23:48 +05:30
Zhang Wen Xu
b8065b8372
Merge branch 'feat/merge_ot_autostart_v6.0' into 'release/v6.0'
...
feat(openthread): optimized the autostart macro (v6.0)
See merge request espressif/esp-idf!48273
2026-05-08 08:45:21 +00:00
Hrushikesh Bhosale
99131e7f41
fix(https_x509_bundle): replace unreliable external URL in https_x509_bundle example
...
Replace howsmyssl.com with letsencrypt.org in the https_x509_bundle
example. howsmyssl.com is a third-party server that is frequently
unreachable from CI, causing flaky test failures. letsencrypt.org
chains to the same ISRG Root X1 CA, so the custom certificate bundle
validation coverage is identical.
Since letsencrypt.org was already present in the full bundle URL list,
remove the duplicate entry and reduce MAX_URLS from 9 to 8. All 6
unique root CAs in the stress test are still covered.
For the QEMU stress test, increase per-connection timeout from 30s to
60s and final completion timeout from 60s to 180s. QEMU emulated
network is 3-5x slower than real hardware for TLS handshakes.
(cherry picked from commit d6596eff3a )
(squashed with commit 995c0f129e )
2026-05-08 13:34:02 +05:30
Aditya Patwardhan
b723799c4e
Merge branch 'fix/http_server_async_handler_connection_retry_v6.0' into 'release/v6.0'
...
fix(http_server/async_handler): Fix http_server async handler tests (backport v6.0)
See merge request espressif/esp-idf!47723
2026-05-08 13:33:34 +05:30
Aditya Patwardhan
e1aa234ce4
Merge branch 'fix/ws_echo_server_uri_registration_race_v6.0' into 'release/v6.0'
...
fix(http_server/ws_echo_server): Fix ws_echo_server test URI registration race condition (backport v6.0)
See merge request espressif/esp-idf!47725
2026-05-08 13:32:47 +05:30
Xu Si Yu
8fac8e4343
feat(openthread): optimized the autostart macro
2026-05-08 14:27:24 +08:00
Marius Vikhammer
d1c1767660
ci(bootloader): fixed multiboot example flakey test-case
...
Wait for the boot menu before selecting the hello_world image.
This keeps flashing output from satisfying the test early.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-05-07 16:28:35 +08:00
ShenWeilong
f02a0dcb9d
change(bt): separated host mem apis from bt_osi_mem.c
2026-05-07 10:38:08 +08:00
luoxu
9c8766167c
feat(ble_mesh): disable BLE 5.0 features for fast_prov_server sdkconfig
2026-05-06 11:31:57 +08:00
Luo Xu
e5260852f3
fix(ble_mesh): disabled ble50 by default for ble_mesh
...
(cherry picked from commit 99d931e4e9 )
Co-authored-by: luoxu <luoxu@espressif.com >
2026-05-06 11:31:57 +08:00