Commit Graph

53489 Commits

Author SHA1 Message Date
Jiang Jiang Jian
01083b8017 Merge branch 'bugfix/vfs_fat_readdir_stat_cache_v6.1' into 'release/v6.1'
fix(fatfs): move readdir-stat cache to per-DIR stream (v6.1)

See merge request espressif/esp-idf!50903
2026-07-17 23:19:45 +08:00
Jiang Jiang Jian
1513bf3f3d Merge branch 'contrib/github_pr_18822_v6.1' into 'release/v6.1'
fix(esp_partition): prevent size_t overflow bypassing bounds checks on linux target (GitHub PR) (v6.1)

See merge request espressif/esp-idf!50907
2026-07-17 23:19:10 +08:00
Jiang Jiang Jian
392b949368 Merge branch 'contrib/github_pr_18829_v6.1' into 'release/v6.1'
fix(spiffs): fix off-by-one in spiffsgen.py obj name length check (GitHub PR) (v6.1)

See merge request espressif/esp-idf!50914
2026-07-17 23:19:06 +08:00
sonika.rathi
2d3c9b981b fix(spiffs): shorten obj_name_len guard comment 2026-07-17 13:50:34 +02:00
yi chen
9128ec1a98 fix(spiffs): fix off-by-one in spiffsgen.py obj name length check
SpiffsFS.create_file() rejected names only when strictly longer than
obj_name_len, but CONFIG_SPIFFS_OBJ_NAME_LEN's documented semantics
(see components/spiffs/Kconfig) are that the length includes the
zero-termination character, so the maximum number of actual name
characters is obj_name_len - 1.

With the old check, a name exactly obj_name_len characters long was
accepted. SpiffsObjIndexPage.to_binary() then computes the NUL padding
after the name as (obj_name_len - len(name)), which is 0 in that case,
so the generated image's fixed-size name field ends up with no NUL
terminator anywhere in its reserved region.

Fix the boundary so the generator enforces the same maximum length
that the Kconfig help text documents.
2026-07-17 13:02:37 +02:00
yi chen
afddc13e34 fix(esp_partition): prevent size_t overflow bypassing bounds checks on linux target
esp_partition_write/read/erase_range/mmap in partition_linux.c (the
`linux` target backend used by --preview set-target linux / host_test)
validated the requested range with `offset + size > partition->size`.
When `size` is close to SIZE_MAX, this addition wraps around size_t and
can evaluate to a small value, so the check passes even though the
request is far out of bounds. A caller passing e.g.
esp_partition_write(partition, 1, src, SIZE_MAX) sails through both
bounds checks and reaches the byte-copy loop with new_size == SIZE_MAX,
causing out-of-bounds reads/writes far past both the caller's buffer
and the mmap'd emulated-flash file.

Replace all four instances with the overflow-safe form already used by
the other esp_partition backends (partition_target.c,
partition_bootloader.c, partition_tee.c):
`size > partition->size - offset`, which is safe because the preceding
check already guarantees offset <= partition->size.

Signed-off-by: yi chen <94xhn1@gmail.com>
2026-07-17 12:48:25 +02:00
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
Jiang Jiang Jian
522ee6dd74 Merge branch 'contrib/github_pr_18823_v6.1' into 'release/v6.1'
fix(vfs): use MAX_FDS instead of VFS_MAX_COUNT when clearing fd table on unregister (GitHub PR) (v6.1)

See merge request espressif/esp-idf!50697
2026-07-17 18:19:41 +08:00
Jiang Jiang Jian
961539aaa8 Merge branch 'contrib/github_pr_18817_v6.1' into 'release/v6.1'
fix(wear_levelling): guard WL_Flash::write()/read() against size==0 underflow (GitHub PR) (v6.1)

See merge request espressif/esp-idf!50730
2026-07-17 18:19:36 +08:00
sonika.rathi
2d6ac630a5 fix(fatfs): move readdir-stat cache to per-DIR stream
Move cached_fileinfo and dir_path from vfs_fat_ctx_t to vfs_fat_dir_t so
each open DIR* has its own readdir→stat cache.
2026-07-17 12:09:00 +02:00
Jiang Jiang Jian
0581c1e046 Merge branch 'fix/update_phylib_to_fix_esp32c61_bod_rts_v6.1' into 'release/v6.1'
fix(phy): fix esp32c61 bod rts(backport v6.1)

