Commit Graph

54542 Commits

Author SHA1 Message Date
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
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
morris
f513522acf Merge branch 'bugfix/mcpwm_timer_resolution_test' into 'master'
fix(mcpwm): stabilize mcpwm_timer_various_clk_src test

See merge request espressif/esp-idf!51356
2026-07-30 17:45:34 +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
4065b2ed8f Merge branch 'bugfix/nvs-console-usb-stdio' into 'master'
fix(nvs_console): use esp_stdio for console peripheral init

Closes IDFGH-18040

See merge request espressif/esp-idf!51235
2026-07-30 16:47:56 +08: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
Zhang Wen Xu
aa3408ec84 Merge branch 'fix/resolve_issues_reported_via_bbp' into 'master'
fix(openthread): fix null pointer deref, uninitialized struct, and unbounded strcpy in spinel/RCP code

See merge request espressif/esp-idf!50294
2026-07-30 08:37:57 +00:00
Martin Vychodil
036cee4e6a Merge branch 'bugfix/nvs-initialize-accumulated-crc32' into 'master'
fix(nvs_flash): initialize accumulatedCRC32 in cmpItem

Closes IDF-15810

See merge request espressif/esp-idf!51068
2026-07-30 16:37:03 +08:00
Zhang Wen Xu
7eed66d564 Merge branch 'fix/154_mac_receive_at' into 'master'
fix(ieee802154): skip receive_at when rx window already expired

See merge request espressif/esp-idf!50781
2026-07-30 08:33:56 +00:00
Martin Vychodil
fd733b70da Merge branch 'bugfix/nvs-deinit-open-handle-leak' into 'master'
fix(nvs_flash): delete leftover handles on partition deinit

Closes IDF-7062

See merge request espressif/esp-idf!51065
2026-07-30 16:18:31 +08:00
wanckl
07612291c6 fix(driver_spi): slave hd append fix wrong dma param 2026-07-30 16:01:27 +08:00
C.S.M
ae64f66617 feat(uhci): Add uhci_continuous api for example and doc 2026-07-30 15:25:51 +08:00
Jin Cheng
7a05c18999 change(bt/bluedroid): optimized the HFP example workflow to improve audio quality
Disabled inquiry scan and page scan after SCO connection establishment
to reduce over-the-air bandwidth usage and improve audio quality by
prevent scan activities from interrupting SCO traffic.
2026-07-30 14:58:21 +08:00
harshal.patil
e1d60fb89f refactor(esp_system): deduplicate ROM fast wake RTC digest reservation
The digest length and the condition that reserves it at the end of RTC RAM were
duplicated in seven places. Hold the reservation in a hidden Kconfig value that
is zero when the feature does not apply, so every consumer subtracts it
unconditionally, and derive ESP_SECURE_BOOT_DIGEST_LEN from it.
2026-07-30 12:20:22 +05:30
Ashish Sharma
be0df8c3ad fix(mbedtls): revert to non constant time rsa key gen 2026-07-30 13:39:35 +08:00
C.S.M
ee2ef95cfe Merge branch 'feat/uhci_receive_isr' into 'master'
feat(uhci): Make uhci_receive can be called in isr

See merge request espressif/esp-idf!50984
2026-07-30 13:05:11 +08:00
Eric Wang
7f591008b3 fix(driver_spi): avoid NULL memcpy when private DMA buffer setup fails
Closes https://github.com/espressif/esp-idf/pull/18898
2026-07-30 11:54:04 +08:00
C.S.M
fcd5c55194 feat(uhci): uhci receive can be called in isr 2026-07-30 11:41:24 +08:00