Commit Graph

51341 Commits

Author SHA1 Message Date
LiPeng a8b5b8d582 fix(fatfs): fix a memory leak bug when FF_USE_DYN_BUFFER was enabled 2026-04-21 11:54:39 +08:00
Armando (Dou Yiwen) 9a41bbaf7d Merge branch 'fix/fix_mmu_dirom_reserve_search_logic' into 'master'
mmu: fixed drom/irom reservation bus cap search logic

Closes IDFCI-10308

See merge request espressif/esp-idf!47357
2026-04-09 02:58:00 +00:00
morris e8e56399d3 Merge branch 'feat/gpio_glitch_filter_esp32s31' into 'master'
feat(gpio): support glitch filter on esp32s31

Closes IDF-14781

See merge request espressif/esp-idf!47353
2026-04-09 10:57:37 +08:00
Jiang Jiang Jian 511e824085 Merge branch 'bugfix/oob_read_in_continue_packet' into 'master'
fix(bt/bluedroid): fixed ACL reassembly dropping valid continuation fragments

Closes IDFGH-17468 and BT-4309

See merge request espressif/esp-idf!47345
2026-04-09 10:51:03 +08:00
Wang Ning 0a51e5afbc Merge branch 'contrib/github_pr_18395' into 'master'
docs: fix uninstall command in EIM guide (GitHub PR)

Closes IDFGH-17435

See merge request espressif/esp-idf!47180
2026-04-09 10:47:57 +08:00
Ashish Sharma 9172b31d56 Merge branch 'feat/reenable_rsa_4096_key_perf_test' into 'master'
fix(mbedtls): reenable RSA 4096 bit key performance test

See merge request espressif/esp-idf!47228
2026-04-09 10:14:27 +08:00
morris 5e7475356e Merge branch 'feat/enable_dma_test_on_s31' into 'master'
feat(gdma): enable gdma test on s31

Closes IDF-15527

See merge request espressif/esp-idf!47259
2026-04-09 09:54:38 +08:00
Igor Masar 0b695dbe20 Merge branch 'feat/esp32s31_usb_support' into 'master'
feat(usb): add ESP32-S31 DWC/UTMI support

See merge request espressif/esp-idf!46329
2026-04-09 01:44:30 +08:00
Chen Jichang 6292860255 feat(gdma): enable gdma test on s31 2026-04-08 23:12:04 +08:00
Fu Hanxi 508ba7ae04 Merge branch 'ci/pre-commit-idf-ci' into 'master'
ci: fix pre-commit idf-ci version

See merge request espressif/esp-idf!47366
2026-04-08 16:01:00 +02:00
igor.udot 901eeae406 ci: enable filter_non_test_related_apps_by_modified_files 2026-04-08 15:48:28 +02:00
igor.udot 1509d7493d ci: fix pre-commit idf-ci version 2026-04-08 15:48:18 +02:00
Alexey Lapshin 1735ec860d Merge branch 'feat/refactor_bootloade_linker_scripts' into 'master'
feat(bootloader): split linker scripts into memory and sections

Closes IDF-14119

See merge request espressif/esp-idf!47250
2026-04-08 16:47:14 +04:00
Jin Cheng 8999e14df8 fix(bt/bluedroid): moved L2CAP length check into start packets only 2026-04-08 20:13:37 +08:00
Jon Gilmore 25ddfaab1c fix(bt/bluedroid): fix ACL reassembly dropping valid continuation fragments
The minimum length check in `reassemble_and_dispatch()` applied the START packet minimum (`HCI_ACL_PREAMBLE_SIZE + L2CAP_LENGTH_SIZE` = 8 bytes) to **all** ACL packets, including continuation fragments. Continuation fragments only carry the 4-byte ACL preamble (handle + length) with no L2CAP header, so small but valid continuations (5-7 bytes) were incorrectly rejected as "too short."

This caused the first L2CAP PDU in a rapid burst of BLE GATT indications to be silently dropped. The partial reassembly was orphaned, then discarded when the next indication's START fragment arrived, producing:

```
E BT_HCI: ACL packet too short (len=5)
W BT_HCI: reassemble_and_dispatch found unfinished packet for handle with start packet. Dropping old.
```

Parse the ACL preamble first (requires only 4 bytes) to determine the boundary flag, then apply the L2CAP length check only to START packets. Continuation packets are now accepted with the correct minimum of `HCI_ACL_PREAMBLE_SIZE` (4 bytes).

- ESP32-S3 connected to a BLE peripheral that fragments indications at 40 bytes per L2CAP PDU
- Peripheral sends 8+ indications within ~200ms (burst of state changes)
- The final continuation fragment of the first indication is small (5-6 bytes after type stripping)
- 100% reproducible on every burst; confirmed on ESP-IDF 5.5.3, 5.5.4, and 6.0.0

