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
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
cjin
9521182c67
feat(ble): support retention attach/detach to bt module
2026-05-21 11:46:16 +08:00
ShenWeilong
cf813a4a1e
feat(ble): Added ble support for esp32h21
2026-05-20 19:24:08 +08:00
ShenWeilong
a4171d2ad1
fix(ble): always init the default os queue for all of controllers
2026-04-28 15:06:18 +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
ac8fe378a0
fix(ble): use apb max state for bt and enable should skip on ESP32-H2
2026-03-05 11:29:35 +08:00
cjin
5777364341
fix(ble): add modem syscon header include on ESP32H2
2026-02-04 12:36:42 +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
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
zhaoweiliang
aad080bc26
feat(ble): add CONFIG_BT_LE_CTRL_DL_ITVL_PHY_SYNC_EN config on ESP32-C5
2025-12-03 14:28:17 +08:00
zhaoweiliang
5f2825ff37
feat(ble): add CONFIG_BT_LE_CTRL_DL_ITVL_PHY_SYNC_EN config on ESP32-H2
2025-12-03 14:25:25 +08:00
cjin
658efa27f0
feat: rename ble sleep related apt on ESP32-H2
2025-11-06 17:31:44 +08:00
cjin
5ff01bf027
fix(ble): fix ble wakeup causes error on ESP32-H2
2025-10-22 17:50:53 +08:00
zwl
034172154a
feat(ble): change free api on ESP32-C6
2025-10-15 15:11:06 +08:00
cjin
41ecf44cb3
feat(ble): get wakeup cause when wake up on ESP32-H2
2025-09-19 16:47:57 +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
6758a47044
feat(ble): supported ble log v2 for ESP32-H2
2025-09-16 14:31:36 +08:00
zwl
b091ec843c
fix(ble): update ext_version on ESP32-H2
2025-09-16 00:06:40 +08:00
cjin
cb60528f23
feat(ble): add clk source freq change of ble slow clock on ESP32-H2
2025-08-18 19:18:10 +08:00
zwl
4c8258ca38
feat(ble): add flash only param config api on ESP32-H2
2025-07-28 14:11:16 +08:00
Zhou Xiao
d45778f784
feat(ble): support ble log uart dma out for ESP32-H2
2025-07-17 10:48:22 +08:00
cjin
265a8746dc
feat(ble): support memory allocation check debug feature on ESP32-H2
2025-07-09 11:25:23 +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
207d85a5f7
feat(ble): support creating connections during scanning process on ESP32-H2
2025-05-16 14:31:44 +08:00
cjin
6c8ee69151
feat(ble): support ble sleep using 136 kHz RC on ESP32-H2
2025-04-22 10:02:57 +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
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
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
zwl
f598976c6b
feat(ble): support enhanced controller log capabilities on ESP32-C6 and 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
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
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
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