Commit Graph
45616 Commits
Author SHA1 Message Date
Island 025b2f0984 Merge branch 'feat/support_bluedroid_le_coc_and_eatt_v5.4' into 'release/v5.4'
feat(ble/bluedroid): Support bluedroid LE COC and EATT features (5.4)

See merge request espressif/esp-idf!50713
2026-07-15 14:02:53 +08:00
morris 8f81763614 Merge branch 'bugfix/uart_sw_flow_ctrl_xoff_char_v5.4' into 'release/v5.4'
fix(uart): fix uart sw flow ctrl XOFF char write to wrong reg on ESP32C6 (v5.4)

See merge request espressif/esp-idf!50526
2026-07-15 12:21:08 +08:00
morris 5e55d7ad54 Merge branch 'bugfix/dma2d_dequeue_mechanism_v5.4' into 'release/v5.4'
fix(dma2d): add a dequeue mechanism for dma2d driver (v5.4)

See merge request espressif/esp-idf!50516
2026-07-15 12:01:58 +08:00
morris d0ffa270cf Merge branch 'fix/fix_i2c_olde_example_hang_v5.4' into 'release/v5.4'
fix(i2c_oled): fix example hang when i2c transaction fails (v5.4)

See merge request espressif/esp-idf!50383
2026-07-15 11:53:16 +08:00
morris 2b8f6d4c84 Merge branch 'docs/i2s_ws_setting_v5.4' into 'release/v5.4'
docs(i2s): clarify WS width setting for standard mode (v5.4)

See merge request espressif/esp-idf!50668
2026-07-15 11:52:41 +08:00
Zhi Wei Jian 85c1aee8fb feat(ble/bluedroid): Add bluedroid dual identify server example
(cherry picked from commit 1de0d2fef7)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-07-14 14:57:33 +08:00
Zhi Wei Jian 0532d07a86 feat(ble/bluedroid): Support bluedroid dual identity
(cherry picked from commit 2358786647)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-07-14 14:22:39 +08:00
Rahul Tank 3f99c8cbf2 Merge branch 'bugfix/fix_bond_store_overflow_v5.4' into 'release/v5.4'
fix(nimble): Fix bond-store overflow when IRK is enabled (v5.4)

See merge request espressif/esp-idf!50626
2026-07-14 11:17:57 +05:30
Zhi Wei Jian 7a80e9b127 fix(ble/bluedroid): use BOOLEAN for BLE HCI command builders
(cherry picked from commit abbf001120)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-07-14 12:04:10 +08:00
Zhi Wei Jian 00960a5dac fix(ble/bluedroid): clean up LE CoC connect on CCB alloc failure
(cherry picked from commit 4fd1ebb4a9)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-07-14 12:04:09 +08:00
Zhi Wei Jian 3deee8d3e2 docs(ble/bluedroid): note ISO BIG HCI alloc failure not checked
(cherry picked from commit 34b59d30ae)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-07-14 12:04:08 +08:00
Zhi Wei Jian e2735b1bb5 fix(ble/bluedroid): fix direct-connect cleanup and adv bounds
(cherry picked from commit 82e71c1767)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-07-14 12:04:08 +08:00
Zhi Wei Jian 1330f558e1 fix(ble/bluedroid): validate BLE confirm/OOB and sec-check device
(cherry picked from commit 93ab11d564)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-07-14 12:04:07 +08:00
Zhi Wei Jian fab68dc82f fix(ble/bluedroid): validate SMP pair-fail reason and OOB device
(cherry picked from commit 98efe02385)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-07-14 12:04:07 +08:00
Zhi Wei Jian d2f755b735 fix(ble/bluedroid): route ATT indication-conf timeout separately
(cherry picked from commit 6c3267ee84)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-07-14 12:04:07 +08:00
Zhi Wei Jian 12b6beff43 fix(ble/bluedroid): validate ATT PDU sizes
(cherry picked from commit bb00b9817d)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-07-14 12:04:06 +08:00
Zhi Wei Jian 7637a46169 fix(ble/bluedroid): re-lookup GATT TCB after enc-complete callback
(cherry picked from commit 37562af0ea)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-07-14 12:04:06 +08:00
Zhi Wei Jian b7fde3a96c fix(ble/bluedroid): fix GATT long read and Service Changed CCC
(cherry picked from commit 4ce692ac0c)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-07-14 12:04:05 +08:00
Zhi Wei Jian 0b515686dd fix(ble/bluedroid): validate GATT client discovery handles
(cherry picked from commit ac35ae6f2d)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-07-14 12:04:05 +08:00
Zhi Wei Jian b0e64dbbd5 fix(ble/bluedroid): cap Read By Type length and free failed service decl
(cherry picked from commit 27ff0cf8c7)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-07-14 12:04:05 +08:00
Zhi Wei Jian af043ccffa fix(ble/bluedroid): guard GATT database hash and serialization
(cherry picked from commit 995c1508e8)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-07-14 12:04:04 +08:00
Zhi Wei Jian c48e5a30e9 fix(ble/bluedroid): fix GATT server busy errors and sr_cmd handling
(cherry picked from commit f86739b03d)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-07-14 12:04:04 +08:00
Zhi Wei Jian e7f6bf115e fix(ble/bluedroid): fix GATT teardown and service-change flow
(cherry picked from commit 0645ba469d)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-07-14 12:04:04 +08:00
Zhi Wei Jian a9c2816caf fix(ble/bluedroid): fix GATT service lifecycle leaks
(cherry picked from commit ac93d94958)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-07-14 12:04:03 +08:00
Zhi Wei Jian de2578d083 fix(ble/bluedroid): add GATT resource-cleanup helpers
(cherry picked from commit b83327f3ca)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-07-14 12:03:58 +08:00
Zhi Wei Jian 95bd892dba feat(ble/bluedroid): Support bluedroid LE COC and EATT features
(cherry picked from commit 83f0831c53)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-07-14 11:56:02 +08:00
Island 58361a6b08 Merge branch 'ble-log-console-migration-notice_v5.4' into 'release/v5.4'
Ble log console repository migration (5.4)

