Commit Graph
38002 Commits
Author SHA1 Message Date
Zhao Wei Liang e9b4a2367d change(ble): [AUTO_MR] Update lib_esp32h2 to acd9a26e
(cherry picked from commit 1eec7c1f03)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2026-09-15 10:44:01 +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
Steven Yang d3ffd6ba8e fix(mcpwm): account for adjusted timer resolution in test 2026-09-14 14:32:05 +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
Steven (Yang Minghui) 605637b86e feat(spi): support data output inversion 2026-09-11 15:39:46 +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
zwx 08739256e9 fix(openthread): preserve host interface on UDP receive 2026-09-10 16:21:35 +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
Marius Vikhammer 965530967a fix(ulp): hardcode LP core RC_FAST frequency per target
The SoC RC_FAST approximation is a nominal figure that can be off by ~10%
from the clock the LP core actually runs at, which made
ulp_lp_core_delay_us() over-delay by up to 9% and the LP core delay test
flake on ESP32-C5 and ESP32-C6.

Use a measured per-target value instead, and fail the build for targets
that have no measured value so that new chips cannot silently inherit a
wrong one.
2026-09-10 09:23:27 +08:00
wuzhenghuiandCursor 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
wuzhenghuiandCursor 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
Zhang Hai Peng eade95080a 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.


(cherry picked from commit b9b9b8633f)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-09-09 14:26:53 +08:00
Zhang Hai Peng ea6df384d5 fix(bt): update ESP32 libbtdm_app.a to 919c7f4b
- fixed dtm tx buffer leak issue


(cherry picked from commit ab7bb35192)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-09-09 14:26:53 +08:00
Zhang Hai Peng fdba98f75e fix(bt/bluedroid): prefer disconnected peers when evicting overflow bonds
When the bond list is full, drop the oldest disconnected device instead
of the oldest NVS entry, and allow a per-bond except flag so selected
devices are never auto-removed.


(cherry picked from commit bf86892eef)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-09-09 14:25:58 +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
morrisandCursor 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 KurubasandClaude Opus 5 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