Commit Graph

156 Commits

Author SHA1 Message Date
cjin
6ec7a718f9 feat(sleep_modem): allow multi modem to enable rf with regdma 2026-07-17 11:04:26 +08:00
Xiao Xufeng
789ce684c9 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-06-16 01:00:43 +08:00
cjin
9521182c67 feat(ble): support retention attach/detach to bt module 2026-05-21 11:46:16 +08:00
ShenWeilong
a4171d2ad1 fix(ble): always init the default os queue for all of controllers 2026-04-28 15:06:18 +08:00
zhaoweiliang
e85bb5cca8 feat(ble): add adv tx options on ESP32-C6 2026-04-09 11:11:52 +08:00
Zhou Xiao
b5b886fd1e change(bt): consolidate BLE log Kconfig into common/Kconfig.in
Move per-chip BLE log Kconfig options (esp32c2/c5/c6/h2) into
components/bt/common/Kconfig.in for single-source-of-truth configuration.

Restructure menu as "BT Logs" with "Log Sources" sub-menu containing
controller log config options. Controller log output mode choice defaults
to BLE Log v2 when BLE_LOG_ENABLED, with legacy mode as deprecated
fallback. Migrate wrap_panic_handler and task_wdt_user_handler configs
as well since they depend on BT_LE_CONTROLLER_LOG_ENABLED.
2026-03-23 20:10:38 +08:00
Zhou Xiao
d51892380b change(bt/ble_log): remove BLE Log UHCI Out module
Delete ble_log_uhci_out.c and its header. Remove the UHCI Out source
from CMakeLists.txt and all BT_BLE_LOG_UHCI_OUT_* Kconfig options.
Remove per-chip BT_LE_CONTROLLER_LOG_UHCI_OUT_ENABLED Kconfig and
all UHCI Out caller references in esp32c5/c6/h2 controller bt.c.
Update ble_log_console README to reference the new BLE Log Module
UART DMA config. The functionality is superseded by the BLE Log
Module's UART DMA peripheral transport.
2026-03-20 16:01:35 +08:00
Island
596827eafd Merge branch 'feat/use_common_config_to_sel_crypt_lib' into 'master'
Feat/use common config to sel crypt lib

See merge request espressif/esp-idf!45556
2026-03-09 14:16:31 +08:00
cjin
73191cb5f9 fix(ble): use apb max state for bt and enable should skip on ESP32-C6 2026-03-05 11:29:23 +08:00
cjin
4418d5da82 feat(ble): add config for reserved controller memory on ESP32C6 and ESP32H2 2026-02-04 00:07:44 +08:00
zhaoweiliang
84924e3980 feat(ble): support adv fast tx feature on ESP32-C6 and ESP32-H2 2026-02-04 00:07:44 +08:00
ShenWeilong
aa40fdcc64 change(bt): use BT_SMP_CRYPTO_STACK_MBEDTLS to select bt cryption lib 2026-02-04 00:07:33 +08:00
cjin
6b4b497901 feat(ble): support sid filter feature on ESP32C6 2026-01-16 12:51:55 +05:30
zhiweijian
ce72e90291 feat(ble/bluedroid): Add new bluedroid host examples 2026-01-08 12:17:26 +08:00
zhaoweiliang
a16a56fdbe fix(ble): fixed build error on ESP32-C6 2025-12-31 20:05:14 +08:00
Ashish Sharma
f22006e2f0 feat: migrates bt/ble to PSA APIs 2025-12-30 09:31:49 +05:30
cjin
f29f500ac8 fix(ble): remove target dependency on power control config on ESP32C6 2025-12-09 19:55:49 +08:00
cjin
4e4b863299 fix(ble): add soc caps config for pawr feat on ESP32C6 2025-12-09 16:27:00 +08:00
zhaoweiliang
6c4f33798f feat(ble): add CONFIG_BT_LE_CTRL_DL_ITVL_PHY_SYNC_EN config on ESP32-C6 2025-12-03 14:28:13 +08:00
zhaoweiliang
0f03da43c8 feat(ble): add peripheral fast rx data in latency config on ESP32-C6 2025-11-07 09:59:31 +08:00
cjin
8e1292e1f2 feat: rename ble sleep related apt on ESP32-C6 2025-11-06 17:31:44 +08:00
zhaoweiliang
09337109b7 feat(ble): add priority level config on ESP32-C6 2025-10-23 11:25:37 +08:00
cjin
4d1872c66d fix(ble): fix ble wakeup causes error on ESP32-C6 2025-10-22 17:50:47 +08:00
Island
4cd13a9317 Merge branch 'fix/update_pawr_example_docs' into 'master'
Fix/update pawr example docs

