Commit Graph

1295 Commits

Author SHA1 Message Date
cjin
bfb9a07dbb feat(ble): supported placing bt function in iram on esp32-h4 and esp32-s31 2026-07-30 08:17:26 +08:00
Jiang Jiang Jian
947e534927 Merge branch 'fix/mmap_cache_flash_wr_v6.1' into 'release/v6.1'
fix(mmap): fixed mmap read data wrong when flash being erased/written and cache not disabled (v6.1)

See merge request espressif/esp-idf!50117
2026-07-17 10:30:14 +08:00
liqigan
1004beff62 feat(bt/controller): Added LMP debug vendor HCI and fixed some bugs ts on ESP32-S31 2026-07-16 14:30:38 +08:00
liqigan
b93794265f fix(bt/controller): Fixed BR/EDR controller bugs found by regression tests on ESP32-S31
- Fixed the state machine issue caused by security related LMP procedures on ESP32-S31
- Fixed the issue of insufficient air time for ACK reception from the Central on ESP32-S31
- Fixed the page scan collision issue on ESP32-S31
- Fixed read failures for local supported features and extended features on ESP32-S31
- Fixed NULL access issue during SYNC disconnection on ESP32-S31
- Fixed ACL schedule issue during SYNC connection establishment on ESP32-S31
2026-07-16 14:30:38 +08:00
Xiao Xufeng
3e8389cc31 fix(mmap): fixed some API read wrong data via mmap when flash being erased/written while XIP on PSRAM
Before:

The cache won't be disabled when XIP on psram. But during flash
erasing/programming, read data will be courrupt.

When XIP in psram is enabled, the image is not mapped to the cache so
usually there will be no flash access. The only way to read from flash
is via the driver or use mmap. The driver has protection during erasing,
while th mmap region not.

Now:

Mmap APIs provide a flag to make mmap->unmap region mutually exclusive
to flash erase/programming when XIP from psram. SPI Flash write APIs
will benefit from this. When the flag is used, no concurrent access to
mapped region will happen while writing; otherwise the cache will be
disable to avoid data corruption.

Most ESP-IDF APIs calls mmap with this flag. As for users calling
mmap-like APIs directly, they can choose whether to enable this by a
flag.

Closes https://github.com/espressif/esp-idf/issues/14897
2026-07-15 18:57:08 +08:00
Jiang Jiang Jian
07c6d5eacf Merge branch 'change/ble_update_lib_20260610_v6.1' into 'release/v6.1'
change(ble): [AUTO_MR] 20260610 - Update ESP BLE Controller Lib (6.1)

See merge request espressif/esp-idf!50227
2026-07-03 21:52:31 +08:00
ShenWeilong
ef702ca257 feat(ble): Updated libble to 6bbfb64 on ESP32-S31 and ESP32-H4 2026-07-01 21:06:50 +08:00
Zhou Xiao
89a4da5083 change(ble): [AUTO_MR] Update lib_esp32c6 to a6519790
(cherry picked from commit 226a0483b1)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2026-07-01 10:35:37 +08:00
Zhou Xiao
9af79c18e3 change(ble): [AUTO_MR] Update lib_esp32c5 to a6519790
(cherry picked from commit a43358587c)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2026-07-01 10:35:37 +08:00
Zhou Xiao
4e625df6ec change(ble): [AUTO_MR] Update lib_esp32h2 to a6519790
(cherry picked from commit 8a744e8e93)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2026-07-01 10:35:36 +08:00
zhanghaipeng
c69d150565 fix(bt): update ESP32 libbtdm_app.a to 4a0f94d5
- Fix connection failure when using RPA with whitelist filtering
- Fix disconnect with reason 0x08 during full scan
- Fix peer RPA resolution failure when advertising with a local identity address
2026-06-29 10:38:51 +08:00
Jin Cheng
e44fcbd35f fix(bt/controller): fixed several BR/EDR controller bugs found by WVT regression tests on ESP32 2026-06-29 10:38:34 +08:00
Jiang Jiang Jian
c039510b18 Merge branch 'change/ble_update_lib_20260612_v6.1' into 'release/v6.1'
change(ble): [AUTO_MR] 20260612 - Update ESP BLE Controller Lib (6.1)

