Commit Graph

38629 Commits

Author SHA1 Message Date
Jakub Kocka
d6771a0608 change(tools): Unified outputs of various standalone scripts (esp-pylib) 2026-09-09 09:43:59 +02:00
Island
22ade8b843 Merge branch 'bugfix/fix_iso_tx_power_update_fail' into 'master'
feat(iso): Support set ble iso tx power

See merge request espressif/esp-idf!52570
2026-09-09 15:05:44 +08:00
Marius Vikhammer
86837ab6fc Merge branch 'feat/hwloop_esp32p4_v3_0' into 'master'
fix(freertos): update HWLP state bug condition for ESP32P4 revision checks

See merge request espressif/esp-idf!52569
2026-09-09 15:01:01 +08:00
Island
4cf9d611e6 Merge branch 'idf/ble_audio_broadcast_assistant' into 'master'
feat(ble_audio): Add BAP Broadcast Assistant example

See merge request espressif/esp-idf!52480
2026-09-09 14:56:03 +08:00
Island
235fea6e60 Merge branch 'bugfix/fix_iso_data_len_get' into 'master'
fix(iso): correct ISO data length mask from 0x7fff to 0x3fff

See merge request espressif/esp-idf!51509
2026-09-09 14:38:27 +08:00
Island
5a2500deb9 Merge branch 'fix/esp32-ble-dtm-txbuf-leak' into 'master'
Fix DTM TX buffer leak in the BLE controller that could cause memory exhaustion and Interrupt WDT timeout during or after DTM TX tests.

Closes BLERP-3072 and BLERP-3097

See merge request espressif/esp-idf!52250
2026-09-09 14:37:42 +08:00
Island
fbd01a4878 Merge branch 'feat/opt_prefer_bond_device_when_evicting_overflow_bonds' into 'master'
fix(bt/bluedroid): prefer disconnected peers when evicting overflow bonds

See merge request espressif/esp-idf!51883
2026-09-09 14:37:39 +08:00
Jiang Jiang Jian
716e9e5121 Merge branch 'fix/fix_cryto_module_locked_after_pd_top_lslp' into 'master'
fix(esp_hw_support): fix cryto module locked after pd_top lightsleep

Closes WIFIBUG-2126 and PM-861

See merge request espressif/esp-idf!52460
2026-09-09 13:59:46 +08:00
Rahul Tank
752db18455 Merge branch 'bugfix/fix_coex_crash' into 'master'
fix(nimble): Prevent crash in deinit when host init was not completed

See merge request espressif/esp-idf!52104
2026-09-09 11:09:08 +05:30
morris
c565262ded Merge branch 'bugfix/ppa_srm_stuck_on_dma_2' into 'master'
fix(ppa): fix for SRM operation potential block if do 90/270 degree rotation

Closes IDFGH-18204 and IDFGH-17870

See merge request espressif/esp-idf!49657
2026-09-09 11:55:27 +08:00
morris
8284596d78 Merge branch 'feat/gdma_burst_size_fallback' into 'master'
fix(gdma): treat burst size 0 and 1 as burst disabled

See merge request espressif/esp-idf!52209
2026-09-09 11:05:33 +08:00
Ashish Sharma
5286f60b26 Merge branch 'test/esp_http_client_characterization' into 'master'
test(esp_http_client): add mock transport and basic characterization tests

See merge request espressif/esp-idf!52212
2026-09-09 11:04:25 +08:00
Island
d82c0b546d Merge branch 'bugfix/fxied_btdm_mempool_compilation_issue' into 'master'
fix(ble): fixed porting_btdm compilation issue for esp32-s31/h4

See merge request espressif/esp-idf!52433
2026-09-09 11:01:14 +08:00
Liu Linyan
19b8637502 feat(ble_audio): Add BAP Broadcast Assistant example 2026-09-09 09:51:40 +08:00
Marius Vikhammer
3c633f037d Merge branch 'feat/sys_event_in_freertos' into 'master'
feat(system_init): Introduce pre-scheduler and pre-app main handler registrations

Closes IDF-16133

See merge request espressif/esp-idf!52296
2026-09-09 09:28:52 +08:00
morris
f5afb99e3b fix(gdma): treat burst size 0 and 1 as burst disabled
The GDMA layer used `max_data_burst_size == 0` as the only way to disable the
data burst. That conflicts with the upstream drivers' convention where a zeroed
config struct means "unset", so users had no way to ask for the driver default
burst size.

GDMA now treats both 0 and 1 as "no data burst": a single-beat burst has no
benefit over the non-burst mode. The MSPI alignment constraint under Flash
Encryption / PSRAM ECC still takes precedence and is reported with a warning.

The upstream drivers using GDMA now apply their own default burst size (16
bytes) when the user leaves `dma_burst_size` as 0, following the UHCI driver:

