Commit Graph
133 Commits
Author SHA1 Message Date
Jin Chen 00ae58b047 fix(ble): fix conn recycle assertion at halt on ESP32-C2
(cherry picked from commit 5483aeedb6)

Co-authored-by: cjin <jinchen@espressif.com>
2026-06-03 17:54:07 +08:00
ShenWeilong 1d42b7d2d4 fix(ble): always init the default os queue for all of controllers 2026-04-29 16:53:01 +08:00
Zhou Xiao 51c280d361 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 12:28:59 +08:00
Island 9651a6bc5d Merge branch 'feat/use_common_config_to_sel_crypt_lib_v5.5' into 'release/v5.5'
Feat/use common config to sel crypt lib (v5.5)

See merge request espressif/esp-idf!46407
2026-04-07 12:11:55 +08:00
Island a107766df0 Merge branch 'feat/support_run_time_alloc_for_esp_ip_test_v5.5' into 'release/v5.5'
Support Mempool Run Time Allocation for ESP IP Chips (v5.5)

See merge request espressif/esp-idf!46823
2026-04-01 14:03:12 +08:00
ShenWeilong 856318eca8 change(bt): use BT_SMP_CRYPTO_STACK_MBEDTLS to select bt cryption lib 2026-03-31 00:06:10 +08:00
Jin Chen 669c7bb80f 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-30 09:36:14 +08:00
cjin d8d616bbc0 feat(ble): supported ble mempool run time allocation for esp ip chips 2026-03-23 15:10:14 +08:00
Jin Chen 15765b9df6 feat(ble): make env init function cuttable on ESP32-C2
(cherry picked from commit 5ec82368ba)

Co-authored-by: cjin <jinchen@espressif.com>
2026-03-23 15:08:15 +08:00
cjin 0ccd2d53bf fix(ble): fix conn timeout after phy update on ESP32-C2 2026-03-19 09:52:29 +08:00
cjin e4677d83da fix(ble): fix phy update ctrl process unexpectedly trimmed on ESP32C2 2026-03-12 09:32:56 +08:00
Jin Chen 48a7006e54 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:19 +08:00
Jin Chen 7ca42c4400 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:19 +08:00
zhaoweiliang 86613d225f fix(ble): fixed build error on ESP32-C6 2026-01-04 15:49:01 +08:00
Zhao Wei Liang a7597ac11e fix(ble): fixed the assert issue when using tinycrypt on ESP32-C2
(cherry picked from commit ac5d14d954)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2026-01-04 15:41:01 +08:00
cjin e691150640 fix(ble): fix ble wakeup causes error on ESP32-C2 2025-10-23 16:35:48 +08:00
Jin Chen 5884475b4d 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:14:06 +08:00
Zhao Wei Liang 0be2fcb3f6 feat(ble): change free api on ESP32-C2
(cherry picked from commit e18972e94e)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-10-16 10:11:09 +08:00
cjin ce66ed4309 feat(ble): get wakeup cause when wake up on ESP32-C2 2025-10-11 11:12:45 +08:00
Zhou Xiao 49bcc44e76 feat(ble): supported ble log v2 for ESP32-C2 2025-09-16 19:07:49 +08:00
Zhou Xiao 27fee88e26 fix(ble): wrapped specify scan channel vs cmd
(cherry picked from commit 33febd990c)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-08-11 13:13:18 +08:00
Zhao Wei LiangandZhou Xiao d1f47fba23 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-08 21:14:38 +08:00
cjin e313f56b30 feat(ble): support memory allocation check debug feature on ESP32-C2 2025-07-25 00:01:11 +08:00
Zhou Xiao e184fe297b fix(ble): ensure ble controller disable safety for ESP32-C2 2025-07-24 00:46:18 +08:00
Zhao Wei Liangandcjin f5be149eb2 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-13 16:09:23 +08:00
Zhao Wei LiangandZhou Xiao eb0cf524c0 fix(ble): added missed printf for ll log interface
(cherry picked from commit d12e072b35)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-05-19 12:04:43 +08:00
Jiang Jiang Jian e9d2d033c8 Merge branch 'feat/add_config_for_esp32c2_move_phylib_to_flash' into 'master'
feat(phy): add config for esp32c2 move iram func to flash

