Commit Graph

144 Commits

Author SHA1 Message Date
Zhao Wei Liang
347a5a14dd feat(ble): add adv tx options on ESP32-C6
(cherry picked from commit e85bb5cca8)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2026-04-10 10:22:40 +08:00
Island
d4ce96fa47 Merge branch 'dev/ble-log-202603_v5.2' into 'release/v5.2'
dev: BLE Log 202603 (5.2)

See merge request espressif/esp-idf!47273
2026-04-08 10:32:35 +08:00
Zhou Xiao
b03dce2530 change(bt): consolidate BLE log Kconfig into common/Kconfig.in
Move per-chip BLE log Kconfig options (esp32c2/c5/c6/h2) into
components/bt/common/Kconfig.in for single-source-of-truth configuration.

Restructure menu as "BT Logs" with "Log Sources" sub-menu containing
controller log config options. Controller log output mode choice defaults
to BLE Log v2 when BLE_LOG_ENABLED, with legacy mode as deprecated
fallback. Migrate wrap_panic_handler and task_wdt_user_handler configs
as well since they depend on BT_LE_CONTROLLER_LOG_ENABLED.
2026-04-07 11:50:49 +08:00
Zhou Xiao
1fee2c3a0f change(bt/ble_log): remove BLE Log UHCI Out module
Delete ble_log_uhci_out.c and its header. Remove the UHCI Out source
from CMakeLists.txt and all BT_BLE_LOG_UHCI_OUT_* Kconfig options.
Remove per-chip BT_LE_CONTROLLER_LOG_UHCI_OUT_ENABLED Kconfig and
all UHCI Out caller references in esp32c5/c6/h2 controller bt.c.
Update ble_log_console README to reference the new BLE Log Module
UART DMA config. The functionality is superseded by the BLE Log
Module's UART DMA peripheral transport.
2026-04-07 11:43:22 +08:00
ShenWeilong
1286301e57 change(bt): use BT_SMP_CRYPTO_STACK_MBEDTLS to select bt cryption lib 2026-04-01 00:21:39 +08:00
Jin Chen
a803e6cd53 fix(ble): use apb max state for bt and enable should skip on ESP32-C6
(cherry picked from commit 73191cb5f9)

Co-authored-by: cjin <jinchen@espressif.com>
2026-03-06 14:30:03 +08:00
Zhao Wei Liang
e12fdd4fd7 feat(ble): add config for reserved controller memory on ESP32C6 and ESP32H2
(cherry picked from commit 4418d5da82)

Co-authored-by: cjin <jinchen@espressif.com>
2026-02-10 00:06:38 +08:00
Zhao Wei Liang
9a51912d05 feat(ble): support adv fast tx feature on ESP32-C6 and ESP32-H2
(cherry picked from commit 84924e3980)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2026-02-10 00:06:38 +08:00
zhiweijian
f2ba0aa3be feat(ble/bluedroid): Add new bluedroid host examples 2026-01-30 20:24:33 +08:00
cjin
aa0c817423 feat(ble): support sid filter feature on ESP32C6 2026-01-19 14:24:01 +08:00
Zhao Wei Liang
e15f5a0fb6 fix(ble): fixed build error on ESP32-C6
(cherry picked from commit a16a56fdbe)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2025-12-31 21:13:25 +08:00
Island
edf3fb578d Merge branch 'fix/add_soc_caps_for_pawr_feat_v5.2' into 'release/v5.2'
fix(ble): add soc caps feat for PAwR (v5.2)

See merge request espressif/esp-idf!44147
2025-12-26 14:21:28 +08:00
Jin Chen
a9e0bc352c fix(ble): remove target dependency on power control config on ESP32C6
(cherry picked from commit f29f500ac8)

Co-authored-by: cjin <jinchen@espressif.com>
2025-12-11 16:22:56 +08:00
Jin Chen
74ad28ad67 fix(ble): add soc caps config for pawr feat on ESP32C6
(cherry picked from commit 4e4b863299)

