Commit Graph

101 Commits

Author SHA1 Message Date
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
Rahul Tank
12d81c1cf1 fix(nimble): Deselect MBEDTLS_ECP_RESTARTABLE when mbedTLS is used 2024-05-06 15:19:40 +05:30
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
zwl
a64a528cb8 ble: support only legacy adv and slave function on esp32c2 2024-04-24 10:50:40 +08:00
cjin
510ae698e2 feat(ble): add cca related config in c6, h2 and c2 2024-04-02 12:16:56 +08:00
cjin
27d360127d change(ble): support ble light sleep using ext 32k xtal on C2 2024-04-02 12:16:56 +08:00
zwl
a055ee6da6 bugfix(ble) : fixed some ble issues on ESP32-C2 2024-02-23 18:02:57 +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
cjin
82d53440a4 change(ble): added ble cca en and thresh option 2023-12-22 14:34:30 +08:00
luomanruo
f75b4b1636 ble: support for selecting CSA#2 by menuconfig
ble(fix): fixed event receiving on host side without returning event buffer to pool
2023-12-22 14:34:30 +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
0b7cba39de ble: update controller log module for ESP32-C2 2023-10-18 17:08:51 +08:00
Jiang Jiang Jian
249e45a5d6 Merge branch 'bugfix/coex_cfg_option_invisible' into 'master'
fix(esp_coex): Fix dependency errors in coexist configuration

Closes BT-3435

See merge request espressif/esp-idf!26484
2023-10-18 15:36:22 +08:00
linruihao
11efe6ecdc fix(esp_coex): Fix dependency errors in coexist configuration 2023-10-16 11:44:23 +08:00
cjin
6503d1327b feat(ble): added modem reset on c2 h2 and c6 2023-10-13 11:39:29 +08:00
zhaokeke
a39869416c feat(bt): Frees BLE memory when no longer in use
It will free libble.a & libbt all txt, data and bss segment memory.
This memory is combined into one large memory and put into the heap
pool.
2023-10-08 16:08:47 +08:00