Commit Graph

103 Commits

Author SHA1 Message Date
cjin
4124ce77aa feat(ble): use new section for ble sleep on ESP32-C2 2025-04-17 14:05:22 +08:00
Shen Weilong
8c74230b77 feat(ble/controller): Added memory boundary check for ESP32-C2 2025-03-25 14:38:00 +08:00
Zhao Wei Liang
a9d9e092d2 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:28:41 +08:00
Zhao Wei Liang
ea3f6d7329 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:28:41 +08:00
Zhou Xiao
d21703765b 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:53:39 +08:00
Zhou Xiao
b424d7bcb6 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:37 +08:00
Island
62e181e185 Merge branch 'fix/feed_wdts_during_ble_log_dump_c2_v5.0' into 'release/v5.0'
fix(ble): add feed wdts during ble log dump for ESP32-C2 (v5.0)

See merge request espressif/esp-idf!37716
2025-03-13 19:34:15 +08:00
Island
b230faf2e1 Merge branch 'feature/update_controller_lib_20250310_v5.0' into 'release/v5.0'
Feature/update controller lib 20250310 (v5.0)

See merge request espressif/esp-idf!37678
2025-03-13 14:24:28 +08:00
Zhou Xiao
35f1090636 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:30 +08:00
Marius Vikhammer
be7ea1c1c2 Merge branch 'bug/xtensa_cpu1_sys_lockup_v5.0' into 'release/v5.0'
fix(panic_handler): Updated panic handler to use RTC WDT (v5.0)

See merge request espressif/esp-idf!37125
2025-03-12 10:01:25 +08:00
Shen Wei Long
dfaa34b9c6 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-11 20:53:37 +08:00
Sudeep Mohanty
68277df469 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-26 08:38:05 +01:00
Zhou Xiao
6bd2ef0083 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:21 +08:00
Zhou Xiao
3fcc64cc05 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:43 +08:00
Island
10bebf8139 Merge branch 'feat/add_spi_output_v5.0' into 'release/v5.0'
Feat/add spi output (v5.0)

See merge request espressif/esp-idf!36952
2025-02-17 11:04:29 +08:00
Zhou Xiao
11230d884a 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:23 +08:00
Zhou Xiao
79627f0151 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-02-12 10:55:00 +08:00
Zhao Wei Liang
85e299b939 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:20:54 +08:00
Zhao Wei Liang
cd6a69ed01 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:16 +08:00
Jin Chen
219244ffaa fix(ble): fix ble light sleep error on esp32c2
(cherry picked from commit 23f7e33a97)

Co-authored-by: cjin <jinchen@espressif.com>
2024-11-25 21:03:50 +08:00
Shen Weilong
c3290dfd6b feat(ble): Support for putting code in flash on ESP32-C2 2024-11-11 17:38:13 +08:00
cjin
4d53bda333 feat(ble): add internal api to change ble slow clock source 2024-08-27 15:56:25 +08:00
Jiang Jiang Jian
b54d9925fb Merge branch 'feat/save_ble_log_to_flash_0605_v5.0' into 'release/v5.0'
Feat/save ble log to flash 0605 v5.0

See merge request espressif/esp-idf!32398
2024-08-20 11:32:31 +08:00
Shen Weilong
553b97e84c feat(ble): Print out the BT mac when the controller is initialized 2024-08-09 20:58:57 +08:00
zwl
730230d9cf fix: fixed directed adv can't be conneted when adv filter is 0x2 on ESP32C2 2024-08-02 17:46:34 +08:00
zwl
a27c82c69a feat(bluetooth/controller): support switching log output mode on ESP32-C2 2024-07-29 12:11:09 +08:00
zwl
13b9b65904 feat(bluetooth/controller): storage ble controller log to flash on ESP32C2 2024-07-29 12:10:36 +08:00
zwl
eeea47ec5f feat(bluetooth/controller): support default tx power configurable on ESP32C2 2024-07-18 10:50:54 +08:00
zwl
cec91a1c10 feat(bluetooth/controller): adopting new HCI layer code on ESP32-C2 2024-07-16 20:10:03 +08:00
zwl
a76076fe14 feat(bluetooth/controller): adjust bt/porting code structure and delete redundant code 2024-06-24 16:03:18 +08:00
Jiang Jiang Jian
6a17b9c1c7 Merge branch 'bugfix/bt_bss_in_extram_v5.0' into 'release/v5.0'
fix(bt): Fix missing linker symbol when ESP_ALLOW_BSS_SEG_EXTERNAL_MEMORY enabled(backport v5.0)

See merge request espressif/esp-idf!30377
2024-05-13 11:03:07 +08:00
Rahul Tank
54f171ec5c fix(nimble): Deselect MBEDTLS_ECP_RESTARTABLE when mbedTLS is used 2024-05-06 15:22:39 +05:30
Wang Mengyang
76486bbfcb 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 17:14:58 +08:00
Wang Mengyang
eca6545ffe 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

fix(bt): remove unused file linker.lf
2024-05-06 17:14:55 +08:00
zwl
0e058edb9f ble: support only legacy adv and slave function on esp32c2 2024-04-18 12:15:56 +08:00
cjin
4d648f6330 feat(ble): add cca related config in c6, h2 and c2 2024-04-02 12:12:24 +08:00
cjin
4c05613b33 change(ble): support ble light sleep using ext 32k xtal on C2 2024-04-02 12:11:16 +08:00
zwl
3389b68ba9 bugfix(ble) : fixed some ble issues on ESP32-C2 2024-02-27 09:12:29 +08:00
cjin
dd7bd8ab34 Revert "change(ble): added ble cca en and thresh option"
This reverts commit f6760db77d.
2024-01-17 18:01:06 +08:00
luomanruo
46bbb6cb48 ble: npl count is zero if nimble host is not used 2024-01-17 15:41:51 +08:00
cjin
f6760db77d change(ble): added ble cca en and thresh option 2023-12-19 14:42:48 +08:00
luomanruo
8b513228e3 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:32:18 +08:00
luomanruo
8e48c4756e ble: update ble log on ESP32C2
ble(fix): clear event queue when init event queue
2023-12-05 16:11:15 +08:00
luomanruo
1c0fb3bb4a ble(fix): deinit crash issue 2023-11-22 03:13:43 +00:00
luomanruo
1c261213d7 ble: update controller log module 2023-11-22 03:13:43 +00:00
luomanruo
977b7f4bdb 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-22 03:13:43 +00:00
luomanruo
27f1557d70 ble: update c2 rom.ld 2023-10-31 16:28:50 +08:00
Shen Weilong
6875e2b7d0 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-24 06:04:39 +00:00
Wang Meng Yang
46c75fc31c Merge branch 'bugfix/coex_cfg_option_invisible_v5.0' into 'release/v5.0'
fix(esp_coex): Fix dependency errors in coexist configuration (Backport v5.0)

See merge request espressif/esp-idf!26581
2023-10-23 16:21:00 +08:00
linruihao
dd16903b51 fix(esp_coex): Fix dependency errors in coexist configuration 2023-10-19 19:04:32 +08:00