See merge request espressif/esp-idf!42161
2025-10-17 18:03:00 +08:00
zwl
034172154a feat(ble): change free api on ESP32-C6 2025-10-15 15:11:06 +08:00
cjin
b3c608f2cf feat(ble): allow a larger sca limit on ESP32-C6 2025-09-26 18:04:27 +08:00
cjin
622b7cf425 feat(ble): get wakeup cause when wake up on ESP32-C6 2025-09-19 16:47:35 +08:00
Island
a3b8073d96 Merge branch 'change/ble_update_lib_20250828' into 'master'
change(ble): [AUTO_MR] 20250828 - Update ESP BLE Controller Lib

Closes BLERP-2183, BLERP-2083, BLERP-2195, and BLERP-2196

See merge request espressif/esp-idf!41601
2025-09-17 10:33:14 +08:00
Zhou Xiao
a9a7677ea8 feat(ble): supported ble log v2 for ESP32-C6 2025-09-16 14:31:36 +08:00
zwl
3558f20a4e fix(ble): update ext_version on ESP32-C6 2025-09-16 00:06:40 +08:00
cjin
410d904845 feat(ble): support pawr feature in ble sdk on ESP32-C6 2025-08-18 19:18:10 +08:00
cjin
b5ce766c7f feat(ble): add clk source freq change of ble slow clock on ESP32-C6 2025-08-18 19:18:10 +08:00
zwl
ca0fdad4f2 fix(ble): fixed dtm function error on ESP32-C6 2025-07-31 14:17:07 +08:00
zwl
dc65875e57 feat(ble): add flash only param config api on ESP32-C6 2025-07-28 14:11:10 +08:00
Zhou Xiao
ae8a7c8117 feat(ble): support ble log uart dma out for ESP32-C6 2025-07-17 10:48:22 +08:00
cjin
3d93ce37da feat(ble): enable broker initialization on ESP32-C6 2025-07-09 11:25:23 +08:00
cjin
027766e0c2 feat(ble): support memory allocation check debug feature on ESP32-C6 2025-07-09 11:25:23 +08:00
cjin
ab92fef5be feat(ble): add sm count reserve cnt setting on ESP32-C6 and ESP32-C61 2025-06-26 14:54:53 +08:00
cjin
581521526b fix(ble): change the default ble cca thresh on ESP32-C6 2025-06-06 17:56:55 +08:00
zwl
3c8ba488e0 fix(ble): fixed an occasional assertion issue during sync on ESP32-C6 2025-06-06 17:56:11 +08:00
Zhou Xiao
d12e072b35 fix(ble): added missed printf for ll log interface 2025-05-16 15:10:44 +08:00
zwl
cd6038b6cf fix(ble): fixed occasional assert issue in scan and connection scenarios on ESP32-C6 2025-05-16 14:22:25 +08:00
Sumeet Singh
12639efed5 feat(nimble): Added some fixes for autopts testing 2025-05-07 15:27:08 +05:30
cjin
718dd7a87a feat(ble): support ble sleep using 136 kHz RC on ESP32-C6 2025-04-22 10:02:49 +08:00
cjin
5fbbec8655 feat(ble): support configurable rxbuf opt feat on ESP32-C6 2025-04-16 14:36:48 +08:00
Shen Weilong
12c0cd63d3 feat(ble/controller): Added memory boundary check for ESP32-C6 and ESP32-H2 2025-03-25 15:08:06 +08:00
Geng Yuchao
adc61d3c8d feat(ble):Add Kconfig support for direction finding feature 2025-03-21 16:34:31 +08:00
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
eae9b795aa feat(ble): support ble log simple output via SPI interface for ESP32-C6 2025-03-17 10:44:20 +08:00