See merge request espressif/esp-idf!50605
2026-07-14 10:20:34 +08:00
Island 785419057e Merge branch 'fix/ble_mesh_fixed_issues_v5.4' into 'release/v5.4'
Resolve reported BLE mesh stack issues (5.4)

See merge request espressif/esp-idf!50405
2026-07-14 10:16:47 +08:00
Euripedes Rocha 34f1b78b42 Merge branch 'fix/sec-347-hostname-null-check_v5.4' into 'release/v5.4'
fix(esp_netif): reject NULL hostname in esp_netif_set_hostname_api (SEC_347) (v5.4)

See merge request espressif/esp-idf!50592
2026-07-13 15:43:56 +02:00
Chen Chen 02cb5729de docs(i2s): add note for ws setting under DEFAULT config
Closes https://github.com/espressif/esp-idf/issues/18744
2026-07-13 15:23:36 +08:00
Chen Jichang 9325e3d267 fix(i2c_oled): fix example hang when i2c transaction fails
Closes https://github.com/espressif/esp-idf/issues/18713
2026-07-10 17:56:05 +08:00
Rahul Tank 0f6119a107 fix(nimble): Fix bond-store overflow when IRK is enabled 2026-07-10 13:29:18 +05:30
guozifan b8bd171c9e remove(ble): migrate BLE Log Console out of ESP-IDF 2026-07-10 15:42:20 +08:00
Jiang Jiang Jian be916bf9e7 Merge branch 'bugfix/drop_broadcast_frag_frame_v5.4' into 'release/v5.4'
fix(esp_wifi): Drop broadcast fragmented frames (v5.4)

See merge request espressif/esp-idf!50461
2026-07-10 12:31:01 +08:00
Abanoub Salah f12a7d627a uart: fix threshold configuration loss when interrupts are disabled 2026-07-10 11:37:44 +08:00
Song Ruo Jing 501471bf79 fix(stdio): add console input ability when selects ESP_CONSOLE_UART_CUSTOM_NUM_1 2026-07-10 11:37:44 +08:00
Song Ruo Jing dedb603390 fix(uart): fix uart sw flow ctrl XOFF char write to wrong reg on ESP32C6
Add software flow control test case

Introduced in e6ef4d1791

Closes https://github.com/espressif/esp-idf/issues/18779
2026-07-10 11:37:14 +08:00
morris b3e387f7e3 Merge branch 'fix/uhci_rx_fsm_v5.4' into 'release/v5.4'
fix(uhci): rx fsm race condition (v5.4)