See merge request espressif/esp-idf!50862
2026-07-17 17:40:16 +08:00
Jiang Jiang Jian
9e9c16c724 Merge branch 'bugfix/change_pvt_timer_target_param_backport_v6.1' into 'release/v6.1'
feat(pvt): change pvt timer target & limit on release v6.1

See merge request espressif/esp-idf!50815
2026-07-17 16:12:52 +08: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
997fdc8435 Merge branch 'feat/csi_error_event_v6.1' into 'release/v6.1'
Add MIPI-CSI error event (v6.1)

See merge request espressif/esp-idf!50680
2026-07-17 15:57:04 +08:00
Jiang Jiang Jian
9cf02d6dc4 Merge branch 'fix/fix_coex_iso_cache_error_v6.1' into 'release/v6.1'
fix(coex): Fixed BLE iso coex cache error (6.1)

See merge request espressif/esp-idf!50849
2026-07-17 11:43:27 +08:00
Jiang Jiang Jian
f2f57b2922 Merge branch 'fix/do_cache_lock_workaround_before_ipc_stall_v6.1' into 'release/v6.1'
fix(esp_hw_support): disable esp32 livelock workaround before stall another core (v6.1)

See merge request espressif/esp-idf!50768
2026-07-17 11:26:19 +08:00
yinqingzhao
e7a0abeae4 fix(phy): fix esp32c61 bod rts 2026-07-17 10:56:32 +08:00
Jiang Jiang Jian
9adc0ecf8e Merge branch 'backport/spi_slave_add_independent_tx_rx_length-v6.1' into 'release/v6.1'
feat(driver_spi): slave driver support config different tx/rx length (v6.1)

See merge request espressif/esp-idf!49960
2026-07-17 10:54:57 +08:00
Jiang Jiang Jian
b3ec1371af Merge branch 'fix/bootloader_anti_rollback_konfig_v6.1' into 'release/v6.1'
fix(bootloader): Hide bootloader anti-rollback Kconfig where not supported (v6.1)

See merge request espressif/esp-idf!50816
2026-07-17 10:54:17 +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
muhaidong
d2d858c78e fix(coex): fix coex status get issue 2026-07-17 10:49:42 +08:00
zhiweijian
f2cf653370 fix(coex): Fixed BLE iso coex cache error 2026-07-17 10:49:31 +08:00
Xu Si Yu
99eee46cef fix(coex): move 15.4 register configuration to 15.4 init 2026-07-17 10:49:17 +08:00
Jiang Jiang Jian
beefc5c263 Merge branch 'feat/idfgh-17859_v6.1' into 'release/v6.1'
backport v6.1: add kconfig option for REGDMA sleep clock ICG

See merge request espressif/esp-idf!50471
2026-07-17 10:45:12 +08:00
Jiang Jiang Jian
07c65b3819 Merge branch 'feature/chip764_power_glitch_support_v6.1' into 'release/v6.1'
feat(s31): bootloader power glitch reset config (v6.1)

See merge request espressif/esp-idf!50545
2026-07-17 10:44:46 +08:00
Jiang Jiang Jian
526285007f Merge branch 'fix/tx_power_validate_v6.1' into 'release/v6.1'
fix(bt): validate BR/EDR TX power against chip-supported range (v6.1)

See merge request espressif/esp-idf!50544
2026-07-17 10:32:04 +08:00
Jiang Jiang Jian
2dd51a0e75 Merge branch 'bugfix/avrc_ca_attr_id_check_v6.1' into 'release/v6.1'
fix(bt): Fix the validation of AVRCP metadata attr_id in handle_rc_attributes_rsp (v6.1)

See merge request espressif/esp-idf!50549
2026-07-17 10:31:02 +08:00
Jiang Jiang Jian
f8e6e94dca Merge branch 'feat/usb_dfu_console_soc_caps_backport_v6.1' into 'release/v6.1'
feat(soc): add USB DFU and OTG console caps (backport v6.1)

