Commit Graph
38611 Commits
Author SHA1 Message Date
Wang Meng Yang 1b937bd648 Merge branch 'bugfix/a2dp_aac_br' into 'master'
fix(bt): Fix some bugs of A2DP AAC

Closes BTQABR2023-876, BTQABR2023-877, BTQABR2023-878, and BTQABR2023-879

See merge request espressif/esp-idf!51819
2026-08-28 15:26:50 +08:00
Mahavir Jain 0a6f7d27af Merge branch 'contrib/github_pr_18983' into 'master'
fix(http_client): default Content-Type for post field (GitHub PR)

Closes IDFGH-18153

See merge request espressif/esp-idf!51956
2026-08-28 12:53:11 +05:30
morris 6d533d8526 Merge branch 'fix/timing_typo' into 'master'
fix(mspi): Fix a mistake reg action to set timing tuning on p4

See merge request espressif/esp-idf!52164
2026-08-28 15:03:24 +08:00
Wang Meng Yang 63076cf266 Merge branch 'fix/bt_memory' into 'master'
fix(bt_memory): Reduce memory usage in transfer

See merge request espressif/esp-idf!51396
2026-08-28 14:52:59 +08:00
Wang Meng Yang 2608853f3f Merge branch 'bugfix/assert_8486' into 'master'
fix(bt/controller): update libbtdm_common_app.a to f60e5b29

Closes BTQABR2023-884

See merge request espressif/esp-idf!52135
2026-08-28 14:46:34 +08:00
Martin Vychodil 4cce27e1cc Merge branch 'fix/sdmmc_dma_aligned_buffer_leak' into 'master'
fix(sdmmc): release aligned buffer on card deinit

Closes IDF-16031 and DOC-15562

See merge request espressif/esp-idf!51530
2026-08-28 13:57:05 +08:00
Laukik Hase 1fbeea3393 fix(esp_tee): Snapshot input arguments in TEE memory before secure service execution 2026-08-28 10:20:55 +05:30
Laukik Hase 427dc875b9 change(esp_tee): Force non-deterministic ECDSA signing for TEE secure storage keys 2026-08-28 10:20:55 +05:30
Laukik Hase 4812dbd2d8 feat(esp_tee): Use CTR-DRBG for assisting random number generation in TEE
- For ESP-TEE, fault-assert in `esp_random()` if the RNG is held in a
  freeze state
2026-08-28 10:20:54 +05:30
Laukik Hase 52a6ad71ee feat(hal): Add LL-API to check whether RNG is enabled
- Also add RNG LL-APIs for ESP32-C61
- Add SOC_RNG_CLOCK_IS_INDEPENDENT for ESP32-C61: now that
  rng_ll_disable() actually clears the RNG clock gate, the application
  needs the esp_hw_support startup hook to re-enable the RNG after
  bootloader_random_disable()
2026-08-28 10:20:54 +05:30
C.S.M ac710f6315 fix(mspi): Fix a mistake reg action to set timing tuning on p4 2026-08-28 11:26:12 +08:00
Island 74512f74a4 Merge branch 'feat/adapt_uhci_code_260824' into 'master'
refactor(hci): switch HCI UART DMA transport to UHCI driver APIs

Closes BLERP-2978

See merge request espressif/esp-idf!51986
2026-08-28 11:02:23 +08:00
Alexey Gerenkov 8515684acd Merge branch 'esp_trace_optimizations' into 'master'
change(esp_trace): compile hot path at -O2 regardless of project optimization

See merge request espressif/esp-idf!51918
2026-08-27 18:29:02 +08:00
Meet Patel 81155fe014 test(freertos): give pinned-create tests more stack
2048 bytes is tight once Unity asserts and yields run on the created task.
2026-08-27 15:38:04 +05:30
Adam Múdry e0c094da69 fix(sdmmc): release aligned DMA buffer on card deinit 2026-08-27 12:00:24 +02:00
sibeibei 378590ccff fix(wifi): fix wifi wakeup failed from modem state 2026-08-27 16:54:18 +08:00
Mahavir Jain 626d7e9bb3 Merge branch 'fix/aes_op_zero_buf_check' into 'master'
fix(mbedtls/aes): reject an all-zero AES block output in the encrypt direction

