Samuel Obuch
8f2272d7d3
ci(ulp): disable lp_core/debugging test
2026-09-03 12:59:20 +02:00
Samuel Obuch
50291d721e
feat(tools): update openocd version to v0.12.0-esp32-20260831
2026-09-03 12:59:20 +02:00
Xu Si Yu
9f5948b9a0
feat(openthread): support multipan feature for host device
2026-09-03 17:46:32 +08:00
wanckl
eff5f2d1a2
fix(driver_twai): fix potential crash when node_delete from low priority task
...
Closes https://github.com/espressif/esp-idf/issues/18803
2026-09-03 17:46:28 +08:00
Rahul Tank
5b8f3fb8f1
fix(nimble): fix crash on disconnect due to stale per-connection CCCD pool
2026-09-03 13:43:35 +05:30
Ashish Sharma
bcf41920e2
fix(mbedtls): reject an all-zero AES block output in the encrypt direction
2026-09-03 16:10:29 +08:00
Ashish Sharma
9c72f7a642
fix(mbedtls): use pointer-width types for dynamic buffer msg offsets
2026-09-03 16:09:57 +08:00
Ashish Sharma
94e538c2dc
test(mbedtls): add test for unaligned multipart AES-GCM streaming
2026-09-03 16:09:57 +08:00
Ashish Sharma
613469ffe7
fix(mbedtls): preserve AES-GCM stream state across multipart updates
2026-09-03 16:09:57 +08:00
Ashish Sharma
0ffb8daf92
fix(mbedtls): bound public-key coordinate copy in esp ecp_check_pubkey
2026-09-03 16:09:57 +08:00
Song Ruo Jing
052731a91a
fix(uart): reduce current consumption in sleep mode
2026-09-03 16:03:19 +08:00
gaoxu
0f2f24dca1
fix(rng): fix esp_random failed beacuse do not enable RNG clock
2026-09-03 16:02:59 +08:00
morris
82564356d0
Merge branch 'fix/lcd_test_build_error_v6.1' into 'release/v6.1'
...
fix(rgb_lcd): pass output color format in tests (v6.1)
See merge request espressif/esp-idf!52364
2026-09-03 16:02:18 +08:00
morris
321b5344d3
fix(rgb_lcd): pass output color format in tests
2026-09-03 14:54:02 +08:00
Euripedes Rocha Filho
25d08776da
fix(esp_netif): Avoid socket to stay in closing state in l2tap closing
2026-09-03 14:01:40 +08:00
hejiaxin
79221f020d
fix(bt_avrcp): size some AVRC command buffers
2026-09-03 10:40:52 +08:00
hejiaxin
28add9e24b
fix(bt_l2cap): size L2CAP ERTM S-frame & RX SDU buffer
2026-09-03 10:40:52 +08:00
hejiaxin
560cc8ccf2
fix(bt_sdp): size SDP TX buffers
2026-09-03 10:40:52 +08:00
hejiaxin
e5632732d8
fix(bt_rfcomm): size RFCOMM TX buffers by peer MTU
2026-09-03 10:40:52 +08:00
hejiaxin
693a830f3e
fix(bt_hid): size HID TX buffers to report length
2026-09-03 10:40:52 +08:00
morris
e617c2d1f2
fix(driver): allocate driver objects containing atomic variables from internal SRAM
...
Objects with atomic members must not be allocated to PSRAM, otherwise
the ordering guarantee of atomic accesses is weakened due to a hardware
behavior on ESP32 chips. Explicitly request MALLOC_CAP_INTERNAL |
MALLOC_CAP_8BIT for:
- i2c master bus object (atomic status/trans_idx)
- i3c master bus object (atomic fsm)
- ISP processor and AE/AF/AWB/HIST controllers (atomic fsm)
- JPEG decoder/encoder dma2d transaction descriptors (atomic started)
- PPA transaction storage embedding dma2d_trans_t
- dma2d m2m test transaction embedding dma2d_trans_t
2026-09-03 09:46:11 +08:00
Wang Meng Yang
1e2241eb4f
Merge branch 'feature/refactor_with_broker_v6.1' into 'release/v6.1'
...
feat(bt): refactor bt sdk with broker for esp32h4 and esp32s31 (6.1)
See merge request espressif/esp-idf!51757
2026-09-03 07:43:18 +08:00
Jakub Kocka
9f06f4b158
refactor(tools): Fixed pre-commit findings in idf_utils.py
2026-09-02 16:11:41 +02:00
Jakub Kocka
865d8a2639
ci(tools): Clip idf.py failure logs so Windows log_cli cannot stall
...
pytest.ini enables log_cli, so logging the full ninja stdout after a
failed first-time build is one multi-MB ERROR. That hung shard 3/6 for
hours after the hints test. Log the last 80 lines; keep the full output
on the exception and at DEBUG.
2026-09-02 15:04:58 +02:00
Jakub Kocka
c73ac9f05a
ci(tools): Don't abort idf_copy when a worktree submodule is a gitlink
...
git worktree add materializes submodules as gitlink files. rmtree() cannot
remove those, and exists()+iterdir() on a source gitlink raises and falls
back to shutil.copytree, which leaves mbedtls/include as a file. Unlink
dest gitlinks and only copy populated source directories.
2026-09-02 15:03:05 +02:00
radek.tandler
c3fc203f8a
docs(nvs_flash): correct public API docs for error code
...
-align nvs.h / nvs_handle.hpp Doxygen with the implementation: fix return codes
-guard nvs_open against a NULL out_handle
2026-09-02 14:57:15 +02:00
Hu Rui
1edb899ace
refactor(dac): remove adc read back in dac example, prepare for s31
2026-09-02 20:28:32 +08:00
Martin Vychodil
cb709dbf27
Merge branch 'fix/sdmmc_dma_aligned_buffer_leak_v6.1' into 'release/v6.1'
...
fix(sdmmc): release aligned buffer on card deinit (v6.1)
See merge request espressif/esp-idf!52252
2026-09-02 20:20:40 +08:00
Jiang Jiang Jian
9ab7ec823a
Merge branch 'fix/sec-1162-1189-1190-null-checks_v6.1' into 'release/v6.1'
...
fix(esp_netif): harden NULL and OOM handling in netif APIs (SEC-1162, SEC-1189, SEC-1190) (v6.1)
See merge request espressif/esp-idf!50598
2026-09-02 20:11:33 +08:00
Jiang Jiang Jian
e3fe356497
Merge branch 'fix/sec-347-hostname-null-check_v6.1' into 'release/v6.1'
...
fix(esp_netif): reject NULL hostname in esp_netif_set_hostname_api (SEC_347) (v6.1)
See merge request espressif/esp-idf!50587
2026-09-02 20:11:29 +08:00
wuzhenghui
175cf9a521
feat(bootloader): use CPLL/4 as flash default 80M clock source
2026-09-02 19:20:15 +08:00
wuzhenghui
d25d49d307
feat(esp_security): make esp32s31 on-demand crypto clock management optional
2026-09-02 19:20:15 +08:00
wuzhenghui
0f5ec4d261
feat(esp_security): support s31 security clock management
2026-09-02 19:20:15 +08:00
wuzhenghui
5f23a5646e
change(hal): rename PLL_F80M to REF_80M for esp32s31 peripherals clock defination
2026-09-02 19:20:14 +08:00
wuzhenghui
3641d243e0
feat(esp_hw_support): disable all unused pll source in rtc_clk_init to save power
2026-09-02 19:20:14 +08:00
wuzhenghui
0b7f047e9e
fix(driver): fix drivers clock management
2026-09-02 19:20:14 +08:00
wuzhenghui
f9428ecc1e
feat(esp_hw_support): support esp32s31 clock tree management
2026-09-02 19:20:13 +08:00
liqigan
974f0f558b
change(bt/bluedroid): Used dynamic osi event to reduce lock cost
2026-09-02 18:54:59 +08:00
morris
d67ba6dd0c
Merge branch 'fix/spi_flash_keep_program_erase_in_iram_v6.1' into 'release/v6.1'
...
fix(spi_flash): keep program and erase paths in IRAM (v6.1)
See merge request espressif/esp-idf!51891
2026-09-02 18:44:45 +08:00
Jiang Jiang Jian
357b225bf3
Merge branch 'fix/roam_fixes_v6.1' into 'release/v6.1'
...
Require RSSI gain before low-RSSI roam and added reason codes(v6.1)
See merge request espressif/esp-idf!52245
2026-09-02 17:55:53 +08:00
Jiang Jiang Jian
8d1083391f
Merge branch 'bugfix/wpa_supplicant_upstream_security_issues_v6.1' into 'release/v6.1'
...
esp_wifi: Port security issues from upstream supplicant (v6.1)
See merge request espressif/esp-idf!51825
2026-09-02 17:52:54 +08:00
Wang Meng Yang
c2cde7c8f6
Merge branch 'bugfix/a2dp_aac_br_v6.1' into 'release/v6.1'
...
fix(bt): Fix some bugs of A2DP AAC (v6.1)
See merge request espressif/esp-idf!52186
2026-09-02 17:45:20 +08:00
Jiang Jiang Jian
1c03ef78f3
Merge branch 'bugfix/ftm_calib_v6.1' into 'release/v6.1'
...
fix(ftm): tolerate small t2/t3 inversion in measurement validation (Backport v6.1)
See merge request espressif/esp-idf!52071
2026-09-02 17:23:25 +08:00
Jiang Jiang Jian
bd51ab4afb
Merge branch 'backport/backport_some_wifi_changes_v6.1_260902' into 'release/v6.1'
...
Backport/backport some wifi changes v6.1 20260902(backport v6.1)
See merge request espressif/esp-idf!52309
2026-09-02 17:22:33 +08:00
Aditya Patwardhan
984ea5ad81
fix(esp_http_server): reject Content-Length above UINT32_MAX
...
In httpd_parse.c, cb_headers_complete() converted the HTTP parser's
content_length (uint64_t) to the request's content_len (size_t) via an
unsafe cast through (int). On a 32-bit size_t target a Content-Length
above 4 GiB silently truncated, enabling request smuggling where the
server and an upstream proxy disagree on the body length (CWE-681).
Reject any Content-Length above UINT32_MAX with 413 Content Too Large
before any handler runs. UINT32_MAX is the largest body length the
server can represent in size_t content_len on every target, so this is
the maximum the server can support; no configuration knob is needed.
Closes SEC-102
Closes SEC-229
(cherry picked from commit 9d3f510c7f )
2026-09-02 17:19:39 +08:00
Alexey Gerenkov
d965c1bfcf
Merge branch 'fix/newlib_builds_v6.1' into 'release/v6.1'
...
Fix: newlib compatibility with libraries built with picolibc headers (v6.1)
See merge request espressif/esp-idf!51523
2026-09-02 17:14:06 +08:00
Alexey Gerenkov
89eb1c1516
Merge branch 'add_trace_doc_section_v6.1' into 'release/v6.1'
...
docs(esp_trace): restructure tracing docs with esp_trace as master (v6.1)
See merge request espressif/esp-idf!52264
2026-09-02 17:03:51 +08:00
Ashish Sharma
b508d7bf9b
feat(mbedtls): enable cross signed certificate verification support by default
2026-09-02 13:58:29 +05:30
morris
6a0c7764e7
Merge branch 'fix/dualcore_branch_predictor_cache_race_v6.1' into 'release/v6.1'
...
fix(spi_flash): disable branch prediction on the parked core during flash ops (v6.1)
See merge request espressif/esp-idf!52203
2026-09-02 16:19:36 +08:00
morris
5005636662
Merge branch 'feat/support_rgb_lcd_dma2d_v6.1' into 'release/v6.1'
...
feat(rgb_lcd): support draw bitmap using dma2d (v6.1)
See merge request espressif/esp-idf!51979
2026-09-02 16:18:08 +08:00