Adam Múdry
ab352fdbaf
Merge branch 'fix/sdmmc_double_buffering_psram_dma_capable' into 'master'
...
fix(sdmmc): Add a better handling of devices accessing PSRAM through DMA
Closes IDFGH-17455
See merge request espressif/esp-idf!47685
2026-07-02 12:16:19 +02:00
Tomas Rezucha
5f84dab44c
Merge branch 'change/utmi_phy_eco_src' into 'master'
...
change(soc/usb): Merge duplicated definitions for P4 v1 and v3
Closes IDF-13430
See merge request espressif/esp-idf!50272
2026-07-02 11:50:06 +02:00
Adam Múdry
0de4ceee63
feat(sdmmc): Use zero-copy TX for SDSPI
2026-07-02 11:39:20 +02:00
Adam Múdry
ba4503a9b5
fix(sdmmc): Add a better handling of devices accessing PSRAM through DMA
...
Closes https://github.com/espressif/esp-idf/issues/18412
2026-07-02 11:39:20 +02:00
C.S.M
08b5996134
Merge branch 'fix/flash_32bit_addr' into 'master'
...
fix(spi_flash): fix flash 32bit address operation on esp32s31
See merge request espressif/esp-idf!50248
2026-07-02 16:50:22 +08:00
Igor Udot
81a613f5b8
Merge branch 'bugfix/parttool-extra-partition-subtypes-eat-all' into 'master'
...
fix(partition_table): restore multi-value --extra-partition-subtypes parsing
See merge request espressif/esp-idf!50287
2026-07-02 16:20:57 +08:00
Mahavir Jain
bd250902b8
Merge branch 'fix/fix_esp_tee_failing_deterministic_ecdsa_sign' into 'master'
...
fix(esp_tee): release SHA held by HMAC after crypto peripheral reset
See merge request espressif/esp-idf!50286
2026-07-02 13:46:59 +05:30
Guillaume Souchere
06c7851457
Merge branch 'fix/freertos-linux-simulator' into 'master'
...
fix(freertos): discard stale wake events on linux port context switch
Closes IDF-15882
See merge request espressif/esp-idf!50285
2026-07-02 10:11:04 +02:00
Mahavir Jain
98f7c78787
Merge branch 'fix/gcc16_unused_but_set_variable' into 'master'
...
Fix unused-but-set-variable warnings with GCC 16
See merge request espressif/esp-idf!50282
2026-07-02 13:40:46 +05:30
sonika.rathi
0c6367d15f
fix(partition_table): restore multi-value --extra-partition-subtypes parsing
2026-07-02 09:11:29 +02:00
Ashish Sharma
2cbd0afed8
fix(esp_tee): fixes double panic when ESP-TEE panics
2026-07-02 14:52:53 +08:00
Ashish Sharma
2458c81d7d
fix(esp_tee): release SHA held by HMAC after crypto peripheral reset
2026-07-02 14:52:53 +08:00
Shen Wei Long
49d191730e
Merge branch 'feature/added_qa_related_vs_cmd' into 'master'
...
feat(ble): Updated libble to 6bbfb64 on ESP32-S31 and ESP32-H4
See merge request espressif/esp-idf!50267
2026-07-02 06:42:40 +00:00
Guillaume Souchere
513c013403
fix(freertos): discard stale wake events on linux port context switch
...
On the Linux port, tasks are pthreads that cannot be forcibly paused;
the scheduler "unschedules" a task only by selecting a different next
task, and the outgoing task keeps running until it next blocks itself
in event_wait (e.g. via vPortYield). If the scheduler later switches
back into such a task (event_signal) before it ever parked in
event_wait, that wake is never consumed and event_triggered stays
latched. The task's next voluntary block then returns immediately
instead of blocking (e.g. vTaskDelay(100ms) returning in 0ms), which
desynchronizes kernel and port scheduling state.
Clear the outgoing task's pending event when switching to a different
task, under s_port_mutex and atomically with the scheduling decision.
Any latched-but-unconsumed wake is stale at that point; a legitimate
wake can only be delivered later, once the scheduler selects the task
again as next_thread.
Add event_clear() to the wait_for_event helper to support this.
Verified: minimal repros (busy-wait with another ready task, and
pthread-blocked task) now measure 92-101 ms for vTaskDelay(100ms)
instead of 0 ms; linux_freertos kernel test app 18/18 pass; the
previously failing esp_linenoise host test suite passes 34/34.
2026-07-02 08:30:14 +02:00
David Čermák
59d66afdd2
Merge branch 'fix/lwip_sec_high' into 'master'
...
fix(lwip): high severity lwip fixes
See merge request espressif/esp-idf!49930
2026-07-02 14:15:34 +08:00
Aditya Patwardhan
b5023d4343
Merge branch 'feature/unified_priv_key_interface_across_idf' into 'master'
...
feat(esp-tls): Added a PSA driver for Secure Element
See merge request espressif/esp-idf!44987
2026-07-02 11:00:42 +05:30
morris and Cursor
829576fdab
fix(dac): remove redundant assert in continuous enable
...
Drop the internal assert in dac_continuous_enable() and call
dac_priv_enable_channel() directly, since the surrounding state
machine already guarantees the preconditions.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-02 10:36:34 +08:00
Mahavir Jain
e16593ebc0
fix(esp_psram): fix unused-but-set-variable warning with GCC 16
...
GCC 16 flags the volatile accumulator in the cache writeback loops even
though it is volatile, as it is only used to update itself. Drop the
accumulator and rely on the volatile-qualified psram pointer to keep
the cache-line reads from being optimized out.
2026-07-02 07:55:14 +05:30
Mahavir Jain
bd567cf046
fix(wpa_supplicant): fix unused-but-set-variable warnings with GCC 16
...
GCC 16 raised the default level of -Wunused-but-set-variable and now
flags variables that are only used to update themselves. Remove the
'removed' counter in pmksa_cache_flush() (its only read was commented
out) and mark the EAP-FAST PAC entry counters as unused, since their
only read is inside wpa_printf(MSG_DEBUG, ...) which compiles to a
no-op when debug logging is disabled.
2026-07-02 07:55:13 +05:30
David Cermak
4c3d56aeb6
fix(lwip): tcp/ooseq: do not accept empty fin seg (+ other fixes)
...
* Update submodule: git log --oneline 9d2d8041..c6f2f878
- test(lwip): add DHCP MTU validation unit test (espressif/esp-lwip@c6f2f878 )
- ppp: fix potential oob read in VJ decompression (espressif/esp-lwip@2ff439e6 )
- ip6-frag: Fix incorrect memcpy size to the actual struct (espressif/esp-lwip@91ad363b )
- tcp/ooseq: do not accept empty fin seg (espressif/esp-lwip@fe4fb18c )
2026-07-01 20:21:59 +02:00
Tomas Rezucha
702dc82ed4
change(soc/usb): Merge duplicated definitions for P4 v1 and v3
2026-07-01 19:49:07 +02:00
ShenWeilong
297ee2cc5b
feat(ble): Updated libble to 6bbfb64 on ESP32-S31 and ESP32-H4
2026-07-01 20:38:09 +08:00
Laukik Hase
0daee142a3
Merge branch 'fix/esp_tee_sec_srv_arg_chk' into 'master'
...
fix(esp_tee): Add additional input validation checks for TEE service calls
Closes SEC-585, SEC-610, and SEC-1058
See merge request espressif/esp-idf!50062
2026-07-01 17:35:05 +05:30
Laukik Hase
aa98b92e25
Merge branch 'fix/esp_tee_part_check_sizes' into 'master'
...
fix(partition_table): Exclude TEE partitions from the REE app size check
See merge request espressif/esp-idf!50242
2026-07-01 15:36:58 +05:30
C.S.M
cfb2e81cd4
fix(spi_flash): fix flash 32bit address operation on esp32s31
2026-07-01 16:39:25 +08:00
Wu Zheng Hui
d8b255280b
Merge branch 'fix/fix_mpll_enable_order' into 'master'
...
fix(esp_hw_support): fix esp32s31 mpll initialization
Closes IDF-15820
See merge request espressif/esp-idf!49927
2026-07-01 16:35:20 +08:00
morris
d56d5532fc
Merge branch 'refactor/jpeg_decoder_example' into 'master'
...
feat(jpeg): simplify decoder example and add pytest coverage
See merge request espressif/esp-idf!49733
2026-07-01 16:27:50 +08:00
David Cermak
71eeec18c4
fix(lwip): Adds nullchecks after DHCP server alloc'd pools
2026-07-01 09:27:10 +02:00
David Cermak
32ca6039a0
fix(lwip): reject invalid DHCP MTU option values
...
Validate MTU from DHCP option 26 against RFC 2132 minimum (68 bytes)
before applying to netif->mtu, preventing rogue DHCP servers from
setting MTU to 0 or other dangerously low values that cause integer
wraparound in IPv4 fragmentation.
2026-07-01 09:27:10 +02:00
Laukik Hase
75fc3dfc82
fix(partition_table): Exclude TEE partitions from the REE app size check
...
- Remove the invalid check that compared the TEE app partition size
against the user application (REE) binary size
2026-07-01 12:53:45 +05:30
morris
e34e2af9e4
Merge branch 'docs/esp_crc_rom_api' into 'master'
...
fix(esp_crc): clarify CRC ROM helper usage documentation
Closes IDFGH-17804
See merge request espressif/esp-idf!50177
2026-07-01 15:11:11 +08:00
Mahavir Jain
1c5aa1c5cb
Merge branch 'fix/aes_dma_psram_encrypted_mem_s31' into 'master'
...
fix(mbedtls/aes): Fix AES-DMA over encrypted PSRAM on ESP32-S31
See merge request espressif/esp-idf!49935
2026-07-01 12:16:13 +05:30
Island
3011b74b5f
Merge branch 'idf/ble_iso_sec_fixes' into 'master'
...
Idf/ble iso sec fixes
Closes SEC-1067 and SEC-1184
See merge request espressif/esp-idf!50175
2026-07-01 14:08:35 +08:00
Island
b295d1f227
Merge branch 'fix/fix_ble_rtc_register_issue_after_reset' into 'master'
...
fix(ble): fix ble rtc reset issues on esp32-h4 and esp32-s31
Closes BLERP-2934, BLERP-2935, and BLERP-2937
See merge request espressif/esp-idf!50057
2026-07-01 14:04:41 +08:00
Hu Rui
03cf5bb45a
Merge branch 'refactor/driver_dac_common' into 'master'
...
refactor(dac): improve the DAC driver
See merge request espressif/esp-idf!48212
2026-07-01 13:36:23 +08:00
Benedek Brandschott
b33745d104
fix(esp_http_server): report truncation when header value length matches buffer size
...
httpd_req_get_hdr_value_str() detected truncation with `val_size < full_size`, where full_size is the strlcpy() return value. strlcpy() returns strlen() of the source (the terminating null is not counted), so truncation actually occurs when strlen(src) >= val_size. At strlen(src) == val_size the value is copied as val_size - 1 chars + NUL (i.e. truncated) yet ESP_OK was returned, so the caller never learned the value was cut.
Use `val_size <= full_size` and correct the misleading comment about strlcpy()'s return value.
Same truncation-reporting class fixed for httpd_cookie_key_value in PR #16202 ; httpd_req_get_hdr_value_str was missed. No memory-safety impact: strlcpy() null-terminates if val_size > 0.
2026-07-01 10:20:19 +08:00
Jiang Jiang Jian
9d263e3725
Merge branch 'feat/nd6_static_neighbor_entries' into 'master'
...
feat(lwip): Add IPv6 static neighbor cache entry support
See merge request espressif/esp-idf!49961
2026-06-30 23:34:17 +08:00
Sudeep Mohanty
8541991224
Merge branch 'fix/lp_spi_driver_and_tests' into 'master'
...
fix(ulp/lp_spi): fix stale data in driver
Closes IDF-11471, IDF-11472, and IDFCI-10465
See merge request espressif/esp-idf!48972
2026-06-30 15:50:26 +02:00
Sudeep Mohanty
ddaa9699b3
Merge branch 'fix/lp_periph_init_fail_with_cpp' into 'master'
...
fix(ulp): make LP peripheral default config macros C++ compatible
Closes IDFGH-17404
See merge request espressif/esp-idf!49950
2026-06-30 15:36:38 +02:00
Mahavir Jain
cb33ab16b3
Merge branch 'contrib/github_pr_18684' into 'master'
...
feat(httpd): avoid useless string copy by introducing httpd_req_get_url_query_str_ptr() (GitHub PR)
Closes IDFGH-17758
See merge request espressif/esp-idf!49682
2026-06-30 18:15:48 +05:30
Jiang Jiang Jian
9bd49630fc
Merge branch 'bugfix/clear_ifx_tx_queue' into 'master'
...
bugfix(wifi): Clear Sta TX queue to prevent key 2 send failure
Closes WIFIBUG-745 and WIFIBUG-1597
See merge request espressif/esp-idf!40211
2026-06-30 19:47:15 +08:00
Fu Hanxi
ae7898bb14
Merge branch 'fix/mspi_pre_commit_fix' into 'master'
...
fix(spi_flash): remove mspi_test xip_psram test with missing config to fix check_pre_commit job
See merge request espressif/esp-idf!50159
2026-06-30 12:58:48 +02:00
akshat
f4708595e6
bugfix(wifi): Clear Sta TX queue to prevent key 2 send failure
...
Also, Ensure correct return values for key 2 and key 4.
2026-06-30 14:56:15 +05:30
Martin Vychodil
943602c0ac
Merge branch 'bugfix/idf-15334-normalize-partition-table-cli' into 'master'
...
fix(partition_table): normalize CLI output with esp-pylib
Closes IDF-15334
See merge request espressif/esp-idf!49989
2026-06-30 17:10:52 +08:00
Martin Vychodil
7d515c1e2e
Merge branch 'bugfix/idfci-12308-fatfs-bdl-test-stack-overflow' into 'master'
...
fix(fatfs): avoid stack overflow in BDL diskio partition test
Closes IDFCI-12308
See merge request espressif/esp-idf!49895
2026-06-30 16:58:56 +08:00
Jiang Jiang Jian
936083c626
Merge branch 'feat/pasn_verification' into 'master'
...
feat(nan): Add changes for nan pasn verification
See merge request espressif/esp-idf!49694
2026-06-30 16:58:13 +08:00
Martin Vychodil
caf132aaf0
Merge branch 'bugfix/idfci-8839-remove-orphan-test-configs' into 'master'
...
fix(fatfs): re-enable fatfs and vfs psram/ccomp CI tests
Closes IDFCI-8839
See merge request espressif/esp-idf!49986
2026-06-30 16:55:51 +08:00
cjin
1c17dee316
fix(ble): fix ble timer reset issues on ESP32-H4
2026-06-30 16:30:14 +08:00
cjin
96cecd67e1
fix(ble): fix ble timer reset issues on ESP32-S31
2026-06-30 16:30:11 +08:00
Sudeep Mohanty and Cursor
ae1386e891
test(ulp/lp_spi): improve test stability and add cleanup
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-30 10:21:56 +02:00