Commit Graph

37954 Commits

Author SHA1 Message Date
Jiang Jiang Jian
0967b16795 Merge branch 'bugfix/fix_iso_tx_power_update_fail_v6.1' into 'release/v6.1'
feat(iso): Support set ble iso tx power (6.1)

See merge request espressif/esp-idf!52620
2026-09-15 13:57:37 +08:00
Jiang Jiang Jian
6747981483 Merge branch 'bugfix/idfci-13866_v6.1' into 'release/v6.1'
backport v6.1: config wakeup gpio pin internal pullup to avoid input floating

See merge request espressif/esp-idf!52770
2026-09-15 13:56:59 +08:00
Jiang Jiang Jian
1204c95d40 Merge branch 'bugfix/fix_pbac_pm_config_v6.1' into 'release/v6.1'
fix(bt/bluedroid): enable sniff power management for PBAP client (v6.1)

See merge request espressif/esp-idf!52761
2026-09-15 11:57:18 +08:00
Jiang Jiang Jian
c92c097e3b Merge branch 'bugfix/fix_example_power_save_build_fail_issue_v6.1' into 'release/v6.1'
fix(esp_timer): preserve timer_process_alarm symbol for ldgen(Backport v6.1)

See merge request espressif/esp-idf!52738
2026-09-15 11:57:01 +08:00
Jiang Jiang Jian
2175e263ee Merge branch 'bugfix/wrong_bredr_tx_power_table_v6.1' into 'release/v6.1'
fix(bt): fixed use of wrong function to get BR/EDR power table on ESP32-S31(backport v6.1)

See merge request espressif/esp-idf!52550
2026-09-15 11:48:50 +08:00
Jiang Jiang Jian
d876407104 Merge branch 'feat/bt_osal_build_configurable_v6.1' into 'release/v6.1'
feat(bt): Add Kconfig option to build the BT OSAL conditionally (6.1)

See merge request espressif/esp-idf!52517
2026-09-15 11:48:41 +08:00
Jiang Jiang Jian
96eb6905ad Merge branch 'bugfix/fxied_btdm_mempool_compilation_issue_6.1' into 'release/v6.1'
fix(ble): fixed porting_btdm compilation issue for esp32-s31/h4

See merge request espressif/esp-idf!52432
2026-09-15 11:47:55 +08:00
Jiang Jiang Jian
742bd16cd8 Merge branch 'bugfix/fix_iso_data_len_get_v6.1' into 'release/v6.1'
fix(iso): correct ISO data length mask from 0x7fff to 0x3fff (6.1)

See merge request espressif/esp-idf!51516
2026-09-15 11:46:04 +08:00
Jiang Jiang Jian
c373eb3338 Merge branch 'fix/fix_cryto_module_locked_after_pd_top_lslp_v6.1' into 'release/v6.1'
fix(esp_hw_support): fix cryto module locked after pd_top lightsleep (v6.1)

See merge request espressif/esp-idf!52651
2026-09-15 11:43:51 +08:00
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
Li Shuai
bfc5ade8d2 fix(unit-test): config wakeup gpio pin internal pullup to avoid input floating 2026-09-14 14:33:08 +08:00
linruihao
f7e7683380 fix(bt/bluedroid): enable sniff power management for PBAP client 2026-09-14 10:18:48 +08:00
muhaidong
043180fcfd fix(esp_timer): preserve timer_process_alarm symbol for ldgen 2026-09-11 15:42:26 +08:00
ShenWeilong
cda19d52cf fix(bt): supported allocate memroy from spiram for ESP32-S31 and ESP32-H4 2026-09-10 20:58:39 +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
4166ee869d 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-09 17:13:29 +08:00
wuzhenghui
230e6e0019 fix(esp_hw_support): wait DS/ECDSA idle before restore its PCR on wakeup 2026-09-09 17:13:29 +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
wangjialiang
c526feea98 feat(iso): Support set ble iso tx power
(cherry picked from commit 2114bea2bc)

Co-authored-by: wangjialiang <wangjialiang@espressif.com>
2026-09-09 14:56:51 +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
wangjialiang
321492e10e fix(iso): correct ISO data length mask from 0x7fff to 0x3fff
(cherry picked from commit b0f2f482d64e1d0c5f1ba2817f54d12fcb870e75)

Co-authored-by: wangjialiang <wangjialiang@espressif.com>
2026-09-08 19:48:55 +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
Wang Mengyang
cdc7250eb6 fix(bt): fixed use of wrong function to get BR/EDR power table on ESP32-S31
header file "btdm_user_cfg.h" is not included, which causes the undefined macro
"UC_BT_CTRL_BR_EDR_IS_ENABLE" in btdm_external.c. In this case, function
wr_btdm_external_bb_get_tx_pwr_table returns a wrong tx power table for BR/EDR
2026-09-08 14:14:17 +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
chenjianhua
64ee75c942 feat(bt): Add Kconfig option to build the BT OSAL conditionally 2026-09-07 19:49:05 +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