Co-authored-by: cjin <jinchen@espressif.com>
2025-12-11 16:22:55 +08:00
Zhao Wei Liang
aa31e0fd17 feat(ble): add CONFIG_BT_LE_CTRL_DL_ITVL_PHY_SYNC_EN config on ESP32-C6
(cherry picked from commit 6c4f33798f)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2025-12-10 00:05:42 +08:00
Zhao Wei Liang
f3dc2c2490 feat(ble): add peripheral fast rx data in latency config on ESP32-C6
(cherry picked from commit 0f03da43c8)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2025-12-01 00:08:22 +08:00
Zhao Wei Liang
acb755eda4 feat: rename ble sleep related apt on ESP32-C6
(cherry picked from commit 8e1292e1f2)

Co-authored-by: cjin <jinchen@espressif.com>
2025-12-01 00:08:22 +08:00
Zhou Xiao
2852dc2566 feat(ble): add priority level config on ESP32-C6
(cherry picked from commit 09337109b7)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2025-10-23 15:12:31 +08:00
Zhou Xiao
d6e62787b1 fix(ble): fix ble wakeup causes error on ESP32-C6
(cherry picked from commit 4d1872c66d)

Co-authored-by: cjin <jinchen@espressif.com>
2025-10-23 15:12:30 +08:00
Jin Chen
d5005b8965 feat(ble): allow a larger sca limit on ESP32-C6
(cherry picked from commit b3c608f2cf)

Co-authored-by: cjin <jinchen@espressif.com>
2025-10-16 20:13:26 +08:00
Zhao Wei Liang
b342e22b96 feat(ble): change free api on ESP32-C6
(cherry picked from commit 034172154a)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-10-16 10:10:38 +08:00
Island
204521e12a Merge branch 'change/ble_update_lib_20250919_v5.2' into 'release/v5.2'
change(ble): [AUTO_MR] 20250919 - Update ESP BLE Controller Lib (v5.2)

See merge request espressif/esp-idf!42028
2025-10-11 17:40:19 +08:00
cjin
558b2e6a4f feat(ble): get wakeup cause when wake up on ESP32-C6 2025-10-11 11:09:30 +08:00
Zhou Xiao
c84b1b0023 feat(ble): supported ble log v2 for ESP32-C6 2025-10-11 10:59:40 +08:00
Island
68af1f3980 Merge branch 'feat/support_ble_log_uart_dma_out_v5.2' into 'release/v5.2'
Feat/support ble log uart dma out (v5.2)

See merge request espressif/esp-idf!40654
2025-10-11 10:58:01 +08:00
Zhao Wei Liang
e3a2c48fa5 fix(ble): update ext_version on ESP32-C6
(cherry picked from commit 3558f20a4e)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-10-10 09:52:08 +08:00
Zhou Xiao
38c83d6ebc feat(ble): support ble log uart dma out for ESP32-C6
(cherry picked from commit ae8a7c8117)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-10-09 11:20:45 +08:00
Zhou Xiao
24182710b0 feat(ble): support pawr feature in ble sdk on ESP32-C6
(cherry picked from commit 410d904845)

Co-authored-by: cjin <jinchen@espressif.com>
2025-08-19 13:13:55 +08:00
Zhou Xiao
d084ffb260 feat(ble): add clk source freq change of ble slow clock on ESP32-C6
(cherry picked from commit b5ce766c7f)

Co-authored-by: cjin <jinchen@espressif.com>
2025-08-19 13:13:51 +08:00
Zhao Wei Liang
0b1a07b72f fix(ble): fixed dtm function error on ESP32-C6
(cherry picked from commit ca0fdad4f2)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-08-01 10:20:16 +08:00
Zhou Xiao
0669112707 feat(ble): add flash only param config api on ESP32-C6
(cherry picked from commit dc65875e57)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-07-30 13:13:49 +08:00
Zhou Xiao
870321b0ac feat(ble): enable broker initialization on ESP32-C6
(cherry picked from commit 3d93ce37da)

Co-authored-by: cjin <jinchen@espressif.com>
2025-07-09 13:14:04 +08:00
Zhou Xiao
b53912c323 feat(ble): support memory allocation check debug feature on ESP32-C6
(cherry picked from commit 027766e0c2)

