Commit Graph

8496 Commits

Author SHA1 Message Date
morris
1ab68e1e3c Merge branch 'doces/add_pcnt_pull_migreation_guide_v6.1' into 'release/v6.1'
docs(pcnt): add gpio pull mode migration guide (v6.1)

See merge request espressif/esp-idf!51118
2026-07-29 19:01:10 +08:00
morris
71ed03fa91 Merge branch 'fix/fix_i2c_olde_example_hang_v6.1' into 'release/v6.1'
fix(i2c_oled): fix example hang when i2c transaction fails (v6.1)

See merge request espressif/esp-idf!50380
2026-07-29 19:00:50 +08:00
Chen Jichang
5ac3c30d5d docs(pcnt): add gpio pull mode migration guide
Closes https://github.com/espressif/esp-idf/issues/18862
2026-07-24 11:04:30 +08:00
Jiang Jiang Jian
0f579637ed Merge branch 'fix/fix_esp_tee_iv_length_check_v6.1' into 'release/v6.1'
feat(esp_tee): ESP-TEE Security Audit fixes (v6.1)

See merge request espressif/esp-idf!50850
2026-07-18 01:31:29 +08:00
Jiang Jiang Jian
a5b5f6f1cc Merge branch 'bugfix/idfci-12737-fatfs-bdl-wl-storage-erase_v6.1' into 'release/v6.1'
fix(fatfs): erase storage partition before bdl_wl CI test (v6.1)

See merge request espressif/esp-idf!50889
2026-07-17 23:20:32 +08:00
Laukik Hase
0809185c85 feat(esp_tee): Restrict REE access to TEE-owned secure storage keys 2026-07-17 18:14:38 +05:30
Jiang Jiang Jian
a43c51681a Merge branch 'task/buildv2_full_pipeline_v6.1' into 'release/v6.1'
Enable full buildv2 pipeline (v6.1)

See merge request espressif/esp-idf!50351
2026-07-17 18:20:09 +08:00
sonika.rathi
9f60629791 fix(fatfs): erase storage partition before bdl_wl CI test 2026-07-17 10:53:21 +02:00
Jiang Jiang Jian
e56f3d4c20 Merge branch 'fix/jpeg_enc_encrypt_v6.1' into 'release/v6.1'
fix(jpeg): Jpeg can encode and decode in encryption situation (backport v6.1)

See merge request espressif/esp-idf!50662
2026-07-17 15:57:07 +08:00
Jiang Jiang Jian
ec52a0cc95 Merge branch 'feat/tusb_msc_example_sdmmc_esp32s31_backport_v6.1' into 'release/v6.1'
feat(usb_device): Add SDMMC support for MSC USB Device example for esp32s31 target v6.1 backport

See merge request espressif/esp-idf!50827
2026-07-17 10:53:58 +08:00
Jiang Jiang Jian
947e534927 Merge branch 'fix/mmap_cache_flash_wr_v6.1' into 'release/v6.1'
fix(mmap): fixed mmap read data wrong when flash being erased/written and cache not disabled (v6.1)

See merge request espressif/esp-idf!50117
2026-07-17 10:30:14 +08:00
Aditya Patwardhan
9dc17f98b0 Merge branch 'backport/44987_v6.1' into 'release/v6.1'
feat(esp-tls): Added a PSA driver for Secure Element (backport v6.1)

See merge request espressif/esp-idf!50334
2026-07-16 15:37:49 +05:30
Jiang Jiang Jian
aa44022e75 Merge branch 'fix/idfgh-17712-bootloader-extra-components_v6.1' into 'release/v6.1'
fix(bootloader): discover BOOTLOADER_EXTRA_COMPONENT_DIRS in cmake v1 (v6.1)

