Commit Graph

38070 Commits

Author SHA1 Message Date
muhaidong
33d39c304f fix(wifi): fix disconnect failure issue 2026-08-04 15:42:39 +08:00
Jiang Jiang Jian
bcce5b96c1 Merge branch 'fix/add_workaround_for_s31_beacon_timestamp_issue' into 'master'
fix(wifi): add workaround for s31 beacon timestamp issue

Closes WIFI-7526 and WIFIBUG-2039

See merge request espressif/esp-idf!51264
2026-08-04 14:48:08 +08:00
Rahul Tank
b5ced8374f Merge branch 'bugfix/add_nimble_cve' into 'master'
fix(nimble): Fixes for various NimBLE CVEs

See merge request espressif/esp-idf!51159
2026-08-04 12:13:47 +05:30
Zhang Wen Xu
bcda63636a Merge branch 'feat/ot_rx_sensitivity' into 'master'
feat(openthread): use the actual receive sensitivity for link quality evaluation

See merge request espressif/esp-idf!51309
2026-08-04 06:31:35 +00:00
Liu Linyan
af9ae1c0aa fix(ble_audio): Miscellaneous fixes for ISO & LE Audio (stage 2) 2026-08-04 14:07:10 +08:00
Island
94cce227dc Merge branch 'fix/ble_mesh_added_gatt_err_rsp' into 'master'
fix(ble_mesh): align GATTS read/write response handling with ATT

See merge request espressif/esp-idf!51382
2026-08-04 10:44:55 +08:00
Shu Chen
52790bf4f5 feat(openthread): use the actual receive sensitivity for link quality evaluation 2026-08-04 02:39:08 +00:00
Sudeep Mohanty
9c778c954c feat(build): support KASAN in the build system v2 (cmakev2)
Mirror Kernel Address Sanitizer support into cmakev2 so that
CONFIG_COMPILER_KASAN instruments application code the same way build system v1
does.
2026-08-03 17:31:17 +02:00
yinqingzhao
ab8568f547 fix(wifi): add workaround for s31 beacon timestamp issue 2026-08-03 21:48:27 +08:00
Rahul Tank
e64735cbf6 fix(nimble): Fixes for various NimBLE CVEs 2026-08-03 16:47:17 +05:30
Island
cf4564ffe4 Merge branch 'fix/fix_on_rf_regdma_trigger' into 'master'
Fix/fix on rf regdma trigger

Closes BLERP-2995

See merge request espressif/esp-idf!51272
2026-08-03 18:01:13 +08:00
Steven (Yang Minghui)
8588a299ac Merge branch 'feat/tsens_intr_priority_configurable' into 'master'
feat(tsens): support configurable interrupt priority

Closes IDF-7960

See merge request espressif/esp-idf!51413
2026-08-03 17:20:14 +08:00
Alexey Lapshin
aecc6eab60 fix(heap): avoid stack smash when heap tracing stack depth is 0
On RISC-V without frame pointers, STACK_DEPTH defaults to 0, so
alloced_by[] is empty. Writing callers[0] still ran and overwrote the
caller's cm.push saved ra, causing an illegal-instruction fault after
the first traced malloc (e.g. with HEAP_TRACING on ESP32-S31).
2026-08-03 16:07:54 +07:00
Mahavir Jain
628c1f8785 Merge branch 'fix/harden_esp_hw_support' into 'master'
fix(esp_hw_support): harden memprot and fix bugs

Closes SEC-234, SEC-235, SEC-331, SEC-334, SEC-332, and SEC-333

See merge request espressif/esp-idf!49919
2026-08-03 14:24:39 +05:30
Chen Chen
a0ecc0611a Merge branch 'fix/i2s_tdm_5slot_clock_test' into 'master'
fix(hal): prevent overflow in fractional clock division

See merge request espressif/esp-idf!51357
2026-08-03 15:14:41 +08:00
Steven (Yang Minghui)
cd8cea7e61 feat(tsens): support configurable interrupt priority 2026-08-03 15:12:58 +08:00
Alexey Lapshin
2c0ecc64fa fix(heap): preserve aligned allocation with KASAN
Account for the left redzone when aligning user pointers.
Add regression coverage for KASAN-enabled allocations.
2026-08-03 13:13:16 +07:00
Wan Lei
6d980d673f Merge branch 'contrib/github_pr_18898' into 'master'
fix(spi_master): avoid NULL memcpy when DMA buffer setup fails (GitHub PR)

Closes IDFGH-18048

