Commit Graph

37934 Commits

Author SHA1 Message Date
Jiang Jiang Jian
0cb8884e43 Merge branch 'fix/bt_hfp' into 'release/v6.1'
fix(bt_hfp): Fix some bugs in hfp

See merge request espressif/esp-idf!52685
2026-09-15 11:38:56 +08:00
hejiaxin
11e2960b24 fix(bt_hfp): Fix some bugs in hfp
- Fix hfp callback data length
- Fix the solution of unknown AT command
2026-09-10 15:31:05 +08:00
Jiang Jiang Jian
f3fe206bcc Merge branch 'fix/brownout_restore_after_deepsleep_reject_v6.1' into 'release/v6.1'
fix(esp_hw_support): restore brownout after deep sleep rejection on ESP32-S2 (v6.1)

See merge request espressif/esp-idf!52648
2026-09-10 11:21:24 +08:00
Jiang Jiang Jian
0ce0b7bfb3 Merge branch 'bugfix/spp_deinit_fail' into 'release/v6.1'
fix(bt/bluedroid): fixed JV disable event has no handler in Bluedroid (v6.1)

See merge request espressif/esp-idf!52594
2026-09-10 11:21:11 +08:00
Jiang Jiang Jian
014fe1482b Merge branch 'fix/fix_issues_when_support_multiple_phy_init_data_v6.1' into 'release/v6.1'
Fix/fix issues when support multiple phy init data v6.1(backport v6.1)

See merge request espressif/esp-idf!52573
2026-09-10 11:11:55 +08:00
wuzhenghui
d77e5e3093 fix(esp_hw_support): restore brownout after deep sleep rejection on ESP32-S2
ESP32-S2 disables the brownout detector before deep sleep; if sleep is
rejected, re-init it so BOD is not left disabled (PM-519).

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-09 17:11:23 +08:00
morris
3b0d8a5194 Merge branch 'refactor/lcd_cam_core_clock_init_v6.1' into 'release/v6.1'
refactor(lcdcam): move shared core clock setup to drivers (v6.1)

See merge request espressif/esp-idf!52452
2026-09-09 14:38:00 +08:00
Jin Cheng
55942b723c fix(bt/bluedroid): fixed JV disable event has no handler in Bluedroid 2026-09-09 13:55:27 +08:00
Jiang Jiang Jian
97def67a17 Merge branch 'tracing_test_fixes_v6.1' into 'release/v6.1'
Tracing test fixes (v6.1)

See merge request espressif/esp-idf!52327
2026-09-09 10:54:21 +08:00
Jiang Jiang Jian
2faf62e0a5 Merge branch 'contrib/github_pr_19038_v6.1' into 'release/v6.1'
fix(esp_lcd): yield from SPI ISR when color trans done callback wakes a task (GitHub PR) (v6.1)

See merge request espressif/esp-idf!52453
2026-09-09 10:53:58 +08:00
Jiang Jiang Jian
76d02aa9ca Merge branch 'fix/eloop-wifi-deinit-leak-delay_v6.1' into 'release/v6.1'
test(wifi): wait for the idle task after esp_wifi_deinit in Wi-Fi UTs (Backport v6.1)

See merge request espressif/esp-idf!52511
2026-09-09 10:53:28 +08:00
Jiang Jiang Jian
50ed526d86 Merge branch 'fix/sdmmc_wait_for_idle_busy_poll_starving_cpu_cores_v6.1' into 'release/v6.1'
fix(sdmmc): back off between CMD13 polls while waiting for card to be ready (v6.1)

See merge request espressif/esp-idf!52532
2026-09-09 10:52:55 +08:00
yinqingzhao
c606fa2804 fix(phy): update esp32c5 multiple phy init data bin 2026-09-08 20:28:57 +08:00
yinqingzhao
0de3c1255e fix(phy): fix phy init data type and multiple bin offset incorrect 2026-09-08 20:28:46 +08:00
yinqingzhao
6147bd8f43 feat(test_app): add test app for multiple phy init data 2026-09-08 20:28:35 +08:00
morris
ef6b7b742f refactor(lcdcam): move shared core clock setup to drivers
Configure the shared LCDCAM core clock through guarded LCD and CAM LL APIs,
and unify LCD functional clock LL calls around group IDs across supported targets.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-08 14:47:41 +08:00
Jiang Jiang Jian
1fd26d0846 Merge branch 'fix/fix_phy_fe_retention_when_wifi_not_init_v6.1' into 'release/v6.1'
fix(btbb): allow FE retention when wifi enhanced light sleep enabled (6.1)

