Commit Graph

36627 Commits

Author SHA1 Message Date
Guillaume Souchere
3afe8a2970 Merge branch 'fix/heap-minimum-free-size' into 'master'
fix(heap): Do not consider newly registered heap in minimum free size calculation

Closes IDF-15682

See merge request espressif/esp-idf!48681
2026-05-29 07:46:52 +02:00
Mahavir Jain
d0fb1cdad8 Merge branch 'feat/enable_sb_and_fe_support_for_esp32s31' into 'master'
feat: enable Secure Boot, Flash Encryption and Key Manager support in ESP32S31

Closes IDF-14629, IDF-14628, IDF-14626, and IDF-14622

See merge request espressif/esp-idf!48136
2026-05-29 10:31:34 +05:30
Tomas Rohlinek
fb2e11f070 Merge branch 'fix/vfs_incorect_deprecation' into 'master'
fix(storage/vfs): Mark the correct version of function deprecated

See merge request espressif/esp-idf!49015
2026-05-28 17:40:54 +02:00
Tomáš Rohlínek
7361e32490 fix(storage/vfs): Mark the correct version of function deprecated 2026-05-28 15:00:50 +02:00
Alexey Lapshin
8a66ccf322 Merge branch 'fix/newlib-nano-nosys-linking' into 'master'
fix(libc): nano: add -lnosys to linking to avoid CMake configuration issues

Closes IEC-540

See merge request espressif/esp-idf!48738
2026-05-28 15:47:59 +04:00
Marius Vikhammer
6f21ebaf90 Merge branch 'ci/enable_s31_ulp_multi_dev' into 'master'
ci(ulp): re-enable multi dev tests for S31 ULP

Closes IDF-15572

See merge request espressif/esp-idf!48890
2026-05-28 17:46:11 +08:00
Rahul Tank
c8407ee5c8 Merge branch 'bugfix/fix_service_compilation_issue' into 'master'
fix(nimble): Fix compilation issues in Gatt SPS service

See merge request espressif/esp-idf!48936
2026-05-28 15:16:03 +05:30
Tomas Rezucha
9756d9654c Merge branch 'feat/usb_dfu_console_soc_caps' into 'master'
feat(soc): add USB DFU and OTG console caps

Closes IDF-9133

See merge request espressif/esp-idf!48167
2026-05-28 10:42:08 +02:00
Guillaume Souchere
177024eeeb fix(heap): Do not consider newly registered heap in minimum free size calcualtion
After startup is done and app_main is reached, all calls to
heap_caps_add_region_with_caps (adding a new heap to the list of registered
heaps) will not affect the minimum free heap size value.

For heaps created before startup, this won't apply and their size will
end up being taken into account in the calculation of the minimum.
2026-05-28 10:30:25 +02:00
Gao Xu
84cf5394d6 Merge branch 'fix/sdmmc_reinit_error' into 'master'
fix(sdmmc): fix sdmmc re-init error

Closes IDFGH-15592, IDFGH-15603, EHM-68, and EHM-127

See merge request espressif/esp-idf!48336
2026-05-28 16:22:10 +08:00
Ondrej Kosta
2765aa7ec9 Merge branch 'contrib/github_pr_18642' into 'master'
fix(eth): use stored base_increment when computing PTP addend (GitHub PR)

Closes IDFGH-17700

See merge request espressif/esp-idf!48902
2026-05-28 16:11:59 +08:00
gaoxu
c9a7a0fd03 fix(sdmmc): fix sdmmc re-init error on legacy driver 2026-05-28 14:23:31 +08:00
morris
f464b587ef Merge branch 'fix/fix_i80_example_high_failure_ratio' into 'master'
test(parlio): enable h4 parlio test

Closes IDF-15613 and IDFCI-11015

See merge request espressif/esp-idf!48940
2026-05-28 13:30:16 +08:00
Chen Jichang
7f048be21f test(parlio): enable h4 parlio test 2026-05-28 10:56:20 +08:00
Wan Lei
ddfb7e4b58 Merge branch 'fix/twaifd_assert_fail' into 'master'
fix(driver_twai): fix driver assert fail when send frame

Closes IDFGH-17041, IDF-15618, IDFCI-11284, IDFCI-10485, IDFCI-11283, IDFCI-10486, and IDFCI-10484

See merge request espressif/esp-idf!48927
2026-05-28 09:10:51 +08:00
Island
7812a5df33 Merge branch 'bugfix/fix_ble_coded_phy_performance_with_wifi_coex' into 'master'
fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(51d9dfde)

Closes BT-4348

See merge request espressif/esp-idf!48851
2026-05-27 21:32:47 +08:00
Mahavir Jain
a004840c04 Merge branch 'ci/esp_tee_fuzzing' into 'master'
ci(esp_tee): Add fuzzing tests for verifying service call behaviour with random inputs

Closes IDF-12698