See merge request espressif/esp-idf!49611
2026-06-23 14:46:22 +08:00
Jiang Jiang Jian
6b2f99fdde Merge branch 'bugfix/s31_wvt_test_v6.1' into 'release/v6.1'
Bugfix/s31 wvt test v6.1

See merge request espressif/esp-idf!49616
2026-06-13 15:01:47 +08:00
Jin Cheng
ad5748f1af fix(bt/controller): fixed several BR/EDR controller bugs found by WVT regression tests on ESP32-S31 2026-06-12 15:39:17 +08:00
ShenWeilong
30458851b3 feat(ble): updated libble to 71d180a4 for esp32h4 and esp32s31 2026-06-12 14:47:03 +08:00
Zhou Xiao
28093221cc change(ble): [AUTO_MR] Update lib_esp32c2 to 750d4902
(cherry picked from commit 897f3b2af1)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2026-06-12 12:14:40 +08:00
Jiang Jiang Jian
e406662397 Merge branch 'fix/ble_funcs_reset_default_enabled_v6.1' into 'release/v6.1'
fix(bt): Add default BLE controller funcs reset enable (6.1)

See merge request espressif/esp-idf!49139
2026-06-10 11:13:04 +08:00
Jin Cheng
b62e578edd fix(bt/controller): fixed several BR/EDR controller bugs found by WVT regression tests on ESP32-S31 2026-06-09 16:34:36 +08:00
Jiang Jiang Jian
7cf57fe795 Merge branch 'fix/fix_conn_recycle_assertion_at_halt_v6.1' into 'release/v6.1'
fix(ble): fix conn recycle assertion at halt on ESP32-C2 (6.1)

See merge request espressif/esp-idf!49239
2026-06-05 10:35:22 +08:00
Jiang Jiang Jian
8c0d5b1693 Merge branch 'bugfix/fix_ble_coded_phy_performance_with_wifi_coex_v6.1' into 'release/v6.1'
fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(51d9dfde) (6.1)

See merge request espressif/esp-idf!48996
2026-06-05 10:28:41 +08:00
Jiang Jiang Jian
77f5214ab0 Merge branch 'fix/some_issue_s31_v6.1' into 'release/v6.1'
fix(bt/controller): fixed several controller issues (v6.1)

See merge request espressif/esp-idf!49117
2026-06-04 15:10:28 +08:00
Jin Chen
6f600996c7 fix(ble): fix conn recycle assertion at halt on ESP32-C2
(cherry picked from commit 5483aeedb6)

Co-authored-by: cjin <jinchen@espressif.com>
2026-06-03 17:54:11 +08:00
wuzhenghui
f34f07ba07 fix(esp_system): update cache livelock workaround bind to interrupt WDT configuration 2026-06-02 17:31:11 +08:00
Zhang Hai Peng
55f922200a fix(bt): Add default BLE controller funcs reset enable
(cherry picked from commit 7c1cb4b296)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-06-02 10:14:29 +08:00
chenqingqing
1059651948 fix(bt/controller): fixed several controller issues
- fix the start time in scheduling item
- stop inquiry ASAP when response number reached
- add support for hold mode
- stop handshake when acl link is already exist with same bdaddr
- fix AFH state after successful role switch
- return correct failure reason to avoid redundant "not accepted"
- fix build error when building rom code
- fix conflict between sniff and sniff subrate
2026-06-01 20:30:23 +08:00
Zhang Hai Peng
74c70062e2 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(51d9dfde)
- improve coded PHY performance under Wi-Fi coexistence


(cherry picked from commit 8da824cd0e)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-05-28 14:45:20 +08:00
Jiang Jiang Jian
2dc66242b7 Merge branch 'bugfix/supp_pcm_over_i2s' into 'master'
fix(bt/controller): fixed several controller issues

Closes BTQABR2023-692, BTQABR2023-722, BTQABR2023-675, and BTQABR2023-688

See merge request espressif/esp-idf!48684
2026-05-22 14:30:49 +08:00
Island
a22fda94cb Merge branch 'change/ble_update_lib_20260520' into 'master'
change(ble): [AUTO_MR] 20260520 - Update ESP BLE Controller Lib

Closes BLERP-2797