See merge request espressif/esp-idf!52522
2026-09-08 14:43:46 +08:00
Jiang Jiang Jian
504babf48a Merge branch 'bugfix/qos_not_reported_v6.1' into 'release/v6.1'
fix(bt/controller): update ESP32 libbtdm_app.a to fix missing QoS_Setup_Cmpl event (v6.1)

See merge request espressif/esp-idf!52490
2026-09-08 11:04:14 +08:00
Adam Múdry
339628fbb7 fix(sdmmc): back off between CMD13 polls while waiting for card to be ready
The loops waiting for the card to leave its busy state started their yield
backoff at 100 ms. A card is typically busy for a few milliseconds after a
write, so the backoff never fired and every write was followed by hundreds
of back-to-back CMD13 commands. Occupying the host controller like this
slows down unrelated work on both cores, not just the calling task.

Delay between polls instead, starting at CONFIG_SD_READY_POLL_PERIOD_START_US
(100 us) and doubling. Both the delay and the configured start period are
capped at one FreeRTOS tick period, where vTaskDelay() already yields and one
command per tick is not a storm. A typical wait now costs a handful of
commands instead of hundreds.

Applies to sdmmc_wait_for_idle(), sdmmc_init_sd_wait_data_ready() and
read_tuning_block().

Closes https://github.com/espressif/esp-idf/issues/19034
2026-09-07 19:39:52 +02:00
Jin Chen
a2055ce433 fix(btbb): allow FE retention when wifi enhanced light sleep enabled
(cherry picked from commit 33bfea1b69)

Co-authored-by: cjin <jinchen@espressif.com>
2026-09-07 20:24:12 +08:00
Jiang Jiang Jian
9bf0c0eb95 Merge branch 'feat/update_phy_lib_20260827_v6.1' into 'release/v6.1'
feat(esp_phy): update phylib(backport v6.1)

See merge request espressif/esp-idf!52500
2026-09-07 20:08:00 +08:00
Jiang Jiang Jian
1e315381f7 Merge branch 'fix-ieee802154-teardown-order_v6.1' into 'release/v6.1'
fix(ieee802154): fix teardown order(backport v6.1)

See merge request espressif/esp-idf!52496
2026-09-07 19:52:09 +08:00
Jiang Jiang Jian
7db4e215e0 Merge branch 'feat/support-phy-grant-protect_v6.1' into 'release/v6.1'
feat(coex): support phy grant protect (v6.1)

See merge request espressif/esp-idf!52384
2026-09-07 19:50:42 +08:00
Sarvesh Bodakhe
418f513726 test(wifi): wait for the idle task after esp_wifi_deinit in Wi-Fi UTs
The Wi-Fi task deletes itself when esp_wifi_deinit() is called, and FreeRTOS
only reclaims its TCB and stack from the idle task afterwards. Test apps that
read the heap right after deinit therefore see that memory as still allocated
and report a leak, most visibly as the eloop unit tests failing on ESP32.

Wait for the idle task at every point where a test deinitialises Wi-Fi
before a leak check, replacing the single-tick delays that only matched what
esp_wifi_deinit() already waits for internally.

(cherry picked from commit bff264775a)
2026-09-07 15:46:12 +05:30
Erhan Kurubas
633dae7faa fix(esp_trace): send trace data over usb-serial-jtag reliably 2026-09-07 16:41:37 +08:00
Erhan Kurubas
b636759ad9 change(esp_trace): increase usj tx buffer size in both examples 2026-09-07 16:41:37 +08:00
Erhan Kurubas
d469e0ef66 fix(esp_system): break into the debugger only on the first panic entry 2026-09-07 16:41:37 +08:00
Erhan Kurubas
c99a63fd18 refactor(examples): group trace examples under examples/system/tracing/
Move 6 trace-related examples (app_trace_basic, app_trace_to_plot,
esp_trace, gcov, sysview_tracing, sysview_tracing_heap_log) from
examples/system/ into a dedicated examples/system/tracing/
subdirectory for better organization.

Update all path references across documentation (en + zh_CN),
build-test-rules, CI configs and component READMEs.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KZAGzon27T12sGbDPPbZ8G
2026-09-07 16:41:37 +08:00
Chen Jichang
8cb3743b7c ci(esp32h4): disable h4 build and target test on unsupported release branch 2026-09-07 15:48:11 +08:00
Jiang Jiang Jian
640d832d2f Merge branch 'idf/ble_iso_cis_critical_v6.1' into 'release/v6.1'
fix(ble_iso): Avoid posting CIS events in critical section (v6.1)

