Commit Graph

38194 Commits

Author SHA1 Message Date
Jiang Jiang Jian
528c1d5ee2 Merge branch 'bugfix/idfci-7928_v5.2' into 'release/v5.2'
backport v5.2: fix ci failed test case of Automatic light occurs when tasks are suspended

See merge request espressif/esp-idf!45214
2026-01-26 10:34:48 +08:00
Martin Vychodil
ccd8e9720e Merge branch 'contribute/github_pr_17789_v5.2' into 'release/v5.2'
fix(storage/spiffs): fix readdir setting errno on directory end (v5.2)

See merge request espressif/esp-idf!45384
2026-01-23 04:38:53 +08:00
Augusto Zanellato
5ed7ec99a2 fix(storage/spiffs): fix readdir setting errno on directory end
spiffs_res_to_errno maps `SPIFFS_ERR_END_OF_OBJECT` to EIO which breaks the common contract where
errno should be 0 if readdir iterated through all the entries in a directory.

The fix is explicitly checking for `SPIFFS_ERR_END_OF_OBJECT` and in that case set errno to 0.
2026-01-22 15:02:36 +01:00
Rahul Tank
c6e865eabc Merge branch 'bugfix/fix_memory_leak_in_deinit_v5.2' into 'release/v5.2'
fix(nimble): Fixed invalid access to already freed memory in deinit sequence (v5.2)

See merge request espressif/esp-idf!45237
2026-01-22 15:22:00 +05:30
Michael (XIAO Xufeng)
8853cf7b4a Merge branch 'fix/cpu_reset_dma_v5.2' into 'release/v5.2'
dma: fixed issue that DMA are not reset when CPU reset (v5.2)

See merge request espressif/esp-idf!42852
2026-01-22 14:08:18 +08:00
Rahul Tank
adfb928148 fix(nimble): Fix memory leak in controller/stack deinit sequence 2026-01-22 09:39:03 +05:30
Island
80a01edc53 Merge branch 'fix/ble_mesh_eliminate_deprecated_warn_for_mbt_v5.2' into 'release/v5.2'
fix(ble_mesh): eliminate deprecated warning for mbt (v5.2)

See merge request espressif/esp-idf!44626
2026-01-22 11:43:58 +08:00
Marius Vikhammer
cad809efb1 Merge branch 'ci/enable_esp_event_tests_v5.2' into 'release/v5.2'
ci(core): fixed esp_event not running properly in CI (v5.2)

See merge request espressif/esp-idf!44761
2026-01-22 10:46:03 +08:00
Marius Vikhammer
87e3887c29 ci(core): fixed esp_event not running properly in CI 2026-01-22 09:13:03 +08:00
Xiao Xufeng
07bd3a910f dma: fixed issue that DMA are not reset when CPU reset
When DMA keep writing the memory, some data may be corrupted after reset. For example, the stack of bootloader may be overwritten and failed to boot until a higher scope of reset (Core).
2026-01-22 02:58:20 +08:00
Alexey Gerenkov
ff997e3a21 Merge branch 'update_jtag_docs_v5.2' into 'release/v5.2'
Update jtag docs (v5.2)

See merge request espressif/esp-idf!44890
2026-01-21 23:10:10 +08:00
Roland Dobai
73ef07095d Merge branch 'coredump_read_flash_retry_v5.2' into 'release/v5.2'
Add retry logic to espcoredump subprocess call (v5.2)

See merge request espressif/esp-idf!45321
2026-01-21 10:10:49 +01:00
Erhan Kurubas
8e0bf353bf ci(panic): add retry logic to espcoredump subprocess call 2026-01-21 08:35:12 +03:00
Island
1875d5773d Merge branch 'change/ble_update_lib_20260113_v5.2' into 'release/v5.2'
change(ble): [AUTO_MR] 20260113 - Update ESP BLE Controller Lib (v5.2)

See merge request espressif/esp-idf!45190
2026-01-21 11:39:54 +08:00
Roland Dobai
5fb25136c1 Merge branch 'contrib/github_pr_18103_v5.2' into 'release/v5.2'
Fix "IMPORTED_LOCATION not set for imported target" CMake errors during codemodel-v2 api queries with CMake 4.2 (GitHub PR) (v5.2)

See merge request espressif/esp-idf!45203
2026-01-20 10:48:35 +01:00
cjin
aa0c817423 feat(ble): support sid filter feature on ESP32C6 2026-01-19 14:24:01 +08:00
Zhou Xiao
b593bd5dff feat(ble): support sid filter feature on ESP32H2
(cherry picked from commit e4e42f0166)

