morris
4dff71cbdb
Merge branch 'fix/sdmmc_cmd_err_switch_case_handling_v5.5' into 'release/v5.5'
...
fix(sdmmc): sdmmc_cmd.c fixed error handling in certain if and switch statements (v5.5)
See merge request espressif/esp-idf!50684
2026-07-21 10:34:59 +08:00
morris
30ecb1dead
Merge branch 'feat/update_pmu_pau_reg_description_v5.5' into 'release/v5.5'
...
feat(soc): update esp32c61 PMU & PAU reg header descriptions (v5.5)
See merge request espressif/esp-idf!50433
2026-07-21 10:29:29 +08:00
Island
ac63a9275a
Merge branch 'bugfix/fix_bluedroid_rpa_whitelist_conn_v5.5' into 'release/v5.5'
...
Fix connection failure when using RPA with whitelist filtering(ESP32) (5.5)
See merge request espressif/esp-idf!50090
2026-07-20 21:39:30 +08:00
Island
0196f65f01
Merge branch 'bugfix/fix_bluedroid_static_random_conn_rpa_v5.5' into 'release/v5.5'
...
fix(ble/bluedroid): skip identity conversion for static random direct connect (5.5)
See merge request espressif/esp-idf!50084
2026-07-20 21:39:24 +08:00
morris
4b1abf6f3b
Merge branch 'fix/fix_image_header_check_v5.5' into 'release/v5.5'
...
image header: fixed image header segment count check (v5.5)
See merge request espressif/esp-idf!50936
2026-07-20 15:08:29 +08:00
Island
12ac2416be
Merge branch 'feat/add_ble_core_6x_feature_for_bluedroid_v5.5' into 'release/v5.5'
...
Feat/add ble core 6x feature for bluedroid (5.5)
See merge request espressif/esp-idf!50052
2026-07-20 15:05:36 +08:00
Wang Meng Yang
ee9e08ddd9
Merge branch 'bugfix/bug_bounty_av_v5.5' into 'release/v5.5'
...
fix(bt/bluedroid): Fix bug bounty issues about A/V from NVIDIA (v5.5)
See merge request espressif/esp-idf!50478
2026-07-20 14:56:39 +08:00
Wang Meng Yang
839df7e697
Merge branch 'bugfix/avrc_ca_attr_id_check_v5.5' into 'release/v5.5'
...
fix(bt): Fix the validation of AVRCP metadata attr_id in handle_rc_attributes_rsp (v5.5)
See merge request espressif/esp-idf!50551
2026-07-20 14:56:06 +08:00
Marius Vikhammer
4fce6e8ddb
Merge branch 'fix/lp_periph_init_fail_with_cpp_v5.5' into 'release/v5.5'
...
fix(ulp): make LP peripheral default config macros C++ compatible (v5.5)
See merge request espressif/esp-idf!50212
2026-07-20 13:54:23 +08:00
Marius Vikhammer
762615330d
Merge branch 'refactor/lp_periph_io_for_lp_core_v5.5' into 'release/v5.5'
...
refactor(ulp): use lp_gpio_matrix_* for LP core peripheral IO on matrix targets (v5.5)
See merge request espressif/esp-idf!49096
2026-07-20 13:51:24 +08:00
Island
aeaa0849be
Merge branch 'feat/spi_log_qa_frame_check_v5.5' into 'release/v5.5'
...
feat(ble_log): add FINAL_STAT session-end frame and flush hook before controller restart (5.5)
See merge request espressif/esp-idf!49957
2026-07-20 11:04:19 +08:00
morris
8869db20ce
Merge branch 'feature/dma2d_ppa_sleep_retention_support_v5.5' into 'release/v5.5'
...
feat(ppa): add sleep retention support for DMA2D and PPA (v5.5)
See merge request espressif/esp-idf!50354
2026-07-20 10:55:54 +08:00
Armando (Dou Yiwen)
3abee43d90
fix: fixed image header segment count check
...
Signed-off-by: Armando (Dou Yiwen) <douyiwen@espressif.com >
2026-07-20 10:24:27 +08:00
Wang Meng Yang
39a9184e32
Merge branch 'bugfix/ai_review_hfp_v5.5' into 'release/v5.5'
...
fix(bt): Fix the critical issues related to HFP from AI review report (v5.5)
See merge request espressif/esp-idf!50008
2026-07-20 09:08:03 +08:00
Wang Meng Yang
31e6b62389
Merge branch 'bugfix/ai_review_avrcp_v5.5' into 'release/v5.5'
...
fix(bt): Fix the critical and high issues related to AVRCP from AI review report (v5.5)
See merge request espressif/esp-idf!50021
2026-07-20 09:06:53 +08:00
Wang Meng Yang
eae640068e
Merge branch 'bugfix/ai_review_btu_common_v5.5' into 'release/v5.5'
...
fix: Fix the critical issues of btu and bt_common from AI review report (v5.5)
See merge request espressif/esp-idf!50123
2026-07-20 09:05:33 +08:00
Wang Meng Yang
071970e478
Merge branch 'bugfix/smp_sec_flags_v5.5' into 'release/v5.5'
...
fix(bt/bluedroid): fixed several security issues from NVIDIA (v5.5)
See merge request espressif/esp-idf!50567
2026-07-19 13:16:19 +08:00
Wang Meng Yang
df95e83bfa
Merge branch 'bugfix/bbp_issues_v5.5' into 'release/v5.5'
...
Bugfix/bbp issues v5.5
See merge request espressif/esp-idf!50190
2026-07-19 12:46:06 +08:00
Wang Meng Yang
59b5298819
Merge branch 'bugfix/fix_bredr_inq_crash_v5.5' into 'release/v5.5'
...
fix(bt/bluedroid): fix crash during bredr inquiry when zero-addr device is found (v5.5)
See merge request espressif/esp-idf!50855
2026-07-19 10:22:43 +08:00
yangfeng
b7d0ef96a7
fix(bt/bluedroid): Fix unchecked p_ctrl_cback and p_msg_cback in AVRC
...
Closes SEC-1186
2026-07-19 10:10:59 +08:00
yangfeng
31d51adf4f
fix(bt/bluedroid): Fix missing NULL check on p_cfg in AVDT_ReconfigReq
...
Closes SEC-1187
2026-07-19 10:10:59 +08:00
yangfeng
b195d90679
fix(bt): Fix the validation of AVRCP metadata attr_id in handle_rc_attributes_rsp
2026-07-19 10:08:59 +08:00
morris
21f3b71cbb
Merge branch 'feat/i2s_duplex_update_v5.5' into 'release/v5.5'
...
feat(i2s): allow full duplex mode in less strict condition (v5.5)
See merge request espressif/esp-idf!50867
2026-07-18 15:57:50 +08:00
morris
16ceaa002b
Merge branch 'bugfix/dma2d_dequeue_mechanism_v5.5' into 'release/v5.5'
...
fix(dma2d): add a dequeue mechanism for dma2d driver (v5.5)
See merge request espressif/esp-idf!50515
2026-07-18 15:55:39 +08:00
morris
26654f5a76
Merge branch 'bugfix/uart_sw_flow_ctrl_xoff_char_v5.5' into 'release/v5.5'
...
fix(uart): fix uart sw flow ctrl XOFF char write to wrong reg on ESP32C6 (v5.5)
See merge request espressif/esp-idf!50525
2026-07-18 15:54:51 +08:00
morris
502fb705a2
Merge branch 'fix/twai_ci_job_pollution_v5.5' into 'release/v5.5'
...
fix(ci): twai test close board to fixed ci jobs pullotion (v5.5)
See merge request espressif/esp-idf!49921
2026-07-18 15:51:55 +08:00
morris
15558ba694
Merge branch 'fix/twaifd_assert_fail_v5.5' into 'release/v5.5'
...
fix(driver_twai): fix driver assert fail when send frame (v5.5)
See merge request espressif/esp-idf!49942
2026-07-18 15:46:42 +08:00
morris
97d060ca1c
Merge branch 'fix/dac_continuous_flag_v5.5' into 'release/v5.5'
...
fix(dac): dac_continuous set is_cyclic flag in async mode (v5.5)
See merge request espressif/esp-idf!50540
2026-07-18 00:22:11 +08:00
morris
b75dd8d0b1
Merge branch 'fix/touch_read_check_v5.5' into 'release/v5.5'
...
fix(touch): fix hw_ver1 read data check (v5.5)
See merge request espressif/esp-idf!50640
2026-07-18 00:22:01 +08:00
morris
99734d45fe
Merge branch 'fix/uhci_rx_fsm_v5.5' into 'release/v5.5'
...
fix(uhci): rx fsm race condition (v5.5)
See merge request espressif/esp-idf!50579
2026-07-18 00:21:44 +08:00
morris
cc3224826a
Merge branch 'fix/fix_rgb_frame_buffer_alignment_v5.5' into 'release/v5.5'
...
fix(gdma): fix buffer alignment when psram ecc enabled (v5.5)
See merge request espressif/esp-idf!49998
2026-07-18 00:16:34 +08:00
Chen Chen
1d3952904d
refactor(i2s): make the slot_bit_width checks unique
2026-07-17 14:40:10 +08:00
Chen Chen
ad8d821197
feat(i2s): allow full duplex mode in less strict condition
2026-07-17 14:39:22 +08:00
linruihao
817d132ed0
fix(bt/bluedroid): fix crash during bredr inquiry when zero-addr device is found
2026-07-17 10:39:24 +08:00
morris
b774170ff4
change(version): Update version to 5.5.5
2026-07-16 17:47:07 +08:00
morris
78d6b6342e
Merge branch 'refactor/jpeg_encoder_example_v5.5' into 'release/v5.5'
...
fix(jpeg): broken link in the example readme (v5.5)
See merge request espressif/esp-idf!50141
2026-07-16 17:45:49 +08:00
Jiang Jiang Jian
cc5a3fbcb5
Merge branch 'feat/psram_enc_exempt_v5.5' into 'release/v5.5'
...
feat(esp_psram): add option to carve unencrypted PSRAM region (v5.5)
See merge request espressif/esp-idf!49931
2026-07-16 17:04:28 +08:00
zhanghaipeng
7f60576477
fix(ble/bluedroid): match read-multiple responses by handle
...
Read Multiple may mix stack auto-responses with app async responses,
so multi_rsp_q order can differ from the request handle order. Look up
each response by handle (with occurrence for duplicates) instead of
walking the queue by index, and treat opcode-only buffers as empty.
2026-07-15 15:48:46 +08:00
zhanghaipeng
e76bd7359c
fix(ble/bluedroid): match read-multiple-var responses by handle
2026-07-15 15:48:46 +08:00
zhanghaipeng
11bdcf8294
fix(ble/bluedroid): use sr_cmd status for GATT server error rsp
...
When sending an ATT error response after a failed server operation,
use p_tcb->sr_cmd.status instead of the last app callback status so
invalid error code 0x00 is not sent to the peer.
2026-07-15 15:48:46 +08:00
zhanghaipeng
0e6508a8fc
fix(ble/bluedroid): reject invalid ATT error code 0x00 on client
...
Map received error reason 0x00 to GATT_UNKNOWN_ERROR so the client
does not report GATT_SUCCESS with zero-length data on malformed errors.
2026-07-15 15:48:46 +08:00
zhanghaipeng
f6f289689a
fix(ble/bluedroid): preserve ext adv state when set params fails
...
Only update extend_adv_cb after HCI Set Extended Advertising
Parameters succeeds, so a failed update does not corrupt cached
legacy_pdu and related fields used by adv data validation.
2026-07-15 15:48:46 +08:00
zhanghaipeng
1dffcb5560
fix(ble/bluedroid): downgrade numeric comparison log to warning
2026-07-15 15:48:46 +08:00
Zhang Hai Peng
01d1dd63bf
fix(ble/bluedroid): preserve HCI status on BLE 4.2 GAP failures
...
Return BTM_HCI_ERROR | hci_status from legacy BLE 4.2 GAP HCI command
paths instead of mapping failures to BTM_ILLEGAL_VALUE or
BTM_NO_RESOURCES. Add btm_ble_status_from_hci() helper and propagate
real status through scan start/stop completion callbacks.
(cherry picked from commit 47dd785a18 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2026-07-15 15:48:46 +08:00
Zhang Hai Peng
f81903c050
feat(ble/bluedroid): Optimize Bluedroid memory usage
...
- Delete unused device records (~356B each)
(cherry picked from commit 7d1c0e9a32 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2026-07-15 15:48:46 +08:00
Zhang Hai Peng
ff703331ef
fix(ble/bluedroid): cap Read By Type response length at ATT maximum
...
Read By Type Response Length is one octet (max 255). When MTU was
large enough to return a long characteristic value in one pair, the
server wrote (UINT8)(value_len + 2) and overflowed (e.g. 513 -> 1),
so the client rejected the PDU as GATT_INVALID_PDU (0x04).
Cap server value to 253 bytes per pair, clamp the length byte, and
continue long reads via Read Blob when the capped size is returned.
(cherry picked from commit 97905afccc )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2026-07-15 15:48:46 +08:00
Zhang Hai Peng
9da5a3a312
fix(ble/bluedroid): Fixed potential double Execute Write Response
...
(cherry picked from commit 0a93ccd3b3 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2026-07-15 15:48:46 +08:00
Zhang Hai Peng
b02f53af64
fix(ble/bluedroid): preserve ATT error on prepare write completion
...
Skip prepare-write echo validation when the GATT stack reports a
non-success status. ATT Error Response carries no prepare-write echo
body (rsp_len=0), so the check incorrectly overwrote errors such as
GATT_INSUF_AUTHENTICATION (0x05) with GATT_INVALID_PDU (0x04).
(cherry picked from commit d5b9350d0f )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2026-07-15 15:48:46 +08:00
Zhang Hai Peng
bf03277906
fix(ble/bluedroid): unblock sync HCI cmd on Command Status error
...
Release the BLE sync semaphore and record HCI status when a
synchronous command is rejected via Command Status, since no
Command Complete event follows.
(cherry picked from commit 29ae92f4ef )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2026-07-15 15:48:46 +08:00
Zhang Hai Peng
8be2d0c2ef
fix(ble/bluedroid): set REQ_WAITING before GATTC service-change rediscovery
...
When service change cancels in-progress discovery, bta_gattc_disc_cmpl()
re-triggers discovery without marking auto_update as REQ_WAITING. If a
client command is queued in p_q_cmd, bta_gattc_start_discover() refuses
to restart and the command is never dispatched.
(cherry picked from commit 13926bb9bc )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2026-07-15 15:48:46 +08:00