See merge request espressif/esp-idf!52443
2026-09-07 15:43:42 +08:00
zwx
1e8ed4ae00 feat(esp_phy): update phylib
* S31 phy_version: 101, 7b1f880, Sep  2 2026
2026-09-07 15:42:25 +08:00
zwx
49375fa648 feat(phy): log PLL tracking results 2026-09-07 15:42:25 +08:00
zwx
45e7f1043a esp_phy: move used time tracking to debug module 2026-09-07 15:42:25 +08:00
Xu Si Yu
3f4f61187a feat(coex): support phy grant protect 2026-09-07 14:37:08 +08:00
zwx
1783bd7cbc fix(ieee802154): fix teardown order 2026-09-07 14:20:06 +08:00
Jin Cheng
6eb75bbd0e fix(bt/controller): update ESP32 libbtdm_app.a to fix missing QoS_Setup_Cmpl event 2026-09-07 12:21:18 +08:00
Jiang Jiang Jian
03c6caae64 Merge branch 'fix/fix_ble_retention_dependency_order_v6.1' into 'release/v6.1'
fix(ble): fix ble retention dependency order (6.1)

See merge request espressif/esp-idf!52466
2026-09-07 12:13:08 +08:00
Jiang Jiang Jian
9330c1c8b1 Merge branch 'feat/pm_components_ram_optimize_v6.1' into 'release/v6.1'
feat(pm): pm components ram optimize (v6.1)

See merge request espressif/esp-idf!52425
2026-09-04 23:30:35 +08:00
Jiang Jiang Jian
27892e5e12 Merge branch 'fix/tee_reentrant_svc_and_non_det_sign_v6.1' into 'release/v6.1'
feat(esp_tee): Backports to v6.1

See merge request espressif/esp-idf!52291
2026-09-04 23:17:06 +08:00
Jiang Jiang Jian
6dedb4cad6 Merge branch 'bugfix/fix_some_wifi_bugs' into 'release/v6.1'
Bugfix/fix some wifi bugs v6.1

See merge request espressif/esp-idf!52435
2026-09-04 23:01:11 +08:00
morris
c5d2976bac Merge branch 'feat/esp32s31_adds_efuse_adc_calib_v6.1' into 'release/v6.1'
feat(efuse): Adds efuse ADC calibration support for ESP32S31 (v6.1)

See merge request espressif/esp-idf!52467
2026-09-04 21:07:23 +08:00
Jiang Jiang Jian
e174a69b26 Merge branch 'feat/ble_smp_repairing_hardening_v6.1' into 'release/v6.1'
feat(ble/bluedroid): add Kconfig options for BLE re-pairing hardening (6.1)

See merge request espressif/esp-idf!52422
2026-09-04 19:28:52 +08:00
Konstantin Kondrashov
91458cf023 feat(efuse): Adds efuse ADC calibration support for ESP32S31 2026-09-04 14:06:59 +03:00
morris
28a4aaa1db Merge branch 'fix/psram-ecc-mspi-dma-align_v6.1' into 'release/v6.1'
fix(mspi): handle PSRAM ECC DMA alignment across MSPI users (v6.1)

See merge request espressif/esp-idf!52363
2026-09-04 18:48:05 +08:00
Jin Chen
97cdc77f5c fix(ble): fix ble retention dependency order
(cherry picked from commit 54efd4ccfd)

Co-authored-by: cjin <jinchen@espressif.com>
2026-09-04 18:44:22 +08:00
wuzhenghui
9c75a9d004 feat(esp_hw_support): use dynamic memory allocation for retention module instances 2026-09-04 18:03:59 +08:00
wuzhenghui
b45e51fc65 change(esp_hw_support): optimize pmu_sleep RAM cost 2026-09-04 18:01:12 +08:00
wuzhenghui
6be25041e0 change(esp_hw_support): optimize sleep_phy retention static RAM cost 2026-09-04 18:00:47 +08:00
wuzhenghui
64f8bdd2e1 change(esp_hw_support): optimize retention driver RAM cost 2026-09-04 18:00:35 +08:00
YoungsunLi
344bc35912 fix(esp_lcd): yield from SPI ISR when color trans done callback wakes a task
The return value of on_color_trans_done ("whether a high priority task
has been waken up by this function", see esp_lcd_types.h) was discarded
by the SPI backend. A task unblocked from inside the callback (e.g. via
xSemaphoreGiveFromISR) therefore did not get scheduled until the next
FreeRTOS tick, adding up to 10 ms of latency per color transfer with the
default CONFIG_FREERTOS_HZ=100. The i80 backend already honors the
contract (need_yield -> portYIELD_FROM_ISR); do the same here.
2026-09-04 17:49:55 +08:00