See merge request espressif/esp-idf!51277
2026-08-03 11:43:18 +08:00
morris
ceec18c51e Merge branch 'fix/sdio_revert_intrstatus_alloc' into 'master'
fix(sdio): restore generic interrupt allocation

See merge request espressif/esp-idf!51389
2026-08-03 11:39:46 +08:00
luoxu
ed1f4de3a3 fix(ble_mesh): align GATTS read/write response handling with ATT
bt_mesh_bta_gatts_cb did not always answer ATT Read/Write Requests:
- READ: on a callback error it only logged a warning and sent nothing; a
  0-byte read (Read Blob at an offset equal to the value length) also sent
  nothing, although it is a successful empty read.
- WRITE: on a callback error it sent nothing, and a partial/zero write was
  treated as success.
- Both: when the handle was not found or the attribute had no read/write
  callback, the request was silently dropped.

An ATT Request must always be answered:

- READ: len >= 0 is success -> Read Response (a 0-byte read yields an empty
  value); len < 0 -> ATT Error Response carrying the callback's error code
  (-len, since BLE_MESH_GATT_ERR(x) == -x). The copy length is clamped to
  the source buffer size as a defensive bound. If the handle is unknown or
  the attribute has no read callback, respond with INVALID_HANDLE /
  READ_NOT_PERMITTED.
- WRITE: when need_rsp is set, always reply. len == write length -> Write
  Response; otherwise (negative ATT error, partial write, or 0) -> ATT
  Error Response (the negative code, or UNLIKELY for partial/0). If the
  handle is unknown or the attribute has no write callback, respond with
  INVALID_HANDLE / WRITE_NOT_PERMITTED. Write Without Response still sends
  no response.

A non-success status passed to BTA_GATTS_SendRsp is turned into an ATT
Error Response by the GATT layer (gatt_sr_process_app_rsp ->
gatt_send_error_rsp).
2026-08-03 11:13:28 +08:00
cjin
12474f80a7 fix(phy): add fe dependency when enable rf with regdma 2026-08-03 10:21:32 +08:00
cjin
6f5e9e7b8e fix(sleep): fix reject trigger when wifi is enabled 2026-08-03 10:21:32 +08:00
Island
5371ee669b Merge branch 'feat/support_pawr_connect_evt' into 'master'
feat(ble/bluedroid): Support PAWR connection event

See merge request espressif/esp-idf!50612
2026-08-03 10:16:58 +08:00
morris
71b4a4400e Merge branch 'bugfix/driver_security_fix' into 'master'
fix(drivers): harden bitscrambler against malformed inputs

Closes SEC-513, SEC-512, and SEC-511

See merge request espressif/esp-idf!50582
2026-08-03 10:14:41 +08:00
Mahavir Jain
fa44af6648 Merge branch 'contrib/github_pr_18872' into 'master'
feat(esp-tls): add opt-in TCP_NODELAY Kconfig (GitHub PR)

Closes IDFGH-18014

See merge request espressif/esp-idf!51014
2026-08-02 13:29:27 +05:30
Wang Meng Yang
c929644423 Merge branch 'bugfix/bredr_controller_issues_from_deep_review' into 'master'
fix(bt): Fixed memory-safety and DoS defects in BR/EDR controller on ESP32-S31

Closes BTQABR2023-853 and BTQABR2023-852

See merge request espressif/esp-idf!51299
2026-08-02 13:41:52 +08:00
Sudeep Mohanty
06963baf0b test(ulp): add custom linker host tests
Add build-only host tests for LP-core custom linker layouts supplied through the
LINKER option. Cover the positive paths (a full-replacement layout, a
multi-region layout with a fixed-address section, a run-from-HP-mem layout, and
memory protection) and the link-time and configure-time checks (reset-vector
placement, sizing, shared-memory overrun, the MEMPROT RX/RW boundary, a missing
reset vector, and a missing LINKER script).
2026-07-31 14:50:09 +02:00
Sudeep Mohanty
7c3b82562a feat(ulp): support custom LP-core linker layouts via the LINKER_LAYOUT option 2026-07-31 14:48:52 +02:00
Sudeep Mohanty
869f2f355f refactor(ulp): assemble LP-core linker scripts from base, layout and checks 2026-07-31 14:48:52 +02:00
Gao Xu
95e1386d55 Merge branch 'feat/isp_dpc_support' into 'master'
feat(isp): support isp dpc dead pixel correction

Closes IDF-13932

See merge request espressif/esp-idf!45572
2026-07-31 18:00:49 +08:00
Sajia
d9ba2da026 fix(wifi): Prevent double free in owe failure path 2026-07-31 12:33:11 +05:30
Mahavir Jain
4090eeeea4 Merge branch 'fix/esp_http_server-ws-frame-header-strictness' into 'master'
Fix(esp http server): ws frame header strictness

