Commit Graph

109 Commits

Author SHA1 Message Date
Zhou Xiao
66afbc467b 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:53:52 +08:00
Shen Weilong
7819da8490 feat(ble/controller): Added memory boundary check for ESP32-C2 2025-03-25 15:39:04 +08:00
Zhao Wei Liang
f9ab136a01 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:18:06 +08:00
Zhao Wei Liang
a19799cbd0 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:18:06 +08:00
Zhou Xiao
ca33fdac08 feat(ble): add enhanced connect function on ESP32-C2
(cherry picked from commit 71cea01694)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-03-18 12:54:02 +08:00
Zhou Xiao
8b8384140e 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-18 12:53:55 +08:00
Island
e4f4a78f5b Merge branch 'fix/feed_wdts_during_ble_log_dump_c2_v5.1' into 'release/v5.1'
fix(ble): add feed wdts during ble log dump for ESP32-C2 (v5.1)

See merge request espressif/esp-idf!37717
2025-03-13 19:34:20 +08:00
Zhou Xiao
f9f17fc70a 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:35 +08:00
Shen Wei Long
09ef128249 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:01:34 +08:00
Sudeep Mohanty
2bba3944c2 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:10:09 +01:00
Island
06da036d83 Merge branch 'feat/improve_bt_log_spi_output_interface_v5.1' into 'release/v5.1'
Feat/improve bt log spi output interface (v5.1)

See merge request espressif/esp-idf!37134
2025-02-21 10:47:42 +08:00
Jiang Jiang Jian
e9b7e6c434 Merge branch 'change/ble_update_lib_20250212_v5.1' into 'release/v5.1'
change(ble): [AUTO_MR] 20250212 - Update ESP BLE Controller Lib (v5.1)

See merge request espressif/esp-idf!37041
2025-02-20 11:09:15 +08:00
Zhou Xiao
e2bf0a9772 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:53:33 +08:00
Zhou Xiao
f08f52d057 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:22:55 +08:00
Zhou Xiao
5f20fab227 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:53:31 +08:00
Zhou Xiao
17d01a1818 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:53:40 +08:00
Zhao Wei Liang
9e24e88ca7 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:08 +08:00
Zhao Wei Liang
4036633ee3 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:25 +08:00
Jin Chen
b7b9367b21 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:41:40 +08:00
Shen Weilong
4fff9f7cf7 feat(ble): Support for putting code in flash on ESP32-C2 2024-11-11 17:45:55 +08:00
cjin
53c865090c feat(ble): add internal api to change ble slow clock source 2024-08-27 12:48:38 +08:00
Shen Weilong
a981024b98 feat(ble): Print out the BT mac when the controller is initialized 2024-08-09 20:55:16 +08:00
zwl
fde374a78e fix: fixed directed adv can't be conneted when adv filter is 0x2 on ESP32C2 2024-07-31 14:38:52 +08:00
zwl
70e5c79476 feat(bluetooth/controller): support switching log output mode on ESP32-C2 2024-07-29 11:56:23 +08:00
zwl
11f0fd8f8e feat(bluetooth/controller): storage ble controller log to flash on ESP32C2 2024-07-29 11:56:23 +08:00
zwl
4cdb166b36 feat(bluetooth/controller): support default tx power configurable on ESP32C2 2024-07-18 10:44:29 +08:00
zwl
c09892df4a feat(bluetooth/controller): adopting new HCI layer code on ESP32-C2 2024-07-16 13:23:41 +08:00
zwl
5fe68c206e feat(bluetooth/controller): adjust bt/porting code structure and delete redundant code 2024-06-24 11:31:40 +08:00
Island
bd5335f7d3 Merge branch 'feat/optimzie_ble_ctrl_memory_v5.1' into 'release/v5.1'
ble: support only legacy adv and slave function on esp32c2 (v5.1)

See merge request espressif/esp-idf!30335
2024-05-17 10:31:25 +08:00
Rahul Tank
8cf7043e28 Merge branch 'bugfix/disable_mbedtls_options_v5.1' into 'release/v5.1'
fix(nimble): Deselect MBEDTLS_ECP_RESTARTABLE when mbedTLS is used (v5.1)

See merge request espressif/esp-idf!30620
2024-05-15 14:17:56 +08:00
zwl
5e2679a02f ble: support only legacy adv and slave function on esp32c2 2024-05-13 17:49:35 +08:00
Rahul Tank
63ae667750 fix(nimble): Deselect MBEDTLS_ECP_RESTARTABLE when mbedTLS is used 2024-05-06 15:21:05 +05:30
Wang Mengyang
cc0485e40d 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-05-06 16:39:46 +08:00
Wang Mengyang
d01f09044e 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-05-06 16:38:10 +08:00
cjin
d7c4968d3c feat(ble): add cca related config in c6, h2 and c2 2024-04-02 19:55:37 +08:00
cjin
8e140779e7 change(ble): support ble light sleep using ext 32k xtal on C2 2024-04-02 19:55:36 +08:00
zwl
95a2ad919f bugfix(ble) : fixed some ble issues on ESP32-C2 2024-02-23 18:03:24 +08:00
luomanruo
9f405f2174 fix failure of pre-commit 2024-01-26 10:38:16 +08:00
zwl
b13a4e2d9c fix(ble): fixed build error when disable sm feature 2024-01-25 20:37:08 +08:00
luomanruo
6c8fa646e4 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:05 +08:00
Island
6deb0ae743 Merge branch 'bugfix/ble_update_lib_20231219_v5.1' into 'release/v5.1'
update lib on release/v5.1

See merge request espressif/esp-idf!27999
2023-12-22 14:57:32 +08:00
muhaidong
13094f2216 change(wifi): update esp_coexist_internal.h and esp_modem_wrapper.h 2023-12-19 19:15:49 +08:00
cjin
d5bfb9b326 change(ble): added ble cca en and thresh option 2023-12-19 14:34:44 +08:00
luomanruo
c67710bacf ble: support for selecting CSA#2 by menuconfig
ble(fix): fixed event receiving on host side without returning event buffer to pool
2023-12-19 14:20:19 +08:00
luomanruo
9b0e4ee24a ble(fix): clear event queue when init event queue
ble: update log module on ESP32C2, ESP32H2 and ESP32C6
2023-12-08 17:20:55 +08:00
Island
80b61281b9 Merge branch 'bugfix/ble_update_lib_1110_5.1' into 'release/v5.1'
Bugfix/ble update lib 1110 5.1

See merge request espressif/esp-idf!27061
2023-11-23 19:10:49 +08:00
luomanruo
d24f7d9f12 ble(fix): deinit crash issue 2023-11-21 15:05:22 +08:00
luomanruo
11f26f3319 ble: update controller log module 2023-11-21 15:03:38 +08:00
luomanruo
2984e14eba 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:03:38 +08:00
linruihao
f57826e239 fix(esp_coex): Fix dependency errors in coexist configuration 2023-11-16 03:16:15 +00:00