Commit Graph

124 Commits

Author SHA1 Message Date
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
Island
52ad38feef Merge branch 'feat/use_common_config_to_sel_crypt_lib_v5.2' into 'release/v5.2'
Feat/use common config to sel crypt lib (v5.2)

See merge request espressif/esp-idf!46404
2026-04-07 12:12:03 +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
cjin
3f32fefaec feat(ble): supported ble mempool run time allocation for esp ip chips 2026-04-02 16:40:03 +08:00
Jin Chen
953692616a feat(ble): make env init function cuttable on ESP32-C2
(cherry picked from commit 5ec82368ba)

Co-authored-by: cjin <jinchen@espressif.com>
2026-04-02 16:36: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
7c4fc1297a fix(ble): use apb max state for bt and enable should skip on ESP32-C2
(cherry picked from commit 9de0235a9f)

Co-authored-by: cjin <jinchen@espressif.com>
2026-03-06 10:13:14 +08:00
Jin Chen
3da9775993 feat(ble): apply new method for rom code logic change on ESP32-C2
(cherry picked from commit 2a0df334e3)

Co-authored-by: cjin <jinchen@espressif.com>
2026-02-09 20:13:13 +08:00
Jin Chen
73e07d97ef feat(ble): support for ble module stripping on ESP32-C2
(cherry picked from commit b90840a570)

Co-authored-by: cjin <jinchen@espressif.com>
2026-02-09 20:13:13 +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
Zhao Wei Liang
26333b18d2 fix(ble): fixed the assert issue when using tinycrypt on ESP32-C2
(cherry picked from commit ac5d14d954)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2025-12-10 00:05:42 +08:00
Zhou Xiao
cd704b8fd1 fix(ble): fix ble wakeup causes error on ESP32-C2
(cherry picked from commit 5407e36e4a)

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

Co-authored-by: cjin <jinchen@espressif.com>
2025-10-16 20:13:23 +08:00
Zhao Wei Liang
42461212b8 feat(ble): change free api on ESP32-C2
(cherry picked from commit e18972e94e)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-10-16 10:10:36 +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
b4ce0a5497 feat(ble): get wakeup cause when wake up on ESP32-C2 2025-10-11 11:09:24 +08:00
Zhou Xiao
4ed17ce341 feat(ble): supported ble log v2 for ESP32-C2 2025-10-11 10:59:51 +08:00
Zhao Wei Liang
2d5113e2c7 change(ble): enabled specify scan channel vs hci cmd for ESP32-C2
(cherry picked from commit 2818eb91f1)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-08-11 10:30:27 +08:00
Zhou Xiao
24c2f79910 feat(ble): support memory allocation check debug feature on ESP32-C2
(cherry picked from commit 7ef90d4113)

Co-authored-by: cjin <jinchen@espressif.com>
2025-07-09 13:13:54 +08:00
Zhao Wei Liang
840e704a23 fix(ble): ensure ble controller disable safety for ESP32-C2
(cherry picked from commit cbe6f68d3c)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-07-02 15:13:49 +08:00
Zhao Wei Liang
f732a0a60a fix(ble): change the default ble cca thresh on ESP32-C2
(cherry picked from commit a10696d7e1)

Co-authored-by: cjin <jinchen@espressif.com>
2025-06-09 11:03:57 +08:00
Zhou Xiao
27b333e736 fix(ble): added missed printf for ll log interface 2025-05-19 20:36:22 +08:00
Jin Chen
9c1bd7f24e fix(ble): fix rtc freq set too high on ESP32-C2
(cherry picked from commit 6a80deac03)

Co-authored-by: cjin <jinchen@espressif.com>
2025-05-07 10:18:28 +08:00
Jin Chen
a6c8a080f4 feat(ble): support ble sleep using 136 kHz RC on ESP32-C2
(cherry picked from commit 73f1084bf8)

Co-authored-by: cjin <jinchen@espressif.com>
2025-04-22 19:05:27 +08:00
Zhou Xiao
c80a727ad2 feat(ble): use new section for ble sleep on ESP32-C2
(cherry picked from commit ce4e012c8b)

