73 Commits

Author SHA1 Message Date
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 f6760db77d975d82c7119a82387bc66b9e320c25.
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
luomanruo
8b7c87028b ble: update controller log module for ESP32-C2 2023-10-18 18:03:45 +08:00
luomanruo
3d381ba560 ble: update controller log module for ESP32-C2 2023-10-18 16:59:11 +08:00
cjin
dc8e00e22f feat(ble): added modem reset on c2 2023-10-13 11:44:18 +08:00
luomanruo
79b2773102 change(ble): update controller log print interface 2023-09-12 17:40:50 +08:00
cjin
e741807b5a ble: support esp32c2 wakeup overhead 2023-09-08 17:03:06 +08:00
zwl
dc417eeab9 feat(ble): enable adv report flow control on esp32c2 2023-09-07 16:38:03 +08:00
zwl
99197d4a02 feat(ble): supported trace function and adv report flow control on esp32c2 2023-09-07 16:30:20 +08:00
luomanruo
eb8a741be2 ble: Assert when getting memory fail 2023-08-25 12:27:05 +08:00
cjin
42677134dc ble: move phy enabled/disable to controller enable/disable 2023-08-08 14:10:10 +08:00
luomanruo
3fd6493ade c2 5.0 doc, header files re-organized 2023-08-01 14:43:11 +08:00
cjin
75bd131a54 ble: fix cca for esp32c2 2023-06-29 20:02:34 +08:00
zwl
8ce59ffe14 ble:fixed build error when disable smp 2023-05-24 20:51:41 +08:00
zwl
bc96a1b6c7 ble:esp32c2 add rf temperature compensation 2023-05-24 20:51:41 +08:00
Island
21cfccad3a Merge branch 'feature/add_interface_for_ble_QA_test_5.0' into 'release/v5.0'
BLE: Add interface for QA test

See merge request espressif/esp-idf!22980
2023-05-12 16:27:37 +08:00
zwl
15d347f8c0 ble: Add assertion checking for bluedroid hci on ESP32-C2 and ESP32-H2 2023-05-11 12:01:21 +00:00
Shen Weilong
6bfeac7b6c BLE: Add interface for QA test
Fix sleep crash issue
2023-05-11 20:01:13 +08:00
Yuan Mingfu
3cc5ad7ac4 bugfix: deinit ble for specifies ESP_BT_MODE_BTDM 2023-04-04 18:04:12 +08:00
zwl
530c07a5be Optimized NPL Freertos API 2023-02-27 16:56:05 +08:00
Jiang Jiang Jian
7c20c3742d Merge branch 'bugfix/fix_the_bluedroid_hci_crash_on_esp32c2' into 'release/v5.0'
Fixed the bluedroid hci crash due to insufficient memory on ESP32C2

See merge request espressif/esp-idf!22056
2023-02-27 15:07:31 +08:00
Shen Weilong
699dde8a38 Fixed the bluedroid hci crash due insufficient memory on ESP32C2 2023-02-03 20:41:23 +08:00
wangmengyang
ebb7650e63 bluetooth: fix that functions "coex_enable" and "coex_disable" are not used in pairs on ESP32-C3, ESP32-S3 and ESP32-C2 2023-01-20 10:47:58 +08:00
liuning
8ba9f8a6cf ci: fix esp_phy_modem_deinit issue 2022-12-15 10:48:04 +08:00
liuning
7d16868e32 phy: only set phy_init_flag at power domain off, when all modems deinit 2022-12-15 10:45:09 +08:00
zwl
5cab9686bb Optimized the number of npl on ESP32C2 2022-12-13 17:50:00 +08:00
zwl
de7e62fdfe Unify controller internal error code on ESP32-C2 2022-12-09 15:25:37 +08:00
cjin
5c481c5a08 ble: remove redundant pm lock on ble 2022-12-09 15:25:37 +08:00
Island
8e4bcb4875 Merge branch 'feature/add_comments_for_bt_connections' into 'release/v5.0'
Explain how much memory that will be used by each connection/advertiser.

See merge request espressif/esp-idf!21322
2022-12-06 17:21:12 +08:00
Jiang Jiang Jian
6d1f2821f1 Merge branch 'feature/esp32c2_optimize_ble_init_v5.0' into 'release/v5.0'
Fixed memory leak when RAM free size is insufficient or setting ext scan...

See merge request espressif/esp-idf!21262
2022-12-02 20:37:16 +08:00
Shen Weilong
dcc310f468 Explain how mush memory that will be used by each connection/advertiser. 2022-12-02 14:22:53 +08:00
zwl
06290d44c3 Fixed interrupt latency when cache is disable on ESP32-C2 2022-11-29 16:27:05 +08:00