See merge request espressif/esp-idf!37851
2026-05-27 18:35:45 +05:30
Mahavir Jain
1fc4f6653a Merge branch 'fix/https-redirect-downgrade' into 'master'
fix(esp_http_client): block HTTPS-to-HTTP redirect downgrade

See merge request espressif/esp-idf!47553
2026-05-27 17:30:36 +05:30
Mahavir Jain
fb65f973f1 Merge branch 'contrib/github_pr_18641' into 'master'
fix(protocomm): prevent out-of-bounds write in console line buffer (GitHub PR)

Closes IDFGH-17699

See merge request espressif/esp-idf!48865
2026-05-27 17:17:00 +05:30
Wan Lei
87a406ce5c fix(driver_twai): enable ci test for h4 2026-05-27 19:38:41 +08:00
Mahavir Jain
2a4b4f2954 Merge branch 'feat/fix_ws_server_httpd_queue_work_silent_drop' into 'master'
fix(esp_http_server): prevent silent message drop in httpd_queue_work

Closes IDFGH-17642

See merge request espressif/esp-idf!48533
2026-05-27 16:56:35 +05:30
Tomas Rohlinek
ff1099f39b Merge branch 'feat/refactor_stdio_vfs' into 'master'
feat(storage/stdio): refactor stdio vfs

Closes IDF-15109

See merge request espressif/esp-idf!44351
2026-05-27 11:36:05 +02:00
Armando (Dou Yiwen)
59579d146e Merge branch 'change/change_psram_io_log' into 'master'
psram: changed cs io log to debug level

See merge request espressif/esp-idf!48371
2026-05-27 09:31:06 +00:00
igor.masar
d4d993c818 feat(soc): add USB DFU and OTG console caps
Add USB DFU and OTG console SOC capability flags for esp32s2, esp32s3, and esp32p4.

Use these caps in Kconfig, documentation conditionals, and idf.py DFU actions so USB support
is derived from SOC capabilities instead of hardcoded target names.
2026-05-27 10:58:50 +02:00
Chen Chen
7b4a2c6d98 Merge branch 'fix/i2s_sample_rate_restriction' into 'master'
fix(i2s): fix test issue on esp32s31 & esp32h4

Closes IDF-15609

See merge request espressif/esp-idf!48641
2026-05-27 16:30:21 +08:00
Rahul Tank
3706fc680e fix(nimble): Fix compilation issues in Gatt SPS service 2026-05-27 11:24:38 +05:30
Rahul Tank
0183eb84bb Merge branch 'bugfix/fix_crash_due_to_error_print' into 'master'
fix(nimble): Update excessive logging prints in failure scenario

See merge request espressif/esp-idf!48867
2026-05-27 10:59:10 +05:30
morris
69171b79bc Merge branch 'srmao/esp_driver_dma_esp32p4_rev1_tests' into 'master'
test(esp_driver_dma): add esp32p4 rev1 test apps

Closes IDF-15450 and IDF-15443

See merge request espressif/esp-idf!48888
2026-05-27 12:06:12 +08:00
Gao Xu
db3d01d412 Merge branch 'feat/basic_rng_support_h4' into 'master'
RNG support and refactor on ESP32-H4

Closes IDF-12265

See merge request espressif/esp-idf!45361
2026-05-27 11:14:38 +08:00
morris
90e0b94ed6 test(dma): reenable unit test for esp32p4 rev1 targets 2026-05-27 10:32:34 +08:00
Chen Chen
faa917e2e6 fix(i2s): fix test issue on esp32s31 & esp32h4 2026-05-27 10:02:43 +08:00
Armando (Dou Yiwen)
3905bcecd3 change(psram): changed cs io log to debug level
Signed-off-by: Armando (Dou Yiwen) <douyiwen@espressif.com>
2026-05-27 01:18:58 +00:00
Erhan Kurubas
5bcaf281e2 Merge branch 'feat/esp_trace_example' into 'master'
esp_trace example library integration

See merge request espressif/esp-idf!48605
2026-05-26 17:38:22 +02:00
Aditya Patwardhan
bf1c92341d Merge branch 'fix/fix_psa_ecdsa_driver_missing_checks' into 'master'
fix(mbedtls): fixes missing check before ecdsa verify

See merge request espressif/esp-idf!48818
2026-05-26 17:50:33 +05:30
wanckl
10273d3c6b fix(driver_twai): fix driver assert fail when send frame
Closes https://github.com/espressif/esp-idf/issues/18081
2026-05-26 19:45:25 +08:00
Sudeep Mohanty
8a2e56810c Merge branch 'task/v2_aware_component_and_test_gates' into 'master'
fix(components): linux host-build failure fixes+ disable esp_tee in buildv2 + esp_hw_support and xtensa fixes