Verified on ESP32-S3 with a Sub-Zero wall oven (SO3050PESP, firmware 8.5):
- **Before fix:** First indication in every burst lost (ACL reassembly failure)
- **After fix:** All indications in burst delivered correctly, including when the final continuation fragment is 5-6 bytes

Closes https://github.com/espressif/esp-idf/issues/18414
2026-04-08 20:08:49 +08:00
morris 2994fca5ba Merge branch 'feat/esp32s31-rmt-support' into 'master'
feat(rmt): enable RMT support on esp32s31

Closes IDF-14794

See merge request espressif/esp-idf!47152
2026-04-08 18:46:54 +08:00
Fu Hanxi bb2b0ada18 Merge branch 'revert-18c5cab8' into 'master'
Revert "Merge branch 'ci/filter_non_test_related_apps_by_modified_files' into 'master'"

See merge request espressif/esp-idf!47369
2026-04-08 12:40:44 +02:00
Tinyu 622ed5335a docs: fix uninstall command in EIM guide 2026-04-08 18:21:01 +08:00
Igor Udot 1d6e673283 Revert "Merge branch 'ci/filter_non_test_related_apps_by_modified_files' into 'master'"
This reverts merge request !47321
2026-04-08 18:13:01 +08:00
Marius Vikhammer 051a116979 Merge branch 'feature/esp_cpu_testcoverage' into 'master'
Add esp_cpu API test coverage

Closes IDF-4920

See merge request espressif/esp-idf!46945
2026-04-08 17:19:49 +08:00
morris d630f83f7d Merge branch 'fix/fix_lcd_cmd_bypassd_unexpectedly' into 'master'
fix(lcd): fix lcd cmd be bypassd unexpectedly

See merge request espressif/esp-idf!46960
2026-04-08 16:28:39 +08:00
Mahavir Jain c99e4d34e9 Merge branch 'fix/esp_tee_bbp' into 'master'
fix(esp_tee): Add missing input validation checks for TEE service calls

See merge request espressif/esp-idf!47149
2026-04-08 13:41:39 +05:30
Marius Vikhammer f2f80f3aa8 Merge branch 'feature/wdt_rom_patch_slim' into 'master'
fix(esp_hal_wdt): reduce IRAM usage of WDT init ROM patch

See merge request espressif/esp-idf!47340
2026-04-08 16:10:53 +08:00
igor.masar 9ab7d5eb03 feat(usb): add ESP32-S31 DWC/UTMI support
Add ESP32-S31 USB DWC/UTMI LL headers, SoC register structures, peripheral
descriptors, capabilities, and linker mappings so the HS OTG controller and
UTMI PHY can be built in esp_hal_usb.

Introduce SOC_USB_FSLS_PHY_NUM on USB-OTG targets to separate FSLS USB_WRAP
support from OTG/UTMI support. Use it to gate usb_wrap, the USB PHY driver,
docs, and example build rules on targets without an FSLS PHY.

Also add UTMI data pulldown control to the HAL, clear the boot-time DWC
suspend state on ESP32-S31, alias the legacy internal PHY target to UTMI for
backward compatibility, and extend usb_phy tests for UTMI-only targets.
2026-04-08 16:01:28 +08:00
Marius Vikhammer edb0e8dba9 Merge branch 'ci/fix_freertos_s31_perf_limits' into 'master'
test: align esp32s31 freertos perf limits

Closes IDFCI-10315 and IDFCI-10316

See merge request espressif/esp-idf!47355
2026-04-08 16:00:13 +08:00
Igor Udot 18c5cab899 Merge branch 'ci/filter_non_test_related_apps_by_modified_files' into 'master'
Ci/filter non test related apps by modified files

See merge request espressif/esp-idf!47321
2026-04-08 15:15:44 +08:00
morris e69f2c8346 refactor(gpio): derive SDM registers from GPIO_EXT
Use GPIO_EXT.sigma_delta as the SDM register base on GPIO_EXT-based targets and remove standalone SDM symbols to eliminate manual offset/address maintenance risks.
2026-04-08 15:07:27 +08:00
morris 572e732aca refactor(gpio): derive ETM registers from GPIO_EXT
Use GPIO_EXT.etm as the ETM register base and remove standalone GPIO_ETM symbols to avoid manual offset address maintenance errors across targets.
2026-04-08 15:07:27 +08:00
morris b79cf6d8eb feat(gpio): support glitch filter on esp32s31 2026-04-08 15:07:27 +08:00
armando ca135856c1 fix(mmu): fixed drom/irom reservation bus cap search logic 2026-04-08 15:02:27 +08:00
Ashish Sharma a858f1683d fix(mbedtls): reenable RSA 4096 bit key performance test 2026-04-08 14:54:04 +08:00
Marius Vikhammer 54c6851bf1 test: align esp32s31 freertos perf limits
ESP32-S31 scheduling and spinlock benchmarks match the relaxed P4 thresholds
better than the generic limits, so use those limits to keep the
FreeRTOS perf cases stable.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-08 14:46:25 +08:00
Rahul Tank 25d8f3c269 Merge branch 'bugfix/fix_dtm_end_test' into 'master'
fix(nimble): Fix DTM test end packet count parsing