Co-authored-by: cjin <jinchen@espressif.com>
2025-07-09 13:13:56 +08:00
cjin
757152e461 feat(ble): add sm count reserve cnt setting on ESP32-C6 2025-06-26 15:00:21 +08:00
Zhao Wei Liang
b96af85ef9 fix(ble): change the default ble cca thresh on ESP32-C6
(cherry picked from commit 581521526b)

Co-authored-by: cjin <jinchen@espressif.com>
2025-06-09 11:03:53 +08:00
Zhao Wei Liang
337057d90d fix(ble): fixed an occasional assertion issue during sync on ESP32-C6
(cherry picked from commit 3c8ba488e0)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-06-09 11:03:48 +08:00
Zhou Xiao
27b333e736 fix(ble): added missed printf for ll log interface 2025-05-19 20:36:22 +08:00
zwl
964d3d068e fix(ble): fixed occasional assert issue in scan and connection scenarios on ESP32-C6 2025-05-19 20:36:17 +08:00
Sumeet Singh
d220557626 feat(nimble): Added some fixes for autopts testing (v5.2) 2025-05-08 19:42:46 +05:30
cjin
cc6f25ea3a feat(ble): support ble sleep using 136 kHz RC on ESP32-C6 2025-04-22 19:11:18 +08:00
Zhou Xiao
5f0b5a3d8c feat(ble): support configurable rxbuf opt feat on ESP32-C6
(cherry picked from commit 5fbbec8655)

Co-authored-by: cjin <jinchen@espressif.com>
2025-04-17 10:54:15 +08:00
Island
a40b0e241a Merge branch 'feature/add_vendor_ble_cmd_definitions_5.2' into 'release/v5.2'
Feature/add vendor ble cmd definitions (v5.2)

See merge request espressif/esp-idf!37960
2025-03-27 17:15:23 +08:00
Geng Yuchao
9cf96adb40 feat(ble):Add Kconfig support for direction finding feature 2025-03-26 16:32:20 +08:00
Shen Weilong
de07298213 feat(ble/controller): Added memory boundary check for ESP32-C6 and ESP32-H2 2025-03-25 16:11:17 +08:00
Zhao Wei Liang
aa4ca80115 feat(ble): change whitelist max size to 31 on ESP32-C6
(cherry picked from commit 2b435687b0)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-03-24 17:11:39 +08:00
Zhao Wei Liang
471cc7a882 fix(ble): fixed hci driver stack protection fault issue on ESP32-C6
(cherry picked from commit ec4a1324f5)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-03-24 17:11:39 +08:00
Zhou Xiao
ceac71f51c feat(ble): support ble log simple output via SPI interface for ESP32-C6
(cherry picked from commit eae9b795aa)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-03-24 10:58:27 +08:00
Shen Weilong
a784e0dba2 feat(ble): tell controller if vhci is enabled for ESP32-C6 and ESP32-H2 2025-03-13 09:13:43 +08:00
Marius Vikhammer
a0ba8c9e1d Merge branch 'bug/xtensa_cpu1_sys_lockup_v5.2' into 'release/v5.2'
fix(panic_handler): Updated panic handler to use RTC WDT (v5.2)

See merge request espressif/esp-idf!37121
2025-03-12 09:58:59 +08:00
Sudeep Mohanty
ed720503fb fix(panic_handler): Updated panic handler to use RTC WDT
This commit updates the following:
- Updates the panic handler to use only the RTC WDT to reset the system.
- Refactors some of the panic handler code.
- Updates Bluetooth files where in they now feed the WDTs instead of
  reconfiguring them.
- Removes some unnecessary configuration of WDTs from various files.
- Added a unit test to verify that the system does not lock up when the
  panic handler is stuck.
- Updates the memprot unit tests to work with the refactored panic
  handler.

Closes https://github.com/espressif/esp-idf/issues/15166
Closes https://github.com/espressif/esp-idf/issues/15018
Closes https://github.com/espressif/esp-idf/issues/10110
2025-03-06 09:06:53 +01:00