Closes IDF-15997

See merge request espressif/esp-idf!51603
2026-08-27 14:16:38 +05:30
Zhou Xiao 327016d1a3 test(ble_log): add dedicated runtime dispatch test app
Extend the test peripheral with receipt timestamps and an auto-recycle
hook so runtime tests can observe handoff latency and sustain arrivals from
dispatch completion.

Add a standalone Unity app covering fixed first-submission deadlines,
callback-entry batch drain, shared ESP timer task fairness, periodic
timestamp light-sleep behavior, synchronous flush, dispatch latency,
deinit races, bounded inflight peaks, and timeout conversion at both
supported tick rates. Verify FIFO delivery and reject delayed-consumer and
extra-marker false positives.

Render BLE_LOG_RT_PERF lines in the performance log parser and
cross-reference the runtime and performance apps from their READMEs.
2026-08-27 16:16:38 +08:00
Zhou Xiao 620a3c90a9 refactor(ble_log): move runtime dispatch to esp_timer
Replace the dedicated BLE Log FreeRTOS task with a deferred esp_timer
batch dispatch. The first submission anchors a one-shot 1 ms deadline;
the callback drains the queue depth captured at entry and schedules the
next fixed defer only for arrivals left behind. Later submissions cannot
move the current deadline, and no fixed batch-size cap limits throughput.

Protect queue and timer lifetime with runtime references. Drain queued
submissions before ble_log_lbm_flush_all_trans waits for transport
ownership to return, so synchronous flush does not depend on the deferred
alarm firing.

Keep the defer alarm as a light-sleep wake source and select
ESP_TIMER_IN_IRAM. Timestamp synchronization uses the shared ESP timer task
with skipped unhandled events, so it neither wakes light sleep nor replays
missed periods. Retain legacy task and trigger symbols as hidden no-op
sdkconfig compatibility options.
2026-08-27 16:16:38 +08:00
Hu Rui 7bb7fed5ec refactor(dac): remove adc read back in dac example, prepare for s31 2026-08-27 16:06:40 +08:00
yangfeng 5a8e9347a5 fix(bt): Build the optimal config when registering A2DP SEP 2026-08-27 15:58:39 +08:00
Jin Cheng 2e9769d270 fix(bt/controller): update libbtdm_common_app.a to f60e5b29
- fixed BT ASSERT ID 8486
- relates to BTQABR2023-884
2026-08-27 15:51:59 +08:00
yangfeng d1d1f91b12 fix(bt): Add invalid codec capability verification when registering SEP 2026-08-27 15:44:58 +08:00
yangfeng 998bd59e3f feat: Add default SBC SEP in A2DP init 2026-08-27 15:44:58 +08:00
yangfeng ba8b1091a5 fix(bt): Fix the processing of bit rate being 0 in A2DP AAC 2026-08-27 15:44:58 +08:00
harshal.patil e5026cafea test(heap): DMA alignment test silently passed on every target
"test alignment for dma" discarded every test_alignment() verdict and
counted a failed allocation as a pass, so it could never fail. Fix that,
use the external line size for PSRAM, and run hw-align in PSRAM configs.
2026-08-27 12:54:57 +05:30
hejiaxin 12fe70031f fix(bt_avrcp): size some AVRC command buffers 2026-08-27 15:14:53 +08:00
hejiaxin 59eee88105 fix(bt_l2cap): size L2CAP ERTM S-frame & RX SDU buffer 2026-08-27 15:13:58 +08:00
hejiaxin 8a0156c4ed fix(bt_sdp): size SDP TX buffers 2026-08-27 15:11:44 +08:00
hejiaxin 53200e1ec4 fix(bt_rfcomm): size RFCOMM TX buffers by peer MTU 2026-08-27 15:10:28 +08:00
hejiaxin b58556b338 fix(bt_hid): size HID TX buffers to report length 2026-08-27 15:10:05 +08:00
Wang Meng Yang 13e18a6a43 Merge branch 'bugfix/fixed_ble_deinit_crash_issue' into 'master'
Bugfix/fixed ble deinit crash issue

Closes BLECRT-623, BLECRT-624, and BT-4481