See merge request espressif/esp-idf!50580
2026-07-10 11:23:11 +08:00
Jiang Jiang Jian f77911e82e Merge branch 'change/change_regdma_malloc_caps_v5.4' into 'release/v5.4'
change(esp_hw_support): change regdma malloc caps to allow getting memory in the DMA pool (v5.4)

See merge request espressif/esp-idf!50259
2026-07-10 10:28:57 +08:00
Euripedes Rocha Filho 36635ed643 fix(esp_netif): reject NULL hostname in esp_netif_set_hostname_api
esp_netif_set_hostname_api() dereferenced hostname via strlen() without
checking it for NULL first, causing a NULL pointer dereference.
2026-07-09 16:07:51 +02:00
Hu Rui f681d8976e fix(uhci): rx fsm race condition
Closes https://github.com/espressif/esp-idf/issues/18746
2026-07-09 18:58:12 +08:00
Zhang Wen Xu 4068c4e7d0 Merge branch 'feat/update_openthread_submodule_and_br_lib_20260624_v5.4' into 'release/v5.4'
feat(openthread): update openthread submodule (v5.4)

See merge request espressif/esp-idf!50520
2026-07-09 10:17:03 +00:00
Mahavir Jain 4393e8496b Merge branch 'change/sbom_exclude_fixed_cves_v5.4' into 'release/v5.4'
change(sbom): exclude ESP-IDF CVEs already fixed on release/v5.4 (v5.4)

See merge request espressif/esp-idf!50572
2026-07-09 15:29:12 +05:30
Frantisek Hrbata 6e2f4b2c89 change(sbom): exclude ESP-IDF CVEs already fixed on release/v5.4
esp-idf-sbom reports four ESP-IDF CVEs against this branch because NVD
pins them to 5.4.4 -- the version release/v5.4 still reports until 5.4.5
is released -- even though the fixes are already merged here:

  - CVE-2026-45160  DHCP server OOB read (2bf4dd1200)
  - CVE-2026-45541  esp_http_server WebSocket NULL dereference (37508ab911)
  - CVE-2026-45542  protocomm SRP6a heap overflow (f5d24a7e91)
  - CVE-2026-46532  BlueDroid AVRCP vendor-command parser OOB read (56053c4d1f)

esp-idf-sbom merges this repository-local excluded_cves.yaml into its
exclusion list when scanning the tree, so these CVEs are reported as
excluded for this branch while the released v5.4.4 tag, which predates
this file, is still reported. Once version.cmake is bumped to 5.4.5 the
entries become no-ops (NVD does not list 5.4.5) and can be removed.

Compared to the release/v5.5 file this backport was adapted from, the
two ESP-TEE CVEs do not apply (NVD pins them to 5.5.4 and 6.0 only) and
CVE-2026-46532 is added (fixed in the released v5.5.4, but only after
v5.4.4 on this branch).

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2026-07-09 11:51:33 +02:00
wuzhenghui 265e9d2a54 change(heap): reserve DMA pool with low priority MALLOC_CAP_DEFAULT caps 2026-07-09 17:34:32 +08:00
morris 853990fb6e Merge branch 'fix/dac_continuous_flag_v5.4' into 'release/v5.4'
fix(dac): dac_continuous set is_cyclic flag in async mode (v5.4)

See merge request espressif/esp-idf!50541
2026-07-09 16:25:15 +08:00
Hu Rui 58af065f82 fix(dac): dac_continuous set is_cyclic flag in async mode 2026-07-09 11:21:03 +08:00
Song Ruo Jing eb9deb150c fix(dma2d): fix non-usable DMA2D_CSC_TX_SCRAMBLE option 2026-07-08 23:13:35 +08:00
Song Ruo JingandCursor 8b0a8c9563 fix(dma2d): fix race with dma2d_force_end and ISR
free_up_channels can only be called once for a started transaction.
Double free will undesirely stop the next picked 2D-DMA transaction on the same channel.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-08 23:13:35 +08:00
Song Ruo Jing b93ae28fdd fix(dma2d): add a dequeue mechanism for dma2d driver
JPEG driver should be able to either dequeue a pending transaction from
a 2D-DMA pool or force end a processing transaction.
2026-07-08 21:07:01 +08:00