Commit Graph

33912 Commits

Author SHA1 Message Date
cjin
4d0df8eef3 change(ble): [AUTO_MR] Update lib_esp32c5 to 18aafc6f 2026-07-29 08:36:20 +08:00
cjin
3bf8c8d7d5 change(ble): [AUTO_MR] Update lib_esp32h2 to 18aafc6f 2026-07-29 08:36:20 +08:00
morris
1a1a5aa651 Merge branch 'isp_dma_one_frame_v5.5' into 'release/v5.5'
feat(isp): support isp dma input and add example (v5.5)

See merge request espressif/esp-idf!50756
2026-07-28 17:17:58 +08:00
morris
fc407c55e8 Merge branch 'fix/uhci_rx_size_check_v5.5' into 'release/v5.5'
fix(uhci): rx fsm race condition and buffer size check (v5.5)

See merge request espressif/esp-idf!51230
2026-07-28 16:33:07 +08:00
morris
e9f878e3aa refactor(isp): read DMA input directly from flash
Avoid the PSRAM copy for unencrypted flash
2026-07-28 14:37:45 +08:00
gaoxu
2a02c7e55c feat(isp): support isp dma input and add example
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-28 14:37:45 +08:00
Hu Rui
1bb727c66e fix(uhci): rx fsm race condition and buffer size check
Closes https://github.com/espressif/esp-idf/issues/18819
Closes https://github.com/espressif/esp-idf/issues/18820
2026-07-28 11:29:05 +08:00
Fu Hanxi
d359f42f6d ci: apply idf-ci 1.x
(cherry picked from commit 21d772a24da646bfb672418cf056199cad9b17e4)
2026-07-27 10:52:35 +02:00
Euripedes Rocha
6a46ffa617 Merge branch 'feat/eth_test_component_v5.5' into 'release/v5.5'
feat(esp_eth): updated test_apps to use Ethernet test component (v5.5)

See merge request espressif/esp-idf!49660
2026-07-27 10:35:47 +02:00
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
Shreeyash Bhakare
87f48471c5 fix(nimble): Added security related fixes 2026-07-25 08:56:22 +05:30
Astha Verma
d2708d151d fix(nimble): Restore throughput after switching from LE Coded PHY 2026-07-24 18:04:48 +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
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
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
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
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
Astha Verma
06acba2443 fix(nimble): Handle Read Remote Supported Features failure correctly 2026-07-22 12:16:47 +05:30