Co-authored-by: cjin <jinchen@espressif.com>
2026-01-19 14:24:01 +08:00
cjin
a901345fa8 feat(ble): add config to enable sid filter feat 2026-01-19 14:24:01 +08:00
Li Shuai
813fdef519 change(esp_pm): fix ci failed test case of Automatic light occurs when tasks are suspended 2026-01-17 15:04:54 +08:00
Ferdinand Bachmann
057016d596 fix(cmake): Fix "IMPORTED_LOCATION not set for imported target" errors
esp-idf uses imported targets as dummy targets that are never linked.
Previous CMake versions would ignore these and not error on unset
IMPORTED_LOCATION if they are never actually linked. CMake 4.2 and newer
errors during codemodel-v2 api queries when imported targets are missing
IMPORTED_LOCATION, so set a dummy location that would error when
actually linked, which fixes the error during api queries.

Closes https://github.com/espressif/esp-idf/pull/18103
2026-01-16 12:12:02 +01:00
Island
6fc312a5f0 Merge branch 'fix/uaf_in_bluedroid_attp_v5.2' into 'release/v5.2'
fix(ble): fixed use-after-free in bluedroid attp (v5.2)

See merge request espressif/esp-idf!45156
2026-01-16 19:04:34 +08:00
Island
87328bf183 Merge branch 'feat/ble_log_hci_log_len_limit_support_v5.2' into 'release/v5.2'
Feat/ble log hci log len limit support (v5.2)

See merge request espressif/esp-idf!45145
2026-01-16 19:03:35 +08:00
Zhou Xiao
42110cc205 change(ble): [AUTO_MR] Update lib_esp32c6 to 17fdc66e
(cherry picked from commit 54e5f358bf)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2026-01-16 17:13:15 +08:00
Zhou Xiao
16b8f6e8f8 change(ble): [AUTO_MR] Update lib_esp32h2 to 17fdc66e
(cherry picked from commit 57b4819474)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2026-01-16 17:13:15 +08:00
Roland Dobai
9f276ff3ee Merge branch 'fix/ldgen_ipa_constprop_v5.2' into 'release/v5.2'
fix(ldgen): correctly place symbols generated by compiler during IPA (v5.2)

See merge request espressif/esp-idf!45114
2026-01-16 09:19:16 +01:00
Island
1361236948 Merge branch 'change/ble_update_lib_20260108_v5.2' into 'release/v5.2'
change(ble): [AUTO_MR] 20260108 - Update ESP BLE Controller Lib (v5.2)

See merge request espressif/esp-idf!44930
2026-01-16 16:04:00 +08:00
Rahul Tank
81c75a6846 Merge branch 'bugfix/periodic_adv_sync_lost_psync_handle_v5.2' into 'release/v5.2'
fix(nimble): Handling of psync during sync lost (v5.2)

See merge request espressif/esp-idf!45046
2026-01-16 12:47:33 +05:30
Island
0887f7c4a4 Merge branch 'feat/support_blecrt_515_v5.2' into 'release/v5.2'
feat(bt/bluedroid): Support get allocated heap size (v5.2)

See merge request espressif/esp-idf!44860
2026-01-16 14:18:58 +08:00
Euripedes Rocha
961e4aa549 Merge branch 'ci/eth_10m_loopback_v5.2' into 'release/v5.2'
fix(esp_eth): made 10M loopback test less strict (v5.2)

See merge request espressif/esp-idf!45027
2026-01-15 12:59:22 +01:00
Zhou Xiao
8b8b5ab2cb fix(ble): fixed use-after-free in bluedroid attp
(cherry picked from commit 78594e0f6e)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2026-01-15 19:13:19 +08:00
morris
9e11651e94 Merge branch 'bugfix/fixed_parlio_rx_sample_edge_swap_issue_v5.2' into 'release/v5.2'
fix(parlio_rx): fixed opposite sample edge issue (v5.2)

See merge request espressif/esp-idf!45138
2026-01-15 18:55:38 +08:00
Zhou Xiao
8987ab504a feat(ble): added sdkconfig to control ble host side hci log
(cherry picked from commit 52c2bd2dd6)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2026-01-15 17:13:18 +08:00
Zhou Xiao
b70ff0003a feat(ble): support ll log payload length limit for ble log v2
(cherry picked from commit 82ee820cf8)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2026-01-15 17:13:18 +08:00
Zhou Xiao
dac99a9aea change(ble): optimized os_mbuf_copydata thread safety protection
(cherry picked from commit 52754b1aa4)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2026-01-15 17:13:17 +08:00
laokaiyao
632e15c2ca fix(parlio_rx): fixed opposite sample edge issue
Closes https://github.com/espressif/esp-idf/issues/18012
2026-01-15 12:07:42 +08:00
Zhang Wen Xu
c06c942446 Merge branch 'feat/migrate_iperf_cmd_v5.2' into 'release/v5.2'
feat(iperf): migrate iperf to use iperf-cmd component (v5.2)