See merge request espressif/esp-idf!52103
2026-08-27 14:12:41 +08:00
morris ca7bd0d183 Merge branch 'feat/dac_driver_treat_zero_as_default_clk_src' into 'master'
feat(dac): use default clock source for zero config

See merge request espressif/esp-idf!52064
2026-08-27 11:57:13 +08:00
morris aa23694ea6 Merge branch 'fix/cache_panic_reset_reason' into 'master'
fix: changed the expected axi reset reason for S31

See merge request espressif/esp-idf!52062
2026-08-26 23:14:27 +08:00
Island e2930d30c8 Merge branch 'bugfix/fix_bluedroid_find_info_format_mismatch' into 'master'
fix(ble/bluedroid): restore find info PDU stop on UUID format mismatch

See merge request espressif/esp-idf!52063
2026-08-26 22:00:25 +08:00
ShenWeilong 0ed6004586 fix(bt): fixed mempool deinit crash issue for esp32s31 2026-08-26 21:48:02 +08:00
Sudeep Mohanty be3a19e454 fix(esp_hal_pmu): include stddef.h for NULL in rtc_cntl_hal 2026-08-26 15:28:18 +02:00
Roland Dobai 099dc69d3f Merge branch 'fix/esp_mspi_align_psram_buildv2' into 'master'
fix(esp_hw_support): Exclude MSPI alignment helper from bootloader

See merge request espressif/esp-idf!51919
2026-08-26 13:56:49 +02:00
Chen Chen 0b4f787645 fix: changed the expected axi reset reason for S31 2026-08-26 17:19:20 +08:00
Erhan Kurubas 4709507f3e change(esp_trace): skip unused timer reads on the per-event path
Lock take called esp_timer_get_time() before trying the spinlock, and the
C3 default timestamp went through esp_timer's tick-to-us conversion.
Try the lock first, and read systimer ticks directly.
2026-08-26 10:39:18 +02:00
Erhan Kurubas 44a38047bb change(esp_trace): compile hot path at -O2 regardless of project optimization
Every event record runs through this component, so -Og on the rest of the
project should not set the per-event tracing overhead.
2026-08-26 10:31:03 +02:00
Island 61aefd09ae Merge branch 'feat/ble_smp_repairing_hardening' into 'master'
feat(ble/bluedroid): add Kconfig options for BLE re-pairing hardening

See merge request espressif/esp-idf!51221
2026-08-26 15:07:45 +08:00
morris c47382a311 feat(dac): use default clock source for zero config 2026-08-26 12:17:04 +08:00
Jiang Jiang Jian 9ff5389763 Merge branch 'bugfix/split_scan' into 'master'
Made changes to scan and doing it group decreasing scan time

Closes WIFIBUG-684, WIFIBUG-1163, WIFIBUG-1148, WIFIBUG-761, WIFIBUG-1680, and WIFI-5292

See merge request espressif/esp-idf!38252
2026-08-26 11:41:40 +08:00
zhaoweiliang a56a614fdf fix(ble): refactor uart dma hci transport code on ESP32-S31 2026-08-26 11:33:19 +08:00
zhaoweiliang 404e45a4f0 refactor(hci): switch HCI UART DMA transport to UHCI driver APIs 2026-08-26 11:33:19 +08:00
Island 0260f0511a Merge branch 'idf/ble_audio_dynamic_svc' into 'master'
fix(ble_audio): Fix wrong registration when multiple tbs instances exist

See merge request espressif/esp-idf!52046
2026-08-26 11:30:06 +08:00
zhanghaipeng 196cb39545 fix(ble/bluedroid): restore find info PDU stop on UUID format mismatch
Restore GATT_NO_RESOURCES when sequential attributes have differing UUID
sizes so gatts_process_find_info() stops building the response PDU.
2026-08-26 11:20:23 +08:00
morris ea568818b4 Merge branch 'fix/jpeg_enc_header_oob' into 'master'
fix(jpeg): validate encoder buffer sizes before header/DMA access

See merge request espressif/esp-idf!51900
2026-08-26 10:39:45 +08:00
Jiang Jiang Jian 1072706739 Merge branch 'bugfix/avrcp_version_compatibility' into 'master'
fix(bt): Fix the issue of AVRCP version compatibility

Closes BTQABR2023-886

See merge request espressif/esp-idf!51978
2026-08-26 10:37:22 +08:00