- esp_async_crc (AHB / AXI GDMA backend)
- esp_async_memcpy (AHB / AXI / LP-AHB / DW_GDMA backend)

Callers that really want no burst can now set `dma_burst_size` to 1.
2026-09-08 23:29:14 +08:00
Alexey Gerenkov
837d6d276e Merge branch 'fix/nonstring_attr_declaration' into 'master'
fix(esp_common): detect nonstring attribute with __has_attribute

See merge request espressif/esp-idf!52544
2026-09-08 20:06:42 +08:00
Mahavir Jain
7fc2aafb21 Merge branch 'fix/ecdsa_hmac_ds_locking' into 'master'
fix(esp_security): Stop ECDSA and Key Manager resets from corrupting concurrent crypto

See merge request espressif/esp-idf!52183
2026-09-08 17:28:54 +05:30
wangjialiang
bfc81683e7 fix(iso): correct ISO data length mask from 0x7fff to 0x3fff 2026-09-08 19:47:58 +08:00
wangjialiang
2114bea2bc feat(iso): Support set ble iso tx power 2026-09-08 19:10:28 +08:00
Rahul Tank
9b60123e4f fix(nimble): Prevent crash in deinit when host init was not completed 2026-09-08 16:20:50 +05:30
Michael (XIAO Xufeng)
66840f7d40 Merge branch 'fix/c5_cpu_freq_help_leftover' into 'master'
fix(esp_system): remove leftover CPU frequency workaround help on ESP32-C5

See merge request espressif/esp-idf!52170
2026-09-08 18:50:23 +08:00
Alexey Gerenkov
88462c1ac9 Merge branch 'riscv_panic_bp_fix' into 'master'
fix(esp_system/panic): ensure breakpoint set from panic handler gets hit afterwards

See merge request espressif/esp-idf!51694
2026-09-08 18:23:32 +08:00
Song Ruo Jing
2ac73eb1fa fix(ppa): add check for SRM scaled block size to be not odd for YUV cm 2026-09-08 18:08:03 +08:00
Song Ruo Jing
469aa16c35 fix(ppa): fix for SRM operation potential block if do 90/270 degree rotation
Closes https://github.com/espressif/esp-idf/pull/18768
Closes https://github.com/espressif/esp-idf/issues/19023
2026-09-08 18:08:03 +08:00
Konstantin Kondrashov
2c6803bd8e fix(freertos): update HWLP state bug condition for ESP32P4 revision checks 2026-09-08 13:06:58 +03:00
morris
cd808c9eb7 Merge branch 'fix/brownout_value_h4_h21' into 'master'
fix(brownout): Fixed threshold value for esp32h4 and esp32h21

See merge request espressif/esp-idf!51908
2026-09-08 17:46:54 +08:00
harshal.patil
de3a510a18 fix(esp_security): cover the crypto reset coupling in the driver locks
A peripheral's reset also resets the ones it occupies, so a lock has to cover
both. Gate the ECDSA MPI lock on SOC_ECDSA_USES_MPI rather than the runtime
ecdsa_ll_is_mpi_required() and set that capability on C5, lock the Key Manager
path in esp_key_mgr.c, clean HMAC after its reset, and enable DS before the
primitives its reset covers.
2026-09-08 14:03:50 +05:30
radek.tandler
6f6e2aa93c fix(mbedtls): Fix mbedtls testapps false memory leaks by lazy mutex creation 2026-09-08 14:03:50 +05:30
radek.tandler
ce27a6e7e0 fix(esp_security): Stop ECDSA and Key Manager resets from corrupting concurrent crypto
ECDSA enable pulses a reset that also holds SHA in reset, and SHA shares
its DMA with AES. Key Manager enable pulses a reset that also covers the
XTS-AES flash encryption key-usage selector. Neither path was serialized
against those victims, so a hardware ECDSA/HMAC/DS operation could
corrupt a concurrent SHA/AES transfer or an in-flight encrypted flash
read.

- Take the SHA/AES lock inside esp_crypto_ecdsa_lock_acquire(), before
  MPI, matching the DS lock order (sha_aes < mpi)
- Add esp_crypto_key_mgr_enable_periph_clk_no_reset() and switch ECDSA,
  HMAC and DS to it; they only need the key-usage selector writable
- Hold esp_crypto_key_manager_lock across those clock enable/disable
  pairs so selector writes stay serialized without resetting KM
2026-09-08 14:03:50 +05:30
Aditya Patwardhan
b10ae7f167 Merge branch 'fix/s31_nist_rng_error' into 'master'
RNG: initialize TRNG NIST path and complete RNG registers for ESP32-S31

Closes IDF-16088

See merge request espressif/esp-idf!51931
2026-09-08 12:39:03 +05:30
C.S.M
8e5b83e7cc fix(brownout): Fixed threshold value for esp32h4 and esp32h21 2026-09-08 14:21:36 +08:00
Wang Meng Yang
18d728b755 Merge branch 'bugfix/wrong_bredr_tx_power_table' into 'master'
fix(bt): fixed use of wrong function to get BR/EDR power table on ESP32-S31