Closes SEC-036 and SEC-230

See merge request espressif/esp-idf!48905
2026-07-31 11:56:15 +05:30
Jiang Jiang Jian
3808652972 Merge branch 'fix/fix_esp32s31_secureboot_fastwake' into 'master'
fix(esp_system): support rom secure boot fast wake feature for esp32s31

Closes PM-832

See merge request espressif/esp-idf!51265
2026-07-31 14:12:25 +08:00
Martin Vychodil
e85b99fc49 Merge branch 'bugfix/idfci-12815-12072-timeout' into 'master'
fix(storage): mark storage pytest apps flaky in CI

Closes IDFCI-12815, IDFCI-12072, IDFCI-8841, IDFCI-12712, IDFCI-13218, IDFCI-12926, and IDFCI-12875

See merge request espressif/esp-idf!51018
2026-07-31 14:02:49 +08:00
Espressif BOT
8671276304 change(mbedtls/crt_bundle): Update esp_crt_bundle certificates 2026-07-31 10:09:00 +05:30
Chen Chen
0c524c6a7c fix(sdio): restore generic interrupt allocation
Restore the previous SDIO slave interrupt allocation path to avoid the
host-to-slave receive regression exposed by interrupt-status allocation.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-31 11:16:44 +08:00
Island
262ab40a5b Merge branch 'fix/fix_some_ble_sleep_issues' into 'master'
Fix/fix some ble sleep issues

Closes BLERP-3003

See merge request espressif/esp-idf!51304
2026-07-31 11:09:49 +08:00
He Binglin
dce537e00e Merge branch 'feat/esp_idf_h4_retention_clk_icg' into 'master'
feat(esp_hw_support): refactor PMU sleep icg and support retention ICG

See merge request espressif/esp-idf!48915
2026-07-31 10:35:19 +08:00
gaoxu
30e3df1c7c feat(isp): support ISP DPC, add tests and use it in multi pipeline example 2026-07-31 10:22:41 +08:00
Renz Christian Bagaporo
7054ec851c Merge branch 'feat/cmakev2_ulp_legacy_shim' into 'master'
feat(ulp): build all legacy ULP projects through CMakev2

See merge request espressif/esp-idf!50143
2026-07-31 07:10:43 +08:00
Euripedes Rocha
bcfeff1c31 Merge branch 'fix/sec-1129-l2tap-close-rollback' into 'master'
fix(esp_netif): roll back l2tap_close on semaphore/task create failure (SEC-1129)

Closes SEC-1129

See merge request espressif/esp-idf!50740
2026-07-30 16:39:10 +02:00
zhiweijian
68dff5d798 fix(ble/bluedroid): Build LE event mask from host feature macros 2026-07-30 21:00:37 +08:00
zhiweijian
7da7fa42ac feat(ble/bluedroid): Support PAWR connection event 2026-07-30 21:00:26 +08:00
Rahul Tank
f992ff36f6 Merge branch 'bugfix/fix_pawr_conn_event' into 'master'
fix(nimble):  Deliver PAwR peripheral CONNECT via sync callback

Closes BLERP-2982

See merge request espressif/esp-idf!51042
2026-07-30 17:37:12 +05:30
Euripedes Rocha Filho
909911ec67 fix(esp_netif): Avoid socket to stay in closing state in l2tap closing 2026-07-30 12:33:41 +02:00
Jiang Jiang Jian
1ef3966018 Merge branch 'fix/regdma_work_timeout' into 'master'
Workaround: add a write node to avoid the APB access timeout during REGDMA operations.

See merge request espressif/esp-idf!51146
2026-07-30 17:46:49 +08:00
Chen Chen
4f9e257c77 fix(hal): prevent overflow in fractional clock division
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-30 17:12:20 +08:00
Steven Yang
f54adcfa93 fix(mcpwm): stabilize mcpwm_timer_various_clk_src test
Use count-up mode and account for counter wrap when measuring timer
resolution. Extend the stop wait to cover the full timer period.
2026-07-30 17:07:23 +08:00
sonika.rathi
fe328c0ac7 fix(storage): mark storage pytest apps flaky in CI 2026-07-30 10:55:50 +02:00
Martin Vychodil
36622226e3 Merge branch 'contrib/github_pr_18815' into 'master'
Fix minor issues in sd (GitHub PR)

Closes IDFGH-17946

See merge request espressif/esp-idf!51148
2026-07-30 16:44:30 +08:00