morris
df6e7f407d
Merge branch 'bugfix/ppa_buffer_oob_v5.5' into 'release/v5.5'
...
fix(ppa): add checks for input to avoid any OOB access (v5.5)
See merge request espressif/esp-idf!51140
2026-07-27 10:35:49 +08:00
morris
346a22b5ce
Merge branch 'backport/spi_flash_fixes_v5.5' into 'release/v5.5'
...
fix(spi_flash): backport aes-xts error-path & mxic fixes (v5.5)
See merge request espressif/esp-idf!51136
2026-07-27 10:35:17 +08:00
Mahavir Jain
6204c6dfff
Merge branch 'fix/esp32p4_secure_boot_sig_block_v5.5' into 'release/v5.5'
...
fix(esp32p4): secure boot (ECDSA-P384) and flash encryption eFuse fixes (v5.5)
See merge request espressif/esp-idf!50900
2026-07-26 16:21:57 +05:30
Rahul Tank
f37463a42a
Merge branch 'bugfix/nimble_security_fixes_v5.5' into 'release/v5.5'
...
fix(nimble): Ai reported security fixes (v5.5)
See merge request espressif/esp-idf!50692
2026-07-25 18:50:27 +05:30
Shreeyash Bhakare
87f48471c5
fix(nimble): Added security related fixes
2026-07-25 08:56:22 +05:30
Rahul Tank
50a0190769
Merge branch 'bugfix/l2cap_throughput_degrading_v5.5' into 'release/v5.5'
...
Preserve throughput when switching from LE Coded to 1M/2M PHY (v5.5)
See merge request espressif/esp-idf!50831
2026-07-25 08:39:06 +05:30
Roland Dobai
e361eff2f9
Merge branch 'test/run_supported_cmake_tests_v5.5' into 'release/v5.5'
...
test(tools): Added minimal supported cmake versions build system tests (v5.5)
See merge request espressif/esp-idf!49288
2026-07-24 15:01:16 +02:00
Astha Verma
d2708d151d
fix(nimble): Restore throughput after switching from LE Coded PHY
2026-07-24 18:04:48 +05:30
Rahul Tank
5000b928d5
Merge branch 'bugfix/fix_ai_example_review_v5.5' into 'release/v5.5'
...
fix(nimble): Fix nimble examples review issues (v5.5)
See merge request espressif/esp-idf!50842
2026-07-24 16:13:04 +05:30
Shu Chen
5bdb8c8bf1
Merge branch 'feat/update_phylib_on_s31_c6_for_track_v5.5' into 'release/v5.5'
...
feat(phy): update phy lib for esp32s31 & esp32c6 for track (v5.5)
See merge request espressif/esp-idf!50792
2026-07-24 10:35:26 +00:00
Rahul Tank
39676ac80d
fix(nimble): Fix issues found in review for nimble examples
2026-07-24 15:22:26 +05:30
morris
befd406f90
Merge branch 'fix/jpeg_enc_encrypt_v5.5' into 'release/v5.5'
...
fix(jpeg): Jpeg can encode and decode in encryption situation (backport v5.5)
See merge request espressif/esp-idf!50670
2026-07-24 16:59:56 +08:00
Rahul Tank
4e3f2de1e0
Merge branch 'bugfix/red_rem_feat_evt_v5.5' into 'release/v5.5'
...
Handle Read Remote Supported Feature failure (v5.5)
See merge request espressif/esp-idf!50810
2026-07-24 14:26:38 +05:30
Shu Chen
5250315412
Merge branch 'support/ot_register_154_event_cb_v5.5' into 'release/v5.5'
...
feat(openthread): use ieee802154 event callback list instead of weak overrides (v5.5)
See merge request espressif/esp-idf!51128
2026-07-24 08:29:13 +00:00
Song Ruo Jing
f57f4ffa58
fix(ppa): add checks for input to avoid any OOB access
2026-07-24 15:43:03 +08:00
Jiang Jiang Jian
e478325c97
Merge branch 'bugfix/fix_some_coex_bugs_260723_v5.5' into 'release/v5.5'
...
Bugfix/fix some coex bugs 260723 v5.5(Backport v5.5)
See merge request espressif/esp-idf!51102
2026-07-24 15:42:37 +08:00
C.S.M
6f14740263
fix(spi_flash): Fix spi_flash leaks release aes-xts in error path
...
(cherry picked from commit 305c5869ee )
2026-07-24 14:52:19 +08:00
Shengyu Qu
dd99b5a272
fix(spi_flash): add #if check for s_mxic_set_required_regs()
...
Currently, s_mxic_set_required_regs() lacks checking for
CONFIG_SPI_FLASH_SUPPORT_MXIC_OPI_CHIP. And this causes a defined but not
used warning when MXIC flash driver is disabled in project config. So add
a #if check for this to supress warning.
Signed-off-by: Shengyu Qu <wiagn@4d2.org >
(cherry picked from commit 062c948c18 )
2026-07-24 14:52:19 +08:00
morris
d7dff00514
Merge branch 'docs/i2c_addr_description_v5.5' into 'release/v5.5'
...
docs(i2c): clarify 7-bit address usage (v5.5)
See merge request espressif/esp-idf!51091
2026-07-24 14:30:25 +08:00
zwx
22ca116505
feat(openthread): use ieee802154 event callback list instead of weak overrides
2026-07-24 14:23:45 +08:00
morris
da10308f66
Merge branch 'bugfix/ana_cmpr_macro_v5.5' into 'release/v5.5'
...
fix(ana_cmpr): Fix swapped POS/NEG cross interrupt masks on ESP32-C5/P4 (v5.5)
See merge request espressif/esp-idf!50800
2026-07-23 23:59:20 +08:00
morris
dd8d7946bb
Merge branch 'feat/csi_error_event_v5.5' into 'release/v5.5'
...
Add MIPI-CSI error event (v5.5)
See merge request espressif/esp-idf!50682
2026-07-23 19:43:07 +08:00
Island
5f29e3e2e1
Merge branch 'fix/ble_hidd_remove_ccc_gating_v5.5' into 'release/v5.5'
...
fix(esp_hid/bluedroid): remove app-layer CCC gating in HID device (5.5)
See merge request espressif/esp-idf!51006
2026-07-23 19:26:08 +08:00
Island
28b43457a4
Merge branch 'feat/ble_log_compression_module_cfg_update_v5.5' into 'release/v5.5'
...
Feat/ble log compression module cfg update (5.5)
See merge request espressif/esp-idf!49874
2026-07-23 19:25:46 +08:00
morris
758ad09c7d
Merge branch 'feat/sec_esp_drivers_v5.5' into 'release/v5.5'
...
fix(drivers): harden multiple peripheral drivers against local DoS and memory corruption (v5.5)
See merge request espressif/esp-idf!50558
2026-07-23 19:14:24 +08:00
Wang Meng Yang
7bf2026549
Merge branch 'bugfix/bredr_critical_bugs_v5.5' into 'release/v5.5'
...
fix(bt/bluedroid): fixed issues from AI review in GAP, SPP, HID, L2CAP and HCI (v5.5)
See merge request espressif/esp-idf!51079
2026-07-23 16:45:34 +08:00
Wang Meng Yang
3d180bf434
Merge branch 'bugfix/low_spp_throughput_v5.5' into 'release/v5.5'
...
change(bt/bluedroid): increased port low watermark of RFCOMM (v5.5)
See merge request espressif/esp-idf!51085
2026-07-23 16:42:45 +08:00
morris
ea26d4590c
Merge branch 'fix/fix_i2s_i80_color_size_check_v5.5' into 'release/v5.5'
...
fix(lcd): add color size check for i80 and boundary check for rgb (v5.5)
See merge request espressif/esp-idf!50965
2026-07-23 16:39:09 +08:00
morris
300cd9f4ea
fix(sdspi): reject oversized pre-read data before block receive
...
Guard start_command_read_blocks against cards that place TOKEN_BLOCK_START so early that extra_data_size exceeds the bytes expected on the current iteration. Without this check, the unsigned subtraction for will_receive underflows and propagates into memset, SPI transaction length, and memcpy counts against the fixed 516-byte block buffer.
2026-07-23 15:09:55 +08:00
morris
9b78b59304
fix(spi_slave): free DMA-private buffers when transaction queue is full
...
spi_slave_queue_trans calls spi_slave_setup_priv_trans to allocate
DMA buffers, then tries xQueueSend. If the queue is full the function
returns ESP_ERR_TIMEOUT without freeing those buffers, leaking up to
2 * max_transfer_sz per failed call. Call spi_slave_uninstall_priv_trans
before returning the timeout.
2026-07-23 15:09:55 +08:00
morris
4196c7ae5c
fix(jpeg): release platform mutex on semaphore/pm-lock allocation failure
...
jpeg_acquire_codec_handle acquires s_jpeg_platform.mutex at entry
but two ESP_RETURN_ON_* macros (semaphore-create and PM-lock-create
failure) return without releasing it. Replace with ESP_GOTO_ON_*
that jumps to a cleanup label which frees partial resources, NULLs
the codec pointer, and releases the mutex.
2026-07-23 15:09:55 +08:00
morris
80aa3978b3
fix(i2c): release platform mutex on intr/pm_lock delete failure
...
ESP_RETURN_ON_ERROR inside the s_i2c_platform.mutex critical section
returns without releasing the mutex, permanently blocking all I2C
bus operations. Replace with ESP_GOTO_ON_ERROR that jumps to a
cleanup label releasing the mutex before return.
2026-07-23 15:09:55 +08:00
luoxu
dfb314ef75
feat(ble): reorganize log compression Kconfig
...
Move log-compression Kconfig files to host/ and profile/mesh/ directories and update source paths.
2026-07-23 14:37:22 +08:00
luoxu
fde5663460
feat(ble): split log compression Kconfig into separate mesh and host files
2026-07-23 14:37:22 +08:00
Luo Xu
d29f5461f8
fix(ble): fix Bluedroid log compression for newly added modules
...
(cherry picked from commit 8d4f1cb608 )
Co-authored-by: luoxu <luoxu@espressif.com >
2026-07-23 14:37:22 +08:00
Island
efd98f4782
Merge branch 'fix/ble_log_compression_add_local_header_file_v5.5' into 'release/v5.5'
...
feat(ble_log): mirror local compression headers (5.5)
See merge request espressif/esp-idf!50951
2026-07-23 14:23:07 +08:00
muhaidong
51494443d0
fix(coex): fix coex status get issue
2026-07-23 14:20:04 +08:00
Xu Si Yu
16726c1571
fix(coex): move 15.4 register configuration to 15.4 init
2026-07-23 14:19:53 +08:00
morris
42882b7078
fix(csi): move csi_fsm init before resource allocation to fix err-path leak
...
CSI_FSM_INIT is 1, but the controller struct is zero-allocated.
Any failure before the former csi_fsm assignment (near the end of
esp_cam_new_csi_ctlr) jumped to err: which called s_del_csi_ctlr.
That function bailed out immediately because csi_fsm == 0, leaking
the claimed slot, queue, bridge, DMA channel, PM lock, and backup
buffer. Move csi_fsm = CSI_FSM_INIT right after a successful claim
so the err: path properly tears down all allocated resources.
2026-07-23 11:18:42 +08:00
morris
8bb93702ab
fix(adc): add missing input validation for channel and ret_handle
...
- adc_cali_curve_fitting: validate config->chan in check_valid() to
prevent OOB access into s_adc_cali_chan_compens compensation table
- adc_filter: make s_adc_filter_free idempotent on !UNIT_BINDED SoCs
to prevent double-free on repeated adc_del_continuous_iir_filter
- adc_cali_line_fitting(esp32): fix config && config typo to
config && ret_handle, preventing NULL-pointer dereference
2026-07-23 11:18:42 +08:00
Island
47bd7785b9
Merge branch 'feat/support_bluedroid_le_coc_and_eatt_v5.5' into 'release/v5.5'
...
feat(ble/bluedroid): Support bluedroid LE COC and EATT features (5.5)
See merge request espressif/esp-idf!50714
2026-07-23 10:06:52 +08:00
Chen Chen
1316bb658e
docs(i2c): clarify 7-bit address usage
...
Closes https://github.com/espressif/esp-idf/pull/18831
2026-07-23 09:13:41 +08:00
Jin Cheng
25c0ece748
change(bt/bluedroid): increased port low watermark of RFCOMM
...
When PORT_RX_BUF_LOW_WM is too low, RFCOMM replenishes credits only
after receiving a relatively large number of packets, which may cause
the peer to exhaust its credits and enter a stop-and-wait state.
Increase the low watermark to replenish credits more promptly and
reduce the likelihood of the peer stalling while waiting for additional
credits.
2026-07-23 08:09:20 +08:00
Jin Cheng
b7ccc6e9ed
fix(bt/bluedroid): fixed issues from AI review in GAP, SPP, HID, L2CAP and HCI
2026-07-23 07:50:26 +08:00
Marek Fiala
e56672a42a
test(tools): Added minimal supported cmake versions build system tests
...
Backport of efa75a9b60 to release/v5.5.
Adapted from the master version because of structural differences on
release/v5.5:
- The new jobs are added to .gitlab/ci/host-test.yml (where build-system
pytest jobs live on v5.5) instead of .gitlab/ci/build.yml.
- The minimum supported cmake version is 3.16.3 on v5.5
(cmake_minimum_required(VERSION 3.16) in tools/cmake/project.cmake),
so the new jobs test cmake@3.16 .3 instead of 3.22.1.
- The macOS template extraction from the original commit is omitted:
v5.5 already uses .brew-macos-settings for the macOS variables, so
the refactor would be redundant.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-22 15:27:24 +02:00
Jiang Jiang Jian
a5045d6952
Merge branch 'bugfix/add_en_rst_in_pvt_func_for_p4_backport_v5.5' into 'release/v5.5'
...
fix(pvt): add en reset in pvt func for p4 on release v5.5
See merge request espressif/esp-idf!50876
2026-07-22 20:54:59 +08:00
C.S.M
0bcccf3206
fix(jpeg): JPEG can encode and decode in encryption situation
2026-07-22 19:46:38 +08:00
morris
da4a2024f2
feat(jpeg): simplify decoder example and add pytest coverage
2026-07-22 18:35:12 +08:00
Wang Meng Yang
fa6c3e30fe
Merge branch 'bugfix/idf_ci_example_avrcp_v5.5' into 'release/v5.5'
...
fix(bt/example): Add log in the failure path for avrcp_ct_metadata example (v5.5)
See merge request espressif/esp-idf!51060
2026-07-22 16:05:22 +08:00
yangfeng
e7864669f7
fix(bt/example): Add log in the failure path for avrcp_ct_metadata example
2026-07-22 15:36:34 +08:00