Commit Graph

51375 Commits

Author SHA1 Message Date
luweike acacfc9234 docs: Fix BLE get-started adv comments and typos 2026-04-10 12:09:33 +08:00
Gao Xu 6a003df617 Merge branch 'fix/adc_clk_div_error' into 'master'
Fix ADC continuous sample frequency and clock divide error on H2/C5/C61

See merge request espressif/esp-idf!47367
2026-04-10 11:05:45 +08:00
Hou Hai Yan 484e56869c Merge branch 'feature/esp32p4_h264_regdma_retention' into 'master'
feat(esp32p4): add H264 REGDMA link and sleep retention module

See merge request espressif/esp-idf!47209
2026-04-10 10:30:43 +08:00
Jiang Jiang Jian ef96568adb Merge branch 'fix/update_ot_mbedtls_version' into 'master'
ci(openthread): include mbedtls in openthread dependencies

See merge request espressif/esp-idf!47425
2026-04-10 10:17:45 +08:00
Martin Vychodil a8136c5a20 Merge branch 'fix/fatfsgen-sfn-ascii-numeric-tail' into 'master'
fix(fatfs): fix SFN generation from LFN (numeric tail ASCII encoding, switching to CRC hex numbers to mirror FATFS logic, etc.)

Closes IDF-15479

See merge request espressif/esp-idf!46828
2026-04-09 23:43:58 +08:00
Tan Yan Quan 1241f06425 ci(openthread): include mbedtls in openthread dependencies 2026-04-09 19:34:14 +08:00
Adam Múdry d8c30644c7 fix(fatfs): fix formatting in relevant python files to satisfy pre-commit check 2026-04-09 12:56:30 +02:00
Adam Múdry 1d0d45f203 fix(fatfs): fix a bug in SFN generation from LFN and rewrite to match C algorithm
Rewrite build_lfn_short_entry_name() and add _gen_numname_suffix() helper
to match the gen_numname() algorithm in ff.c. This fixes:

- chr(order) producing raw binary instead of ASCII digits
- Collision for order >= 10 when str(order) makes the name exceed 8 chars
- Hex suffix with dynamic stem shortening (matching C implementation)
- CRC16-CCITT hash for seq > 5 to reduce collision probability

Also fix LDIR_Name2_SIZE typo in long_filename_utils.py (should be
LDIR_Name3_SIZE), which made the assertion guard too permissive.

Add ShortFilenameGenerationTestCase with 9 unit tests covering single-digit,
multi-digit, hash-based, and collision-free generation scenarios.
2026-04-09 12:53:43 +02:00
Armando (Dou Yiwen) 17f8e9c6d5 Merge branch 'fix/fix_xip_example_s31' into 'master'
psram: fix xip example s31

Closes IDF-15526

See merge request espressif/esp-idf!47409
2026-04-09 09:49:40 +00:00
Jaroslav Burian 4f0407e7c7 Merge branch 'fix/mmu-page-size-always-pass' into 'master'
change(esptool_py): always pass --flash-mmu-page-size to elf2image

Closes IDF-12220

See merge request espressif/esp-idf!47002
2026-04-09 17:31:43 +08:00
armando bb2fd61013 fix(xip): fixed xip example 2026-04-09 16:58:03 +08:00
Island 57ad8c89ab Merge branch 'change/ble_update_lib_20260409' into 'master'
change(ble): [AUTO_MR] 20260409 - Update ESP BLE Controller Lib

Closes BLERP-2638, BLERP-2641, BLERP-2640, BLERP-2613, BLERP-2605, BLERP-2477, BLERP-2632, BLERP-2633, BLERP-2626, BLERP-2601, BLERP-2471, BLERP-2599, BLERP-2598, BLERP-2625, BLERP-2512, BLERP-2676, BLERP-2683, BLERP-2681, and BLERP-2682

See merge request espressif/esp-idf!47388
2026-04-09 16:19:29 +08:00
Xu Si Yu b07620afb6 Merge branch 'feat/radio_spinel_driver_interface_optimization' into 'master'
feat(openthread): optimize radio spinel uart interface

Closes TZ-2415

See merge request espressif/esp-idf!46229
2026-04-09 14:50:50 +08:00
Alexey Lapshin 5b17b4b0ac Merge branch 'fix/esp32s31_mepc_on_async_bus_failure' into 'master'
feat(soc): ESP32-S31: enable SOC_ASYNCHRONOUS_BUS_ERROR_MODE

Closes IDFCI-10299 and IDF-14677

See merge request espressif/esp-idf!47283
2026-04-09 10:20:22 +04:00
Shu Chen 4457821b9a Merge branch 'fix/remove_psa_key_export_from_enhack_gen' into 'master'
fix(openthread): pre-export PSA key bytes in task context to fix ISR mutex crash

Closes IDFCI-9077

See merge request espressif/esp-idf!47224
2026-04-09 06:05:07 +00:00
Mahavir Jain 85f390cbfa Merge branch 'feat/check_crlf_http_server_response_headers' into 'master'
feat(esp_http_server): adds check for crlf in response creation

See merge request espressif/esp-idf!47076
2026-04-09 11:26:43 +05:30
Mahavir Jain ff58d2e93d Merge branch 'fix/x509_bundle_replace_unreliable_url' into 'master'
fix(examples): replace unreliable external URL in https_x509_bundle example

Closes IDFCI-3853, IDFCI-7715, and IDFCI-6393

See merge request espressif/esp-idf!47328
2026-04-09 10:07:18 +05:30
Island 45b2eebaf9 Merge branch 'feat/remove_led_from_ble_mesh_examples' into 'master'
refactor(ble_mesh): remove LED hardware dependency from examples

See merge request espressif/esp-idf!47308
2026-04-09 11:20:35 +08:00
zhaoweiliang d7bfbef862 feat(ble): add adv tx options on ESP32-C5 2026-04-09 11:11:52 +08:00
zhaoweiliang 8ef46541cd feat(ble): add adv tx options on ESP32-H2 2026-04-09 11:11:52 +08:00
zhaoweiliang e85bb5cca8 feat(ble): add adv tx options on ESP32-C6 2026-04-09 11:11:52 +08:00
zhaoweiliang 24d0f0fad1 change(ble): [AUTO_MR] Update lib_esp32c6 to c9fbba6f 2026-04-09 11:11:52 +08:00
zhaoweiliang a23c9acab7 change(ble): [AUTO_MR] Update lib_esp32c5 to c9fbba6f 2026-04-09 11:11:52 +08:00
zhaoweiliang 9bfcc76221 change(ble): [AUTO_MR] Update lib_esp32h2 to c9fbba6f 2026-04-09 11:11:52 +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
Alexey Lapshin 08b423a06b feat(soc): ESP32-S31: enable SOC_ASYNCHRONOUS_BUS_ERROR_MODE
- Enable SOC_ASYNCHRONOUS_BUS_ERROR_MODE to correct MEPC value when debugging.
- Enable gdbstub test_hwloop_jump and test_coproc_registers
2026-04-09 10:39:17 +08:00
gaoxu 6a1acf22b1 fix(adc): fix ESP32-H2/C5/C61 clock divide error 2026-04-09 10:27:01 +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
zwx a60e8a66c5 fix(openthread): pre-export PSA key bytes in task context to fix ISR mutex crash 2026-04-08 11:40:47 +00:00
Xu Si Yu 2d1cbe418c feat(openthread): optimize radio spinel uart interface 2026-04-08 19:16:02 +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
gaoxu 254e545097 ci(adc): add adc continuous sample frequency test 2026-04-08 16:55:29 +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