Closes IDF-11433

See merge request espressif/esp-idf!37917
2025-05-07 21:34:27 +08:00
wangtao@espressif.com 3035667e69 feat(phy): add config for esp32c2 move iram func to flash 2025-05-07 11:24:17 +08:00
cjin 6a80deac03 fix(ble): fix rtc freq set too high on ESP32-C2 2025-05-06 19:19:11 +08:00
cjin 73f1084bf8 feat(ble): support ble sleep using 136 kHz RC on ESP32-C2 2025-04-18 11:10:18 +08:00
cjin ce4e012c8b feat(ble): use new section for ble sleep on ESP32-C2 2025-04-16 14:36:43 +08:00
Shen Weilong 990fea687d feat(ble/controller): Added memory boundary check for ESP32-C2 2025-03-25 15:09:00 +08:00
zwl 578f2358c6 feat(ble): change whitelist max size to 31 on ESP32-C2 2025-03-18 11:58:53 +08:00
zwl afd44d14b9 fix(ble): fixed hci driver stack protection fault issue on ESP32-C2 2025-03-18 11:58:53 +08:00
zwl 71cea01694 feat(ble): add enhanced connect function on ESP32-C2 2025-03-17 10:44:21 +08:00
Zhou Xiao df829ac919 feat(ble): support ble log simple output via SPI interface for ESP32-C2 2025-03-17 10:44:20 +08:00
Shen Weilong 892b3a0b0e feat(ble): tell controller if vhci is enabled for ESP32-C2 2025-03-11 09:51:50 +08:00
Zhou Xiao e2e8e7dce1 fix(ble): add feed wdts during ble log dump for ESP32-C2 2025-02-25 17:57:15 +08:00
Sudeep Mohanty e01877ff2e Merge branch 'bug/xtensa_cpu1_sys_lockup' into 'master'
fix(panic_handler): Updated panic handler to use RTC WDT

Closes IDFGH-14379, IDFGH-14221, IDFGH-8665, and DOC-10263

See merge request espressif/esp-idf!36652
2025-02-19 17:11:10 +08:00
Sudeep Mohanty b562afa08e 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-02-18 15:40:54 +01:00
Zhou Xiao e4b698fc32 change(ble): update ble log spi out config for ESP32-C2 2025-02-18 14:21:53 +08:00
zwl bbcb4a2e1f feat(ble): support enhanced controller log capabilities on ESP32-C2 2025-02-13 18:29:41 +08:00
Zhou Xiao 0b57f8ae87 feat(ble): support esp ble controller spi output interface for ESP32-C2 2025-02-11 12:00:17 +08:00
zwl 6a752eeb89 fix(ble): fixed esp_ble_tx_power_set api issue on ESP32-C2 2025-01-10 20:44:27 +08:00
zwl 2cb7d2437b feat(ble): Support get ble controller free heap size on ESP32-C2 2024-12-20 20:19:37 +08:00
zwl 6b01a56e09 fix(ble): fixed the connect issue when rx error aa on ESP32-C2 2024-12-13 15:34:21 +08:00
cjin 23f7e33a97 fix(ble): fix ble light sleep error on esp32c2 2024-11-19 14:19:23 +08:00
Shen Weilong ccc2411191 feat(ble): Support for putting code in flash on ESP32-C2 2024-11-12 18:08:50 +08:00
cjin 3aac7d2a58 feat(ble): add internal api to change ble slow clock source 2024-08-27 12:49:32 +08:00
Shen Weilong a5551179ac feat(ble): Print out the BT mac when the controller is initialized 2024-08-07 16:40:27 +08:00