Commit Graph

54621 Commits

Author SHA1 Message Date
Zhang Shuxian
dfd5ea30b0 docs: Clarify that ESP32-P4 does not have Wi-Fi or Bluetooth in the introduction 2026-08-04 10:16:35 +08:00
Sudeep Mohanty
5e7c5ed2cb fix(buildv2): include component-set LINK_OPTIONS as a GENERATOR_EXPRESSION
idf_build_library() captured the LINK_OPTIONS build property before including
the components, so a link option a component appended while it was processed was
dropped from the executable link. Read the property as a generator expression so
these options are included.
2026-08-03 17:31:18 +02: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
Sudeep Mohanty
cc799dbcc7 test(kasan): re-enable kasan_test under build system v2 2026-08-03 17:29:00 +02:00
yinqingzhao
ab8568f547 fix(wifi): add workaround for s31 beacon timestamp issue 2026-08-03 21:48:27 +08:00
Mahavir Jain
6d613d01ac docs(security): update vulnerabilities guide with recently published advisories 2026-08-03 18:04:17 +05:30
morris
08e0d30a74 Merge branch 'feat/uhci_ctn_doc_exmaple' into 'master'
feat(uhci): Add uhci_continuous api for example and doc

See merge request espressif/esp-idf!51363
2026-08-03 19:27:42 +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
Roland Dobai
56fea7d784 Merge branch 'docs/idf_sbom_multi_format' into 'master'
docs: Update the SBOM guide for multiple output formats

See merge request espressif/esp-idf!50299
2026-08-03 11:56:44 +02:00
Roland Dobai
b1d066dbd4 Merge branch 'contrib/github_pr_18871' into 'master'
feat(tools): add -j/--jobs option to idf.py (GitHub PR)

Closes IDFGH-18013

See merge request espressif/esp-idf!51409
2026-08-03 11:25:52 +02: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
Radek Tandler
7277c38d65 Merge branch 'docs/nvs_fragmentation_overhead' into 'master'
Improved description of partition space consumption by data types supported by the NVS

Closes DOC-15331

See merge request espressif/esp-idf!49286
2026-08-03 11:15:39 +02: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
Roland Dobai
2896069edf fix(pre-commit): stop branch-name hooks from failing on master
Closes https://github.com/espressif/esp-idf/issues/18910
2026-08-03 08:59:19 +02: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
Zhang Shuxian
f9ba81e396 docs: Update CN translation for nvs_flash.rst 2026-08-03 11:39:48 +08:00
radek.tandler
c6c0734a7b docs(nvs_flash): improved example of NVS fragmentation 2026-08-03 11:39:48 +08:00
radek.tandler
56a01ca822 docs(nvs_flash): improved description of NVS space consumption
- Improved description of space required to store data types into NVS partition
  - Example showing nvs statistics extended with a code demonstrating the fragmentation effect
2026-08-03 11:39:47 +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
2de7def60b docs(ulp): document the custom linker script feature
Describe the base/layout/checks split and how to supply a custom LP-core layout
through the LINKER option, covering the usable-window symbols
(LP_CORE_USER_MEMORY_REGION_START / _END), the section-boundary macros
(LP_CORE_TEXT_START / TEXT_END / DATA_START / DATA_END), and minimal and
multi-region layout examples.
2026-07-31 14:50:10 +02: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
Frantisek Hrbata
27a72e4660 style(tools): reformat global_options.py with ruff-format
This file predates the adoption of ruff-format and was never reformatted,
because pre-commit only runs on the files touched by a change. GitHub PR
#18871 bumps the copyright year here, which pulls the file into the hook's
scope and makes check_pre_commit fail on a pre-existing formatting
violation unrelated to that change.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2026-07-31 12:49:10 +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