See merge request espressif/esp-idf!48757
2026-05-22 10:14:41 +08:00
Li Shuai
d7a2e15164 Merge branch 'feat/pm-683' into 'master'
support sleep retention runtime module attach/detach feature

Closes PM-683, PM-656, and BT-4216

See merge request espressif/esp-idf!47164
2026-05-21 17:07:58 +08:00
Zhou Xiao
1be9cb193f change(ble): [AUTO_MR] Update lib_esp32c6 to 4adb29e0 2026-05-21 15:27:54 +08:00
Zhou Xiao
edac0a5e14 change(ble): [AUTO_MR] Update lib_esp32c5 to 4adb29e0 2026-05-21 15:27:54 +08:00
Zhou Xiao
9ace4422d9 change(ble): [AUTO_MR] Update lib_esp32h2 to 4adb29e0 2026-05-21 15:27:54 +08:00
Jin Cheng
2ea0396135 fix(bt/controller): fixed several controller issues
- added support for PCM over I2S
- ignored bandwidth and retransmission effort during SCO negotiation
- fixed use-after-free issues while handle the saved PDU
- removed unreasonable check for the packet write-back value
- fixed SSP unhandle LMP_NOT_ACCEPTED
- removed incorrect clearing of ACL flags
- fixed incorrect strategy to narrow down allowed packet types during
  eSCO negotiation
2026-05-21 15:12:14 +08:00
Island
b970c5f674 Merge branch 'ble_dev/esp32h21_chip_20260513' into 'master'
Ble dev/esp32h21 chip 20260513

Closes BLERP-2798, IDF-11626, IDF-11652, IDF-11653, IDF-11655, IDF-14811, IDF-14812, IDF-14813, IDF-14814, and IDF-14815

See merge request espressif/esp-idf!48499
2026-05-21 14:00:09 +08:00
cjin
9521182c67 feat(ble): support retention attach/detach to bt module 2026-05-21 11:46:16 +08:00
Wang Meng Yang
814656bca1 Merge branch 'bugfix/fix_bt_incorrect_error_code' into 'master'
fix(bt): Correct the error code in pairing when pin code req rejected by host

See merge request espressif/esp-idf!48656
2026-05-20 22:35:32 +08:00
ShenWeilong
cf813a4a1e feat(ble): Added ble support for esp32h21 2026-05-20 19:24:08 +08:00
linruihao
df492d5c2f fix(coex): fix ble coded phy rx issue when aborted by coex 2026-05-19 17:52:07 +08:00
linruihao
e68bf4e8d8 fix(bt): Correct the error code in pairing when pin code req rejected by host 2026-05-19 14:44:14 +08:00
zhaoweiliang
149592acc5 change(ble): [AUTO_MR] Update lib_esp32c6 to 04040491 2026-05-18 18:03:10 +08:00
zhaoweiliang
6f0b0e9a0d change(ble): [AUTO_MR] Update lib_esp32c5 to 04040491 2026-05-18 18:03:10 +08:00
zhaoweiliang
330ae12e18 change(ble): [AUTO_MR] Update lib_esp32h2 to 04040491 2026-05-18 18:03:10 +08:00
wangjialiang
17db29cd01 fix(ble): Fix ble iso i2s API missing issue 2026-05-15 09:56:26 +08:00
liqigan
926efbe858 fix(bt): Fixed not show config for broadcast encryption and PCA 2026-05-14 15:52:53 +08:00
Island
d8031954f6 Merge branch 'feat/support_bluedroid_key_log' into 'master'
Feat/support bluedroid key log

Closes BLERP-2782

See merge request espressif/esp-idf!48437
2026-05-14 14:04:07 +08:00
zhanghaipeng
0af57d731c feat(ble): Support BLE critical logs 2026-05-13 14:22:40 +08:00
cjin
19760a8722 feat(ble): supported ble light sleep feat on esp32h4 2026-05-11 08:34:15 +08:00
cjin
b6643c4786 feat(ble): supported ble light sleep feat on esp32s31 2026-05-11 08:34:15 +08:00
Konstantin Kondrashov
92bb2641b4 Merge branch 'fix/zol_reset_lcounter' into 'master'
fix(xtensa): Reset zero overhead loop counter in ISRs

Closes IDF-15322

See merge request espressif/esp-idf!45865
2026-04-29 12:44:00 +03:00