Commit Graph

113 Commits

Author SHA1 Message Date
zwl
2b435687b0 feat(ble): change whitelist max size to 31 on ESP32-C6 2025-03-18 11:58:53 +08:00
zwl
ec4a1324f5 fix(ble): fixed hci driver stack protection fault issue on ESP32-C6 2025-03-18 11:58:53 +08:00
Zhou Xiao
e99b3c6f6a feat(ble): support ble log simple output via SPI interface for ESP32-H2 2025-03-17 10:44:20 +08:00
Shen Weilong
ac2b67d6c5 feat(ble): tell controller if vhci is enabled for ESP32-C6 and ESP32-H2 2025-03-10 20:34:36 +08:00
zwl
bc299e784c feat(ble): add a debug way to retain scene on ESP32-C6 2025-02-26 11:00:12 +08:00
Island
6b1d8dbbfb Merge branch 'change/ble_update_lib_20250217' into 'master'
change(ble): [AUTO_MR] 20250217 - Update ESP BLE Controller Lib

Closes BLERP-1562

See merge request espressif/esp-idf!37025
2025-02-19 19:53:24 +08:00
Sudeep Mohanty
e01877ff2e Merge branch 'bug/xtensa_cpu1_sys_lockup' into 'master'
fix(panic_handler): Updated panic handler to use RTC WDT

Closes IDFGH-14379, IDFGH-14221, IDFGH-8665, and DOC-10263

See merge request espressif/esp-idf!36652
2025-02-19 17:11:10 +08:00
zwl
180e67b547 feat(ble): implement ble capture info user handler on ESP32-C6 and ESP32-H2 2025-02-19 12:07:26 +08:00
Shen Weilong
c2449607dc change(ble): Supported cuttable architecture for ble 2025-02-19 12:07:16 +08:00
Sudeep Mohanty
b562afa08e 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-18 15:40:54 +01:00
Zhou Xiao
608ecf63e2 change(ble): update ble log spi out config for ESP32-H2 2025-02-18 14:22:47 +08:00
zwl
f598976c6b feat(ble): support enhanced controller log capabilities on ESP32-C6 and ESP32-H2 2025-02-13 18:29:41 +08:00
zwl
0ffac92586 feat(ble): add channel assessment and enhanced connect function on ESP32-H2 2025-02-13 18:29:41 +08:00
Zhou Xiao
9c98c7e040 feat(ble): support esp ble controller spi output interface for ESP32-H2 2025-02-11 12:00:49 +08:00
zwl
d2b62f2130 fix(ble): fixed esp_ble_tx_power_set api issue on ESP32-H2 2025-01-10 20:44:27 +08:00
zwl
5a9acdc379 feat(ble): support for putting ble code into flash on ESP32-H2 2025-01-10 20:44:27 +08:00
zwl
12f226be7d feat(ble): Support get ble controller free heap size on ESP32-H2 2024-12-20 20:19:37 +08:00
zwl
093b65e27c fix(ble): fixed the connect issue when rx error aa on ESP32-H2 2024-11-27 10:22:26 +08:00
Li Shuai
8eea8a8ef3 change(esp_hw_support): update some modules sleep retention init dependency bitmap 2024-11-18 15:40:47 +08:00
cjin
a011ac0587 fix(ble): do not assert if ble sleep init failed 2024-10-23 19:03:17 +08:00
cjin
3aac7d2a58 feat(ble): add internal api to change ble slow clock source 2024-08-27 12:49:32 +08:00
cjin
8b1e4d8437 fix(ble): remove ble wakeup before entering light sleep 2024-08-27 12:49:32 +08:00
zwl
e8c80d4809 fix(ble): fixed ble controller issues on ESP32-H2 2024-08-22 09:53:11 +08:00
Shen Weilong
a5551179ac feat(ble): Print out the BT mac when the controller is initialized 2024-08-07 16:40:27 +08:00
zwl
556264dcad fix: fixed occasional wdt issue in multi-connection scenarios on ESP32H2 2024-08-02 16:34:21 +08:00
zwl
d62f1d3d43 fix(ble): fixed wdt issue when print key controller info on ESP32-C6 and ESP32-H2 2024-07-26 14:26:42 +08:00
zwl
3e13e70290 feat(bluetooth/controller): support switching log output mode on ESP32-C6 and ESP32-H2 2024-07-26 14:26:42 +08:00
zwl
60e6a6116f feat(bluetooth/controller): storage ble controller log to flash on ESP32C6 and ESP32H2 2024-07-26 14:26:42 +08:00
zwl
ceda7d04e4 feat(bluetooth/controller): support default tx power configurable on ESP32C6 and ESP32H2 2024-07-17 17:23:28 +08:00
zwl
e154fa0af2 feat(bluetooth/controller): adopting new HCI layer code and support UHCI function on ESP32-C6 and ESP32-H2 2024-07-09 20:43:48 +08:00
zwl
842e3b13a2 feat(bluetooth/controller): adjust bt/porting code structure and delete redundant code 2024-06-21 14:58:35 +08:00
zwl
d6240706ea feat(bluetooth/controller): update controller api name on ESP32-C6 and ESP32-H2 2024-06-18 15:40:53 +08:00
Rahul Tank
4b4602d846 fix(nimble): Deselect MBEDTLS_ECP_RESTARTABLE when mbedTLS is used 2024-05-06 15:15:36 +05:30
Wang Meng Yang
d4552c6274 Merge branch 'bugfix/bt_bss_in_extram' into 'master'
BT: Fix non-existent linker symbol when ESP_ALLOW_BSS_SEG_EXTERNAL_MEMORY enabled