See merge request espressif/esp-idf!49719
2026-07-16 17:25:19 +08:00
peter.marcisovsky
28dee52563 feat(usb_device_example): Create per-target sdkconfig.defaults 2026-07-16 10:19:44 +02:00
peter.marcisovsky
63c49d432d feat(usb_device): Add SDMMC support for MSC USB Device example for esp32s31 target
- Added CI build of the MSC device example with SDMMC config
2026-07-16 10:19:44 +02:00
Jiang Jiang Jian
6cb467a433 Merge branch 'bugfix/fix_bluedroid_read_multi_v6.1' into 'release/v6.1'
fix(ble/bluedroid): fix GATT Read Multiple response handling (6.1)

See merge request espressif/esp-idf!50710
2026-07-16 11:59:11 +08:00
Jiang Jiang Jian
a21d475532 Merge branch 'fix/backport_wifi_fixes_v6.1' into 'release/v6.1'
Backport a few wifi fixes to v6.1 (Backport v6.1)

See merge request espressif/esp-idf!50717
2026-07-16 11:42:29 +08:00
Jiang Jiang Jian
3299c3527d Merge branch 'bugfix/idf_ci_hid_example_v6.1' into 'release/v6.1'
fix(bt/example): Add print the device name to verify if it matches in HID example (v6.1)

See merge request espressif/esp-idf!50482
2026-07-16 11:32:43 +08:00
Jiang Jiang Jian
68137eca5d Merge branch 'fix/fix_ble_rtc_register_issue_after_reset_v6.1' into 'release/v6.1'
fix(ble): fix ble rtc reset issues on esp32-h4 and esp32-s31 (6.1)

See merge request espressif/esp-idf!50204
2026-07-16 10:43:26 +08:00
Konstantin Kondrashov
5bc1dfc166 fix(bootloader): handle extra component dirs in v1 subproject
Closes https://github.com/espressif/esp-idf/issues/18651
2026-07-16 10:37:12 +08:00
Xiao Xufeng
3e8389cc31 fix(mmap): fixed some API read wrong data via mmap when flash being erased/written while XIP on PSRAM
Before:

The cache won't be disabled when XIP on psram. But during flash
erasing/programming, read data will be courrupt.

When XIP in psram is enabled, the image is not mapped to the cache so
usually there will be no flash access. The only way to read from flash
is via the driver or use mmap. The driver has protection during erasing,
while th mmap region not.

Now:

Mmap APIs provide a flag to make mmap->unmap region mutually exclusive
to flash erase/programming when XIP from psram. SPI Flash write APIs
will benefit from this. When the flag is used, no concurrent access to
mapped region will happen while writing; otherwise the cache will be
disable to avoid data corruption.

Most ESP-IDF APIs calls mmap with this flag. As for users calling
mmap-like APIs directly, they can choose whether to enable this by a
flag.

Closes https://github.com/espressif/esp-idf/issues/14897
2026-07-15 18:57:08 +08:00
Shreyas Sheth
1519772ea8 fix(wpa_supplicant): Fix issues related to pmkid mismatch and eloop for dpp 2026-07-14 10:31:19 +05:30
Zhang Hai Peng
b50cef44fb docs(ble/bluedroid): fix markdown formatting in example docs
(cherry picked from commit dba450de6b)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-07-14 10:37:22 +08:00
morris
f91e2baa41 feat(jpeg): simplify decoder example and add pytest coverage 2026-07-13 16:18:51 +08:00
C.S.M
e92e669dee fix(jpeg): JPEG can encode and decode in encryption situation 2026-07-13 15:00:31 +08:00
yangfeng
8a3d288843 fix(bt/example): Add print the device name to verify if it matches in HID example 2026-07-08 15:28:00 +08:00
Chen Jichang
a2e5becddc fix(i2c_oled): fix example hang when i2c transaction fails
Closes https://github.com/espressif/esp-idf/issues/18713
2026-07-06 15:02:26 +08:00
Rahul Tank
e44969a390 fix(nimble): Fix ble_chan_sound_reflector compilation issue 2026-07-06 07:52:43 +05:30
Sudeep Mohanty
fc7eaf8569 test(gcov): resolve component CMakeFiles dir dynamically
pytest_gcov hardcoded `__idf_<component>.dir/` as the per-component CMake
intermediate directory where each .gcda is expected to land. The directory
name is build-system specific (Build system v1 uses `__idf_<component>.dir`,
Build system v2 uses `_idf_<component>.dir`). Asserting on a single literal
made every test_gcov_uart run fail under Build system v2 even though the
chip was streaming valid coverage data and the host-side UartGcovCapture
was writing the files to the build's actual layout.