See merge request espressif/esp-idf!52481
2026-09-08 14:08:05 +08:00
Alexey Lapshin
ad50ada234 fix(esp_common): detect nonstring attribute with __has_attribute 2026-09-08 11:44:56 +07:00
Jiang Jiang Jian
8961d6b136 Merge branch 'fix/fix_issues_when_support_multiple_phy_init_data' into 'master'
fix(phy): fix issues when support multiple phy init data

Closes WIFI-7610

See merge request espressif/esp-idf!52173
2026-09-08 11:44:49 +08:00
Island
20049c62c0 Merge branch 'idf/ble_audio_lock_update' into 'master'
feat(ble_audio): Miscellaneous update for BLE ISO & BLE Audio safe calling

See merge request espressif/esp-idf!52346
2026-09-08 11:35:05 +08:00
Mahavir Jain
84a6967aa1 Merge branch 'feat/add_sm3_hash_support_and_testcases' into 'master'
add SM3 hash support and testcases

See merge request espressif/esp-idf!44830
2026-09-08 09:02:41 +05:30
Jiang Jiang Jian
4e7adb0f26 Merge branch 'fix/brownout_restore_after_deepsleep_reject' into 'master'
fix(esp_hw_support): restore brownout after deep sleep rejection on ESP32-S2

Closes PM-519

See merge request espressif/esp-idf!52475
2026-09-08 11:05:01 +08:00
wuzhenghui
4bcc24ca6b test(mbedtls): smoke-test crypto HW after PD_TOP lightsleep
Add a mbedtls_ut case that enters TOP PD light sleep then runs minimal
AES/SHA/MPI/ECC/ECDSA ops, catching crypto modules left unusable after wake.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-08 10:53:40 +08:00
Marius Vikhammer
25555683b9 Merge branch 'feature/g1_improvements_cmake_v2' into 'master'
feat(build): fixed esp_usb_cdc_rom_console always being included in build

See merge request espressif/esp-idf!51981
2026-09-08 10:36:40 +08:00
Island
c58d2e92b5 Merge branch 'fix/fix_phy_fe_retention_when_wifi_not_init' into 'master'
fix(btbb): allow FE retention when wifi enhanced light sleep enabled

Closes BT-4496

See merge request espressif/esp-idf!52520
2026-09-08 10:25:05 +08:00
Michael.B
5dfa6c49de fix(esp_system): remove leftover CPU frequency workaround help on ESP32-C5
Relates to https://github.com/espressif/esp-idf/issues/19010
2026-09-08 03:29:23 +08:00
Martin Vychodil
c712a0dde3 Merge branch 'fix/sdmmc_wait_for_idle_busy_poll_starving_cpu_cores' into 'master'
fix(sdmmc): back off between CMD13 polls while waiting for card to be ready

Closes IDFGH-18218

See merge request espressif/esp-idf!52336
2026-09-07 20:32:43 +08:00
zhanghaipeng
b9b9b8633f fix(bt): remove noisy OSI event handler enter/exit debug logs
These per-event traces fire on every async dispatch and flood BT logs
without aiding diagnosis; higher-layer traces remain for debugging.
2026-09-07 20:31:31 +08:00
zhanghaipeng
ab7bb35192 fix(bt): update ESP32 libbtdm_app.a to 919c7f4b
- fixed dtm tx buffer leak issue
2026-09-07 20:31:31 +08:00
Jiang Jiang Jian
4b62443e1e Merge branch 'bugfix/qos_not_reported' into 'master'
fix(bt/controller): update ESP32 libbtdm_app.a to fix missing QoS_Setup_Cmpl event

Closes BTQABR2023-901

See merge request espressif/esp-idf!52489
2026-09-07 20:12:47 +08:00
cjin
33bfea1b69 fix(btbb): allow FE retention when wifi enhanced light sleep enabled 2026-09-07 20:10:54 +08:00
Mahavir Jain
e220bc08dd Merge branch 'fix/esp_crt_bundle_allocator_symmetry' into 'master'
fix(esp_crt_bundle): match memory allocator in cross-signed callback

Closes IDFGH-18243

See merge request espressif/esp-idf!52487
2026-09-07 17:40:31 +05:30
Jiang Jiang Jian
f2a83fe7ec Merge branch 'feat/update_phy_lib_20260827' into 'master'
feat(esp_phy): update phylib

See merge request espressif/esp-idf!52128
2026-09-07 20:07:57 +08:00
Jiang Jiang Jian
5923e8b08d Merge branch 'fix-ieee802154-teardown-order' into 'master'
ieee802154: Fix teardown order

Closes PM-869

See merge request espressif/esp-idf!52488
2026-09-07 19:51:54 +08:00