Co-authored-by: cjin <jinchen@espressif.com>
2025-04-17 10:54:10 +08:00
Shen Weilong
50d1ceaaf9 feat(ble/controller): Added memory boundary check for ESP32-C2 2025-03-25 16:11:14 +08:00
Zhao Wei Liang
af22e4dbff feat(ble): change whitelist max size to 31 on ESP32-C2
(cherry picked from commit 578f2358c6)

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

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-03-24 17:11:39 +08:00
Zhou Xiao
a2ec74690a feat(ble): add enhanced connect function on ESP32-C2
(cherry picked from commit 71cea01694)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-03-24 10:58:27 +08:00
Zhou Xiao
dbaf3cb506 feat(ble): support ble log simple output via SPI interface for ESP32-C2
(cherry picked from commit df829ac919)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-03-24 10:58:27 +08:00
Island
3d18baa009 Merge branch 'fix/feed_wdts_during_ble_log_dump_c2_v5.2' into 'release/v5.2'
fix(ble): add feed wdts during ble log dump for ESP32-C2 (v5.2)

See merge request espressif/esp-idf!37718
2025-03-13 19:34:26 +08:00
Zhou Xiao
f492c499a8 fix(ble): add feed wdts during ble log dump for ESP32-C2
(cherry picked from commit e2e8e7dce1)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-03-13 12:53:40 +08:00
Shen Wei Long
13d3c588fd feat(ble): tell controller if vhci is enabled for ESP32-C2
(cherry picked from commit 892b3a0b0e)

Co-authored-by: Shen Weilong <shenweilong@espressif.com>
2025-03-13 09:13:17 +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
Zhou Xiao
79f582adaa change(ble): update ble log spi out config for ESP32-C2 2025-03-03 16:36:40 +08:00
Zhou Xiao
36331ad702 feat(ble): support esp ble controller spi output interface for ESP32-C2
(cherry picked from commit 0b57f8ae87)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-03-03 16:36:40 +08:00
Zhou Xiao
dc3814175f feat(ble): support enhanced controller log capabilities on ESP32-C2
(cherry picked from commit bbcb4a2e1f)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-03-03 16:36:39 +08:00
Zhou Xiao
bfcb67058a fix(ble): fixed esp_ble_tx_power_set api issue on ESP32-C2
(cherry picked from commit 6a752eeb89)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-01-14 14:54:03 +08:00
Zhao Wei Liang
cf11949a7b feat(ble): Support get ble controller free heap size on ESP32-C2
(cherry picked from commit 2cb7d2437b)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2024-12-24 15:21:21 +08:00
Zhao Wei Liang
d3a05021be fix(ble): fixed the connect issue when rx error aa on ESP32-C2
(cherry picked from commit 6b01a56e09)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2024-12-16 11:03:34 +08:00
Jin Chen
3186c881c0 fix(ble): fix ble light sleep error on esp32c2
(cherry picked from commit 23f7e33a97)

Co-authored-by: cjin <jinchen@espressif.com>
2024-11-22 10:42:44 +08:00
Shen Weilong
a56d6f148f feat(ble): Support for putting code in flash on ESP32-C2 2024-11-11 17:49:23 +08:00
cjin
41502dbf64 feat(ble): add internal api to change ble slow clock source 2024-08-27 12:47:22 +08:00
Shen Weilong
1c0a4dbfa3 feat(ble): Print out the BT mac when the controller is initialized 2024-08-09 20:53:12 +08:00
zwl
26ef81039d fix: fixed directed adv can't be conneted when adv filter is 0x2 on ESP32C2 2024-07-31 14:38:46 +08:00
zwl
6e676b0222 feat(bluetooth/controller): support switching log output mode on ESP32-C2 2024-07-29 11:56:17 +08:00
zwl
97fa5484a7 feat(bluetooth/controller): storage ble controller log to flash on ESP32C2 2024-07-29 11:56:16 +08:00
zwl
fde1a101ed feat(bluetooth/controller): support default tx power configurable on ESP32C2 2024-07-18 10:47:30 +08:00
zwl
3d1498cadb feat(bluetooth/controller): adopting new HCI layer code on ESP32-C2 2024-07-16 13:20:53 +08:00
zwl
c4a22160c7 feat(bluetooth/controller): adjust bt/porting code structure and delete redundant code 2024-06-24 10:11:52 +08:00