Probe `CMakeFiles/*_<component>.dir/` and prefer the candidate whose .gcno
files were emitted by the active build, so the assertion follows the build
output rather than dictating it.
2026-07-03 19:18:42 +02:00
Sarvesh Bodakhe
310b3d6571 feat(wifi): add NAN group data and management frame protection
Add Wi-Fi Aware group-key support to secured NDPs so group-addressed
traffic can be protected, for interop with iOS/macOS peers:

- GTK (NCS-GTK-CCM-128) protects group-addressed data.
- IGTK/BIGTK (BIP) protect group management traffic - multicast SDFs,
  Beacons.

Capabilities are advertised in the CSIA IE: group_data_prot maps to GTKSA,
group_mgmt_prot to IGTKSA/BIGTKSA. The CSIA cannot encode IGTK/BIGTK
without GTK (WiFi Aware spec 9.5.21.2, Table 122), so enabling group_mgmt_prot
forces group_data_prot on for every secured service.

Expose per-service group_data_prot and device-global group_mgmt_prot.
2026-07-04 00:05:20 +08:00
Jiang Jiang Jian
ed3d9f9c46 Merge branch 'bugfix/hfp_example_ci_v6.1' into 'release/v6.1'
fix: Fix the HFP example fails to discovery target device (v6.1)

See merge request espressif/esp-idf!50288
2026-07-03 20:30:56 +08:00
Jiang Jiang Jian
7089584a34 Merge branch 'idf/ble_audio_4.4.1_v6.1' into 'release/v6.1'
feat(ble_audio): Support Zephyr LE Audio v4.4.1 (v6.1)

See merge request espressif/esp-idf!50187
2026-07-03 20:28:32 +08:00
Jiang Jiang Jian
2a0dd1921c Merge branch 'contrib/github_pr_18761_v6.1' into 'release/v6.1'
fix(nimble): initialize return value in LED characteristic access cal… (GitHub PR) (v6.1)

See merge request espressif/esp-idf!50150
2026-07-03 20:28:07 +08:00
Jiang Jiang Jian
e3feb73053 Merge branch 'task/buildv2_hygiene_and_dep_declarations_v6.1' into 'release/v6.1'
fix(components): generic dep-declaration and scope-leakage hygiene exposed by cmakev2 (v6.1)

See merge request espressif/esp-idf!48904
2026-07-03 17:47:24 +08:00
Jin Chen
1cf9fbed20 fix(ble): change min freq in ble power save
(cherry picked from commit 958c28c41d)

Co-authored-by: cjin <jinchen@espressif.com>
2026-07-03 14:35:46 +08:00
Mahavir Jain
0362f806e1 Merge branch 'feat/psa_its_custom_backend_v6.1' into 'release/v6.1'
Support custom storage backend for persistent PSA keys (v6.1)

See merge request espressif/esp-idf!49151
2026-07-03 11:34:23 +05:30
harshal.patil
b3214f13c6 feat(examples/security): Add example to demonstrate the usage of custom key storages with PSA 2026-07-02 16:00:23 +05:30
yangfeng
0ec0a6bb9a fix: Fix the HFP example fails to discovery target device 2026-07-02 15:04:41 +08:00
Aditya Patwardhan
9b185eba9f fix(esp-tls): Use runtime assignment for static key config length in examples
Linker symbol differences (prvtkey_pem_end - prvtkey_pem_start) are not
compile-time constants and cannot be used in static initializers.

