Commit Graph

120 Commits

Author SHA1 Message Date
Zhao Wei Liang 099a7bda51 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-05 09:51:38 +08:00
Island 4b758e84bb Merge branch 'change/ble_update_lib_20251022_v5.4' into 'release/v5.4'
change(ble): [AUTO_MR] 20251022 - Update ESP BLE Controller Lib (v5.4)

See merge request espressif/esp-idf!42840
2025-10-28 12:06:19 +08:00
Island ef7b21baa7 Merge branch 'fix/update_pawr_example_docs_v5.4' into 'release/v5.4'
Fix/update pawr example docs (v5.4)

See merge request espressif/esp-idf!42657
2025-10-28 11:14:21 +08:00
Zhou Xiao a446224e43 fix(ble): fix ble wakeup causes error on ESP32-C2
(cherry picked from commit 5407e36e4a)

Co-authored-by: cjin <jinchen@espressif.com>
2025-10-27 10:52:04 +08:00
Jin Chen a3555e0b23 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:50 +08:00
Zhao Wei Liang 4b05304089 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:56 +08:00
cjin bf7e9f0914 feat(ble): get wakeup cause when wake up on ESP32-C2 2025-09-22 11:03:22 +08:00
Zhou Xiao b65ba9a601 feat(ble): supported ble log v2 for ESP32-C2 2025-09-16 19:13:00 +08:00
Zhao Wei Liang 23163e8fc7 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:32:16 +08:00
cjin 456a4682c8 feat(ble): support memory allocation check debug feature on ESP32-C2 2025-07-11 11:50:20 +08:00
Zhou Xiao 87396ab0ce fix(ble): ensure ble controller disable safety for ESP32-C2 2025-07-10 22:47:41 +08:00
Zhao Wei Liang 112644547d 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:04:47 +08:00
Zhao Wei Liang 6a9fedcab3 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:21 +08:00
Jin Chen ffad40df88 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:38 +08:00
Jin Chen 5226629d18 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:43 +08:00
Zhou Xiao 0cc6e2bb36 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:47 +08:00
Shen Weilong e1920ec42f feat(ble/controller): Added memory boundary check for ESP32-C6/C5/H2/C2/C61 2025-04-02 15:18:18 +08:00
zwl c93081cec4 feat(ble): add enhanced connect function on ESP32-C2 2025-04-02 15:18:18 +08:00
Zhou Xiao 8eb051cb30 feat(ble): support ble log simple output via SPI interface for ESP32-C2 2025-04-02 15:18:17 +08:00
Zhou Xiao cda345ffc7 fix(ble): add feed wdts during ble log dump for ESP32-C2 2025-04-02 15:18:17 +08:00
Island f6dc2b658d Merge branch 'feat/optimize_hci_data_recv_process_v5.4' into 'release/v5.4'
Feat/optimize hci data recv process (v5.4)

See merge request espressif/esp-idf!37834
2025-04-01 15:12:28 +08:00
Wang Meng Yang 0cecb7bcf3 Merge branch 'bug/xtensa_cpu1_sys_lockup_v5.4' into 'release/v5.4'
fix(panic_handler): Updated panic handler to use RTC WDT (v5.4)

See merge request espressif/esp-idf!37112
2025-04-01 14:51:18 +08:00
Shen Wei Long da1372d691 feat(ble/controller): Deleted useless functions for ESP32-C2 2025-03-24 20:28:22 +08:00
Zhao Wei Liang 8297b40cf5 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-18 16:04:56 +08:00
Zhao Wei Liang bd1223cc91 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-18 16:04:47 +08:00
Sudeep Mohanty cd887ef59a 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:17:26 +01:00
Zhou Xiao c6ea18fd55 change(ble): update ble log spi out config for ESP32-C2
(cherry picked from commit e4b698fc32)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-02-19 20:54:27 +08:00
Zhou Xiao 9912a9c029 feat(ble): support enhanced controller log capabilities on ESP32-C2
(cherry picked from commit bbcb4a2e1f)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-02-18 10:23:47 +08:00
Zhou Xiao 8d3fcb78ee 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-02-14 11:54:16 +08:00
Zhou Xiao a190bae264 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:47 +08:00
Island f4138ade17 Merge branch 'bugfix/fixed_ble_issues_241220_v5.4' into 'release/v5.4'
Bugfix/fixed ble issues 241220 (v5.4)

See merge request espressif/esp-idf!35924
2025-01-06 17:01:07 +08:00
Zhao Wei Liang 2e8b169bfe 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:50 +08:00
Zhao Wei Liang cb90787ac5 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:53 +08:00
Jin Chen 43cd3491c9 fix(ble): fix ble light sleep error on esp32c2
(cherry picked from commit 23f7e33a97)

Co-authored-by: cjin <jinchen@espressif.com>
2024-11-21 11:03:53 +08:00
Shen Wei Long 59e3a1f046 feat(ble): Support for putting code in flash on ESP32-C2
(cherry picked from commit 192f13135488a2f8a386ace2dad69da59e81f5b5)

Co-authored-by: Shen Weilong <shenweilong@espressif.com>
2024-11-13 10:45:03 +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
zwl ca5cb23095 fix: fixed directed adv can't be conneted when adv filter is 0x2 on ESP32C2 2024-08-02 16:34:21 +08:00
zwl 959d649126 feat(bluetooth/controller): support switching log output mode on ESP32-C2 2024-07-26 14:26:42 +08:00
zwl ca6bb9e60b feat(bluetooth/controller): storage ble controller log to flash on ESP32C2 2024-07-26 14:26:42 +08:00
zwl 1a19463ceb feat(bluetooth/controller): support default tx power configurable on ESP32C2 2024-07-17 17:27:42 +08:00
zwl 8504040869 feat(bluetooth/controller): adopting new HCI layer code on ESP32-C2 2024-07-09 20:43:48 +08:00
zwl 842e3b13a2 feat(bluetooth/controller): adjust bt/porting code structure and delete redundant code 2024-06-21 14:58:35 +08:00
Rahul Tank 4b4602d846 fix(nimble): Deselect MBEDTLS_ECP_RESTARTABLE when mbedTLS is used 2024-05-06 15:15:36 +05:30
zwl 917134f890 ble: support only legacy adv and slave function on esp32c2 2024-04-22 11:25:04 +08:00
Wang Meng Yang d4552c6274 Merge branch 'bugfix/bt_bss_in_extram' into 'master'
BT: Fix non-existent linker symbol when ESP_ALLOW_BSS_SEG_EXTERNAL_MEMORY enabled

Closes IDFGH-9017

See merge request espressif/esp-idf!21790
2024-04-12 08:57:10 +08:00
Wang Mengyang 1d9559cc9d change(bt): Rename linker script file names and symbol names
1. rename linker files
2. support memory release in case that ESP_ALLOW_BSS_SEG_EXTERNAL_MEMORY is enabled
3. improve the implementation of memory release
2024-04-10 19:13:17 +08:00
Wang Mengyang 0aca5ec357 fix(bt): Fix missing linker symbol when ESP_ALLOW_BSS_SEG_EXTERNAL_MEMORY enabled
1. Closes https://github.com/espressif/esp-idf/issues/10427
2. add two linker script to unify linker script symbols for BT libraries
3. The memory release functions have also been simplified
2024-04-10 19:13:17 +08:00
xuxiao ec872c0c81 fix(wifi): fix code review comments 2024-04-10 15:27:50 +08:00
cjin 2f60e19696 feat(ble): add cca related config in c6, h2 and c2 2024-04-01 15:57:06 +08:00