Closes IDFGH-9017

See merge request espressif/esp-idf!21790
2024-04-12 08:57:10 +08:00
Wang Mengyang
1d9559cc9d 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-10 19:13:17 +08:00
Wang Mengyang
0aca5ec357 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-10 19:13:17 +08:00
xuxiao
ec872c0c81 fix(wifi): fix code review comments 2024-04-10 15:27:50 +08:00
cjin
2f60e19696 feat(ble): add cca related config in c6, h2 and c2 2024-04-01 15:57:06 +08:00
cjin
edb3f70562 change(ble): support ble light sleep using ext 32k xtal on C2 2024-04-01 15:57:06 +08:00
zhaoweiliang
29eb1400ae ble : adjust the log initialization sequence of ESP32C6 and ESP32H2 2024-04-01 15:57:06 +08:00
Li Shuai
c0f3570237 change(bt): use new retention api to implement BT mac and bb retention 2024-03-30 11:51:52 +08:00
fl0wl0w
90d1dcfd76 feat(freertos): Introduced new Kconfig option CONFIG_FREERTOS_NUMBER_OF_CORES
This commit replaces the use of portNUM_PROCESSORS and configNUM_CORES
macros in all of ESP-IDF. These macros are needed to realize an SMP
scenario by fetching the number of active cores FreeRTOS is running on.
Instead, a new Kconfig option, CONFIG_FREERTOS_NUMBER_OF_CORES, has been
added as a proxy for the FreeRTOS config option, configNUMBER_OF_CORES.
This new commit is now used to realize an SMP scenario in various places
in ESP-IDF.

[Sudeep Mohanty: Added new Kconfig option CONFIG_FREERTOS_NUMBER_OF_CORES]

Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2024-02-09 09:11:28 +01:00
wuzhenghui
247b4e0574 change(esp_hw_support): collect retention link priority definition 2024-02-02 11:21:44 +08:00
zwl
5172a99c9b feat(ble): add ble controller version output on ESP32-C6 and ESP32-H2 2024-01-25 17:04:48 +08:00
zwl
4a5127c029 feat(ble): add ble controller status check api on ESP32-C6 and ESP32-H2 2024-01-25 17:04:48 +08:00
zwl
e1d27c3b5d fix(ble): fixed build error when disable sm feature 2024-01-25 17:04:44 +08:00
luomanruo
dededd1267 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:13:12 +08:00
cjin
71901499b9 change(ble): added ble cca en and thresh option 2023-12-19 14:38:44 +08:00
luomanruo
0504b60b7a 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:38:22 +08:00
luomanruo
bf44a9e9c6 ble(fix): clear event queue when init event queue
ble: update log module on ESP32C2, ESP32H2 and ESP32C6
2023-12-05 16:12:09 +08:00