(cherry picked from commit 4196734d1a)
2026-07-02 11:41:49 +05:30
Aditya Patwardhan
2325a727d8 feat(esp-tls): Add unified private key interface via esp_key_config_t
Add ESP_KEY_SOURCE_BUFFER and ESP_KEY_SOURCE_PSA key sources so all
hardware backends (DS, ECDSA, secure element) are accessed via PSA
key IDs through a single esp_tls_cfg_t.client_key field.

(cherry picked from commit 36090b7161)
2026-07-02 11:41:48 +05:30
Hu Rui
9c73af2261 refactor(dac): improve the DAC driver 2026-07-02 11:20:37 +08:00
Sudeep Mohanty
865512024c fix(dns_over_https): declare main and protocol_examples_common deps
dns_over_https/main includes time_sync.h, nvs_flash.h, esp_event.h,
esp_timer.h, and mbedtls headers. Declare nvs_flash, esp_event,
esp_timer, mbedtls and time_sync in PRIV_REQUIRES so the build is
self-describing under any build system.

Also move esp_netif from PRIV_REQUIRES to REQUIRES in
protocol_examples_common, since its public header exposes esp_netif.h.

Also add the PRIVATE keyword to target_link_libraries in the
dns_over_https component — CMake rejects mixed keyword/plain
signatures on the same target.
2026-07-01 19:59:05 +08:00
Shuai Wang
0ab5a90137 fix(nimble): initialize return value in LED characteristic access callback
When the NimBLE stack called this callback for a GATT Write Request, the
uninitialized stack value was interpreted as a non-zero GATT error code,
causing the stack to send BLE_ATT_ERR_UNLIKELY (0x0E) back to the client.
2026-07-01 11:54:58 +08:00
morris
9583d6df06 Merge branch 'feat/async_color_converter_v6.1' into 'release/v6.1'
feat(esp_driver_dma): add async color convert driver (v6.1)

See merge request espressif/esp-idf!49747
2026-07-01 10:22:42 +08:00
Jiang Jiang Jian
cf515d20d7 Merge branch 'feat/support_usb_wakeup_v6.1' into 'release/v6.1'
feat: support usb as wakeup source from light sleep (v6.1)

See merge request espressif/esp-idf!49497
2026-06-30 19:40:33 +08:00
Liu Linyan
9b415a7d1f feat(ble_audio): Support Zephyr LE Audio v4.4.1 2026-06-30 15:17:24 +08:00
Jiang Jiang Jian
3dcf2a167f Merge branch 'feat/seperate_ot_citest_tags_v6.1' into 'release/v6.1'
ci: seperate openthread test cases (v6.1)

See merge request espressif/esp-idf!50059
2026-06-30 14:22:39 +08:00
Jiang Jiang Jian
c1e07b7234 Merge branch 'feat/sup_i2s_in_esp32s31_example_v6.1' into 'release/v6.1'
feat(bt/example): Support I2S output of esp32s31 in A2DP sink stream example (v6.1)

See merge request espressif/esp-idf!50055
2026-06-30 14:22:27 +08:00
Jiang Jiang Jian
18afab1c92 Merge branch 'feat/support_ble_uart_more_interfaces_v6.1' into 'release/v6.1'
feat(bt/ble_uart): Support ble uart more interfaces (6.1)

See merge request espressif/esp-idf!50048
2026-06-30 14:21:48 +08:00
Jiang Jiang Jian
7219860f52 Merge branch 'bugfix/ai_review_avrcp_v6.1' into 'release/v6.1'
fix(bt): Fix the critical and high issues related to AVRCP from AI review report (v6.1)

See merge request espressif/esp-idf!50019
2026-06-30 14:20:16 +08:00