See merge request espressif/esp-idf!49580
2026-07-17 10:30:26 +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
Jiang Jiang Jian
14f663f003 Merge branch 'fix/pbkdf2_sha256_mbedtls4_guard_v6.1' into 'release/v6.1'
fix(wpa_supplicant): guard pbkdf2_sha256 for PSA-provided SHA-256 (v6.1)

See merge request espressif/esp-idf!50460
2026-07-16 18:57:43 +08:00
Jiang Jiang Jian
4fe6db39ca Merge branch 'bugfix/bug_bounty_av_v6.1' into 'release/v6.1'
fix(bt/bluedroid): Fix bug bounty issues about A/V from NVIDIA (v6.1)

See merge request espressif/esp-idf!50476
2026-07-16 18:57:38 +08:00
Jiang Jiang Jian
adc1f663b4 Merge branch 'feat/add_lmp_dbg_vendor_v6.1' into 'release/v6.1'
feat(bt/controller): Added LMP debug vendor HCI and fixed some bugs ts on ESP32-S31 [backport v6.1]

See merge request espressif/esp-idf!50704
2026-07-16 18:56:58 +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
hongshuqing
4ab85accea feat(pwr_glitch): chip764 power glitch reset config 2026-07-16 17:51:17 +08:00
hongshuqing
47009c5458 fix(vol): update dreg_1p1 and dreg_1p1_pvt in bootloader 2026-07-16 17:51:17 +08:00
Jiang Jiang Jian
8158e1d350 Merge branch 'backport/esp32s31_static_cpu_retention_v6.1' into 'release/v6.1'
backport v6.1: fix build failure when CONFIG_PM_CPU_RETENTION_STATIC is enabled

See merge request espressif/esp-idf!50635
2026-07-16 17:38:32 +08:00
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
sonika.rathi
f99e2dc6b2 fix(wear_levelling): shorten zero-size guard comments 2026-07-16 09:34:42 +02:00
Konstantin Kondrashov
730310cce1 fix(bootloader): Hide bootloader anti-rollback Kconfig where not supported 2026-07-16 09:37:25 +03:00
liqigan
1004beff62 feat(bt/controller): Added LMP debug vendor HCI and fixed some bugs ts on ESP32-S31 2026-07-16 14:30:38 +08:00
liqigan
b93794265f fix(bt/controller): Fixed BR/EDR controller bugs found by regression tests on ESP32-S31
- Fixed the state machine issue caused by security related LMP procedures on ESP32-S31
- Fixed the issue of insufficient air time for ACK reception from the Central on ESP32-S31
- Fixed the page scan collision issue on ESP32-S31
- Fixed read failures for local supported features and extended features on ESP32-S31
- Fixed NULL access issue during SYNC disconnection on ESP32-S31
- Fixed ACL schedule issue during SYNC connection establishment on ESP32-S31
2026-07-16 14:30:38 +08:00
liqigan
48dd8b588f feat(bt): Added support for slot availablity mask functionality 2026-07-16 14:30:38 +08:00
yangfeng
5af3a74a45 fix(bt): Fix the validation of AVRCP metadata attr_id in handle_rc_attributes_rsp 2026-07-16 14:27:53 +08:00
yanzihan@espressif.com
fa7cc42b9f feat(pvt): change pvt timer target & limit 2026-07-16 14:12:55 +08:00
Tomas Rezucha
32e1303c3e feat(tools): Add 'check' field to idf.py actions 2026-07-16 12:16:11 +08:00
igor.masar
f7e24571ea feat(soc): add USB DFU and OTG console caps
Add USB DFU and OTG console SOC capability flags for esp32s2, esp32s3, and esp32p4.

Use these caps in Kconfig, documentation conditionals, and idf.py DFU actions so USB support
is derived from SOC capabilities instead of hardcoded target names.
2026-07-16 12:16:11 +08:00
Jiang Jiang Jian
cc979db24b Merge branch 'backport/support_two_MAC_esp32s31_v6.1' into 'release/v6.1'
fix(esp32s31): restrict UNIVERSAL_MAC_ADDRESSES to Two (backport v6.1)

See merge request espressif/esp-idf!50571
2026-07-16 12:07:20 +08:00
chenqingqing
19f0627092 fix(bt): clarify BR/EDR TX power behavior in menuconfig help 2026-07-16 12:05:12 +08:00