See merge request espressif/esp-idf!45088
2026-01-15 03:26:39 +00:00
Wang Meng Yang
c4f9882aa6 Merge branch 'bugfix/a2dp_utils_v5.2' into 'release/v5.2'
fix(bt/bluedroid): add status management for audio sink service channel (v5.2)

See merge request espressif/esp-idf!45126
2026-01-15 09:55:51 +08:00
Wang Meng Yang
c6761ff01e Merge branch 'docs/update_bt_api_ref_v5.2' into 'release/v5.2'
docs(bt): update Classic Bluetooth api reference(v5.2)

See merge request espressif/esp-idf!44997
2026-01-15 09:49:51 +08:00
Jin Cheng
19268879bd fix(bt/bluedroid): add status management for audio sink service channel 2026-01-15 09:15:28 +08:00
Frantisek Hrbata
70eadf41f7 fix(ldgen): correctly place symbols generated by compiler during IPA
As part of inter-procedural optimizations (IPA), the compiler may
perform tasks such as constant propagation for functions. This involves
generating a specialized version of a given function with a new symbol
name that includes a suffix. For example, during constant propagation,
the compiler might create a specialized version named
`spiflash_start_core.constprop.0` for the `spiflash_start_core`
function. Additionally, the compiler may generate multiple clones of a
single function. Currently, when ldgen performs symbol placement, it
does not account for these compiler-generated functions, leading to
their incorrect or unexpected placement in memory (markers).

Consider a linker fragment with:

```
[mapping:spi_flash]
archive: libspi_flash.a
entries:
    esp_flash_api: spiflash_start_core (noflash)
```

The `spiflash_start_core` function should be placed in IRAM. However,
the compiler might generate an optimized version of this function with a
`.constprop.0` suffix, resulting in a
`.text.spiflash_start_core.constprop.0` input section. Currently, ldgen
does not handle this situation, leading to misplaced symbols.

Since `.` is not allowed in C identifiers, it should be safe to consider
all input sections for a symbol with any `.` suffix as representing that
symbol. This means considering the symbol suffixes should not cause any
ambiguity.

This change automatically places all input sections, including those
with possible suffixes for a given symbol, into the specified memory. In
other words, specifying a function name like `spiflash_start_core` in a
linker fragment automatically includes input section names matching
`spiflash_start_core(\..*)?$`.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2026-01-14 15:50:28 +01:00
Jiang Jiang Jian
761791e548 Merge branch 'bugfix/parse_ftm_responder_v5.2' into 'release/v5.2'
bugfix(wifi): Ensure STA parses the FTM responder capability from the beacon correctly (Backport v5.2)

See merge request espressif/esp-idf!44722
2026-01-14 20:30:41 +08:00
Wang Meng Yang
5fd64f2d2f Merge branch 'bugfix/l2cap_malloc_fail_v5.2' into 'release/v5.2'
fix(bt): fix l2cap malloc fail in throughput test(v5.2)

See merge request espressif/esp-idf!44848
2026-01-14 20:05:00 +08:00
morris
89b755b012 Merge branch 'feat/add_parlio_buffer_size_check_on_c6_v5.2' into 'release/v5.2'
feat(parlio): add buffer size alignment warning for c6 (v5.2)

See merge request espressif/esp-idf!45077
2026-01-14 16:16:33 +08:00
Astha Verma
889a9ce0f6 fix(nimble): Handling of psync during synchronization timeout (0x3e) 2026-01-14 13:43:33 +05:30
Mahavir Jain
7fd531615b Merge branch 'fix/aes-dma-psram-output-cache-coherency_v5.2' into 'release/v5.2'
Ensure cache coherency when DMA writes to cacheable PSRAM buffers (AES) (v5.2)

See merge request espressif/esp-idf!44924
2026-01-14 12:36:06 +05:30
Rahul Tank
2caedf2183 Merge branch 'bugfix/ad_type_example_v5.2' into 'release/v5.2'
fix(nimble): Add AD type macros in example (v5.2)

See merge request espressif/esp-idf!44984
2026-01-14 12:05:56 +05:30
Tan Yan Quan
d9eb216b42 fix(openthread): restore LED state indicator for example code 2026-01-14 14:14:15 +08:00
Tan Yan Quan
29314eafb8 docs(openthread): add iperf usage guide to ot_cli example readme 2026-01-14 14:14:15 +08:00
Tan Yan Quan
f355165e05 feat(openthread/cli-ext): update cli-ext to v2.0.0 2026-01-14 14:14:15 +08:00
Tan Yan Quan
dac513bf25 feat(openthread): migrate iperf to use iperf-cmd component 2026-01-14 14:14:15 +08:00