Commit Graph

89 Commits

Author SHA1 Message Date
Zhou Xiao
f334b6ad33 feat(ble): add flash only param config api on ESP32-H2
(cherry picked from commit 4c8258ca38)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-07-30 13:13:52 +08:00
Zhou Xiao
5893323abc feat(ble): support memory allocation check debug feature on ESP32-H2
(cherry picked from commit 265a8746dc)

Co-authored-by: cjin <jinchen@espressif.com>
2025-07-09 13:13:59 +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
Zhao Wei Liang
975c08b6cc feat(ble): support creating connections during scanning process on ESP32-H2
(cherry picked from commit 207d85a5f7)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-05-19 12:03:46 +08:00
Jin Chen
8ca72da03f feat(ble): support ble sleep using 136 kHz RC on ESP32-H2
(cherry picked from commit 6c8ee69151)

Co-authored-by: cjin <jinchen@espressif.com>
2025-04-22 19:05:30 +08:00
Zhou Xiao
3435951afc feat(ble): support ble log simple output via SPI interface for ESP32-H2
(cherry picked from commit e99b3c6f6a)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-03-24 10:58:27 +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
Zhao Wei Liang
3283d9e55c feat(ble): add a debug way to retain scene on ESP32-C6 2025-03-06 14:47:31 +08:00
zwl
b1a4aeb539 feat(ble): implement ble capture info user handler on ESP32-C6 and ESP32-H2 2025-03-06 14:38:11 +08:00
Shen Weilong
238c71b3da change(ble): Supported cuttable architecture for ble 2025-03-06 14:38:11 +08:00
Zhou Xiao
3102c4c94e feat(ble): support esp ble controller spi output interface for ESP32-H2
(cherry picked from commit 9c98c7e040)

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

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-03-03 16:36:40 +08:00
Zhou Xiao
304c40c89a fix(ble): fixed esp_ble_tx_power_set api issue on ESP32-H2
(cherry picked from commit d2b62f2130)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-01-14 14:54:08 +08:00
Zhou Xiao
5095bba000 feat(ble): support for putting ble code into flash on ESP32-H2
(cherry picked from commit 5a9acdc379)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-01-14 14:54:01 +08:00
Zhao Wei Liang
226d8d7c75 feat(ble): Support get ble controller free heap size on ESP32-H2
(cherry picked from commit 12f226be7d)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2024-12-24 15:21:19 +08:00
cjin
4250272790 fix(ble): do not assert if ble sleep init failed 2024-10-25 10:52:51 +08:00
cjin
41502dbf64 feat(ble): add internal api to change ble slow clock source 2024-08-27 12:47:22 +08:00
cjin
466d42359c fix(ble): remove ble wakeup before entering light sleep 2024-08-27 10:27:11 +08:00
zwl
93de12ee69 fix(ble): fixed ble controller issues on ESP32-H2 2024-08-26 19:41:48 +08:00
wuzhenghui
69baf86cf4 change(esp_hw_support): collect retention link priority definition 2024-08-26 11:40:07 +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
56984e4eac fix(ble): fixed wdt issue when print key controller info on ESP32-C6 and ESP32-H2 2024-07-29 11:56:17 +08:00
zwl
229f8ede97 feat(bluetooth/controller): support switching log output mode on ESP32-C6 and ESP32-H2 2024-07-29 11:56:17 +08:00
zwl
0898c1a5a8 feat(bluetooth/controller): storage ble controller log to flash on ESP32C6 and ESP32H2 2024-07-29 11:56:16 +08:00
zwl
56e9890ba0 feat(bluetooth/controller): adopting new HCI layer code and support UHCI on ESP32-C6 and ESP32-H2 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
zwl
fc8a569027 feat(bluetooth/controller): update controller api name on ESP32-C6 and ESP32-H2 2024-06-17 16:43:25 +08:00
Wang Mengyang
bb6cf16177 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-24 17:24:02 +08:00
Wang Mengyang
a06844d9b1 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-24 17:24:02 +08:00
Li Shuai
9f52809629 change(bt): use new retention api to implement BT mac and bb retention 2024-04-22 12:49:33 +08:00
cjin
27d360127d change(ble): support ble light sleep using ext 32k xtal on C2 2024-04-02 12:16:56 +08:00
zhaoweiliang
d4327c47a1 ble : adjust the log initialization sequence of ESP32C6 and ESP32H2 2024-04-02 12:16:56 +08:00
zwl
410db7f812 feat(ble): add ble controller version output on ESP32-C6 and ESP32-H2 2024-01-25 20:38:43 +08:00
zwl
de5644f88c feat(ble): add ble controller status check api on ESP32-C6 and ESP32-H2 2024-01-25 20:38:34 +08:00
zwl
f096b66d71 fix(ble): fixed build error when disable sm feature 2024-01-25 20:38:28 +08:00
luomanruo
86d6781f68 change(ble): npl count is zero if nimble host is not used
change(ble): added npl eventq put to front

change(ble): added cache safe check in ble power save example

ble(update):
    Update c2 lib to 91b81332
    Update h2 lib to 620fbe79
    Update c6 lib to 620fbe79

fix(ble): fix stack overflow disable at sleep

Revert "change(ble): added ble cca en and thresh option"

This reverts commit 71901499b9.
2024-01-19 16:14:55 +08:00
luomanruo
96a3926e22 ble(fix): clear event queue when init event queue
ble: update log module on ESP32C2, ESP32H2 and ESP32C6
2023-12-19 17:35:34 +08:00
luomanruo
b7b042f45d ble(fix): deinit crash issue 2023-11-21 15:07:37 +08:00
luomanruo
533b82aae1 ble: update controller log module 2023-11-21 15:06:23 +08:00
luomanruo
564e5c9429 ble(fix): Fixed the issue of not returning memory to the memory pool after deinit callout
ble(fix): Fixed the issue of not returning memory to the memory pool after deinit callout
2023-11-21 15:06:23 +08:00
muhaidong
2b6feac67c change(wifi): update esp_coexist_internal.h and esp_modem_wrapper.h 2023-11-16 11:03:44 +08:00
luomanruo
e3d72eada7 ble: update c2 rom.ld 2023-11-01 17:25:17 +08:00
luomanruo
5f891fae7e ble: update controller log module for ESP32-C6, ESP32-H2 and ESP32-C2 2023-10-18 18:10:25 +08:00
luomanruo
8f30d922ac ble: update controller log module for ESP32-H2 and ESP32-C6 2023-10-18 17:08:51 +08:00
cjin
6503d1327b feat(ble): added modem reset on c2 h2 and c6 2023-10-13 11:39:29 +08:00
zwl
355a420055 fix(phy): Fix ble phy_enable/disable api invoking issue for esp32c2,esp32h2 and esp32c6 2023-09-26 16:23:58 +08:00
cjin
7b176501e3 feat(ble): update ble sleep logic for esp32h2 2023-09-21 11:30:49 +08:00
luomanruo
fa4f34e791 change(ble): update controller log print interface 2023-09-12 15:44:01 +08:00