Closes BLERP-2687

See merge request espressif/esp-idf!47327
2026-04-08 12:14:06 +05:30
Marius Vikhammer c65908a719 Merge branch 'feature/s31_core_ci_enable' into 'master'
test: enable pthread tests on esp32s31 and esp32p4

Closes IDF-14683

See merge request espressif/esp-idf!47348
2026-04-08 14:37:05 +08:00
morris 5c55b812be Merge branch 'feat/bitscrambler_esp32s31' into 'master'
feat(bitscrambler): add esp32s31 support

Closes IDF-14714

See merge request espressif/esp-idf!47338
2026-04-08 14:07:56 +08:00
Marius Vikhammer 7b58b459c0 test: enable pthread tests on esp32s31 and esp32p4
Run the pthread functional suite on targets that are ready in CI.
2026-04-08 14:01:09 +08:00
Zhang Wen Xu 710f133604 Merge branch 'bugfix/fix_ot_ci_testcases' into 'master'
ci: improve BR host related test cases

See merge request espressif/esp-idf!47089
2026-04-08 02:35:01 +00:00
morris ae8acf82e7 feat(rmt): enable RMT support on esp32s31
Enable esp32s31 RMT caps and clock source definitions for
esp_driver_rmt.

Add esp32s31 RMT LL/periph hooks, sleep retention metadata, and RMTMEM
linker symbol.
2026-04-08 10:17:10 +08:00
Marius Vikhammer ae710978ae Merge branch 'ci/esp32s31_intr_dump_expected_output' into 'master'
ci(esp_intr_dump): add expected output for esp32s31

Closes IDFCI-10298

See merge request espressif/esp-idf!47347
2026-04-08 10:14:23 +08:00
morris 425966f88f Merge branch 'feat/etm_esp32s31' into 'master'
feat(etm): add ETM LL and GPIO ETM support on esp32s31

Closes IDF-14724 and IDF-14786

See merge request espressif/esp-idf!47247
2026-04-08 10:08:24 +08:00
Armando (Dou Yiwen) f8f5e99cb4 Merge branch 'feat/cache_s31' into 'master'
cache: driver support and panic support on s31

Closes IDF-14650, IDF-14651, and IDFCI-10314

See merge request espressif/esp-idf!47156
2026-04-08 02:06:44 +00:00
morris 11f76780cc feat(bitscrambler): support driver on esp32s31 2026-04-08 09:53:21 +08:00
Marius Vikhammer 82c1f71d96 ci(esp_intr_dump): add expected output for esp32s31 2026-04-08 09:43:21 +08:00
Marius Vikhammer 8e1dba70f6 Merge branch 'ci/disable_flash_suspend_test_s31' into 'master'
ci(esp32s31): skip flash_suspend rtc_clk test until runners available

See merge request espressif/esp-idf!47346
2026-04-08 09:40:36 +08:00
Marius Vikhammer 380dde02d0 ci(esp32s31): skip flash_suspend rtc_clk test until runners available
No esp32s31 boards are registered in the flash_suspend runner pool yet.
The test_rtc_clk_flash test targets all SOC_CLK_TREE_SUPPORTED chips and
creates a flash_suspend CI job for esp32s31 that immediately fails with
no runner assigned. Add a temp_skip_ci matching the existing pattern for
esp32h2.

Tracked in IDF-15531.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-08 09:12:36 +08:00
Martin Vychodil 7a85a4b89d Merge branch 'fix/fatfs_instance_init' into 'master'
Fix: various FATFS/VFS fixes

Closes IDF-15530

See merge request espressif/esp-idf!47336
2026-04-08 03:29:52 +08:00
Marius Vikhammer c34049a323 fix(esp_hal_wdt): reduce IRAM usage of WDT init ROM patch
The ROM patch for chips missing clock source configuration in wdt_hal_init
was re-implementing the full function in IRAM. Instead, delegate to the ROM
version and only append the missing clock configuration afterwards, saving
~550 bytes of IRAM.
2026-04-07 20:14:26 +08:00
Ren Peiying 443d4705b7 Merge branch 'docs/add_cn_trans_to_intr_alloc' into 'master'
docs: Update CN translation for intr_alloc

Closes DOC-14112

See merge request espressif/esp-idf!47025
2026-04-07 19:16:48 +08:00
Martin Vychodil 85ead6f5d4 fix(fatfs): Added tests for FATFS re-registration and VFS adapter early returns 2026-04-07 13:12:54 +02:00
Martin Vychodil 8240eea180 fix(fatfs): Fixed VFS adapter early return paths 2026-04-07 13:12:42 +02:00