See merge request espressif/esp-idf!48743
2026-05-26 13:09:58 +02:00
gaoxu
43317018d1 refactor(rng): use adc_ll apis for ESP32-h4 and refactor rng_ll_enable/disable 2026-05-26 19:02:41 +08:00
Rahul Tank
f2ff83ac2e fix(nimble): Removed prints causing excessive logging 2026-05-26 16:16:57 +05:30
Rahul Tank
51bd9a27c4 Merge branch 'bugfix/nimble_hid_fixes_lock' into 'master'
fix(nimble): Avoid deadlock caused by local writes taking s_hidd_mutex

See merge request espressif/esp-idf!48853
2026-05-26 15:55:06 +05:30
Wang Lei
041aa425fa Merge branch 'fix/cache_wb_patch_skip_bootloader' into 'master'
fix(esp_rom): Cache_WriteBack_All patch should skip bootloader

See merge request espressif/esp-idf!48901
2026-05-26 18:01:01 +08:00
Mahavir Jain
716391b19e Merge branch 'fix/tls-session-verify-and-hostname-warn' into 'master'
Draft: fix(esp-tls): fix TLS session resumption bypassing CA verification and clarify skip_common_name behavior

See merge request espressif/esp-idf!47426

Related https://github.com/espressif/esp-idf/issues/9392
2026-05-26 15:20:43 +05:30
Ashish Sharma
3282de557e fix(esp_http_server): take ctrl_sock_semaphore on shutdown and async wake
httpd_stop() and httpd_req_async_handler_complete() both pushed
messages onto the control mbox via cs_send_to_ctrl_sock() without
reserving a slot in ctrl_sock_semaphore. Once the silent-drop fix
made the semaphore unconditional, the bypass became a real bug:
when the mbox is saturated by pending httpd_queue_work() items the
unguarded sendto() can return ENOBUFS, and even when it succeeds it
leaves the semaphore overstating free slots until the consumer
drains the message — a window during which a concurrent
httpd_queue_work() can take a slot but still find the mbox full.

Acquire the semaphore (portMAX_DELAY) before both sends and give it
back on send failure so the take/give invariant is preserved. The
httpd task is the consumer in both paths, so blocking is bounded
and deadlock-free. Reword the stale "no-op give on full" comment in
httpd_process_ctrl_msg() to reflect that only the recv-error path
relies on the cap behavior now.
2026-05-26 17:21:24 +08:00
Ashish Sharma
c911c781ae fix(esp_http_server): prevent silent message drop in httpd_queue_work
Closes https://github.com/espressif/esp-idf/issues/18563
2026-05-26 17:21:23 +08:00
Wu Zheng Hui
574b843868 Merge branch 'change/optimize_sleep_gpio_configure' into 'master'
change(sleep_gpio): streamline GPIO sleep configuration logic

See merge request espressif/esp-idf!48845
2026-05-26 17:14:06 +08:00
Island
833c55e867 Merge branch 'fix/fixed_an_acl_timeout_issue' into 'master'
fix(ble): Updated libble[a7487a7] and libbtdm[9ce603a]

See merge request espressif/esp-idf!48830
2026-05-26 17:09:06 +08:00
Marius Vikhammer
0772dc6bf4 ci(ulp): re-enable multi dev tests for S31 ULP 2026-05-26 16:22:29 +08:00
Sudeep Mohanty
301eeba878 Merge branch 'task/buildv2_hygiene_and_dep_declarations' into 'master'
fix(components): generic dep-declaration and scope-leakage hygiene exposed by cmakev2

See merge request espressif/esp-idf!48739
2026-05-26 10:18:22 +02:00
Laukik Hase
8abc7269d1 ci(esp_tee): Add fuzzing tests for verifying service call behaviour 2026-05-26 13:13:45 +05:30
Scramble Tools
3d54178bc6 fix(esp_eth): use stored base_increment when computing PTP addend
The addend in `emac_hal_ptp_start()` was derived from the floating-point
`config->ptp_req_accuracy_ns` instead of the integer `base_increment`
register that actually drives the sub-second update. The cast to
`uint8_t` loses the fractional part, so the un-corrected addend leaves
the PTP clock running off-rate.

Example: with a 40 MHz XTAL and the default `req_accuracy_ns = 40`,
`base_increment` rounds 85.899 up to 86, leaving the clock +1170 ppm
fast — well outside the IEEE 802.1AS neighborRateRatio limit (~±200
ppm), so strict-1AS bridges refuse asCapable.

Compute the addend from the stored `base_increment` for both rollover
modes: `addend = 2^32 * clk_period_ns / increment_ns`.

Measured on ESP32-P4: neighborRateRatio drops from +1147.5 ppm to
+4.2 ppm, and asCapable is granted.

Co-authored-by: Ondrej Kosta <panzer412@gmail.com>
2026-05-26 00:00:44 -07:00
Tomáš Rohlínek
92725e92d5 fix(esp_stdio): add fd-table locking, per-fd flag checks, and Kconfig cleanup 2026-05-26 08:56:51 +02:00