Guillaume Souchere
0ce211539a
fix(esp_system): PSRAM stack crash in esp_restart_noos on RISC-V chips
...
On RISC-V chips with SPIRAM support (esp32c5, esp32c61, esp32h4, esp32p4,
esp32s31), esp_restart_noos() was disabling the cache while the current
stack pointer could still be in external RAM. Any stack access after cache
disable (function call, local variable spill) would then fault with
"Cache disabled but cached memory region accessed".
Xtensa chips (esp32, esp32s2, esp32s3) already had this guard via the
SET_STACK macro. Add the equivalent for RISC-V:
- Add rv_utils_set_sp() to riscv/rv_utils.h (plain "mv sp, %0" with a
memory clobber; no window register management needed on RISC-V)
- In each affected system_internal.c, under
CONFIG_FREERTOS_TASK_CREATE_ALLOW_EXT_MEM, check whether the current
SP is in PSRAM and if so switch it to the top of internal BSS before
any cache disable or writeback operation
- Fix xTaskCreateStaticPinnedToCore() stack size argument in the
spiram_stack test (was passing bytes instead of word count)
- Mark the null-pointer write in func_do_exception() as volatile to
prevent the compiler from optimizing it away
- Extend the [spiram_stack] tests to RISC-V by sharing fibonacci() and
the task/finish helpers across architectures, guarding only the
Xtensa-specific WINDOWBASE/WINDOWSTART prints
2026-04-28 11:08:55 +02:00
Island
75edd960c2
Merge branch 'feat/support-ble-uart-bridge' into 'master'
...
feat: Support BLE UART Bridge
See merge request espressif/esp-idf!47982
2026-04-27 17:42:17 +08:00
Island
1176eb8c37
Merge branch 'feat/support_ble_uart_service' into 'master'
...
Feat/support ble uart service
See merge request espressif/esp-idf!47835
2026-04-27 17:26:22 +08:00
zhiweijian
9de3eea3de
feat(ble): Support nimble uart service
2026-04-27 16:34:20 +08:00
Zhou Xiao
5636a96a72
feat(ble): add BLE UART daemon notify API
2026-04-27 16:33:56 +08:00
Island
05e61fe765
Merge branch 'feat/support_ble_iso_coex' into 'master'
...
Support blufi on esp32s31
Closes BT-4318
See merge request espressif/esp-idf!47861
2026-04-27 16:18:11 +08:00
Zhou Xiao
e209dd1c9e
docs(ble): document BLE UART bridge usage
2026-04-27 15:57:49 +08:00
Zhou Xiao
0dd9c29a28
feat(ble): wire BLE UART bridge CLI
2026-04-27 15:57:49 +08:00
Zhou Xiao
379dfec8d7
feat(ble): add BLE UART daemon RPC API
2026-04-27 15:57:49 +08:00
Zhou Xiao
7cce3dec88
feat(ble): add BLE UART bridge console
2026-04-27 15:57:49 +08:00
Zhou Xiao
1de9ccf2ba
feat(ble): add BLE UART bridge core
2026-04-27 15:57:49 +08:00
Island
1c8b737ba1
Merge branch 'fix/fix_blufi_memory_copy_len_error' into 'master'
...
fix(ble): Fix blufi fragment reassembly bounds and buffer overflows
See merge request espressif/esp-idf!47090
2026-04-27 15:38:23 +08:00
Omar Chebib
5a2e84c07c
Merge branch 'feat/esp_mmu_map_virt' into 'master'
...
feat(esp_mm): implement a mapping function to map at given virtual address
Closes IDF-15537 and IDF-6132
See merge request espressif/esp-idf!47219
2026-04-27 13:44:52 +08:00
Chen Chen
bd1afdeb48
Merge branch 'feat/pcnt_support_s31' into 'master'
...
feat(pcnt): support pcnt on esp32s31
Closes IDF-14699
See merge request espressif/esp-idf!47767
2026-04-27 12:07:33 +08:00
Island
cd249686f9
Merge branch 'feture/separate_bt_cmakelists' into 'master'
...
Feture/separate bt cmakelists
See merge request espressif/esp-idf!47905
2026-04-27 12:01:20 +08:00
zhiweijian
bc43eedc35
fix(ble/bluedroid): Changed sdkconfig.default in ble_get_started examples
2026-04-27 11:49:41 +08:00
Rahul Tank
730366b020
fix(nimble): Fix blufi compilation issue for esp32s31
2026-04-27 11:47:23 +08:00
zhiweijian
666c1894c5
fix(ble/bluedroid): Fixed init crash when bluedroid BLE is enabled in BREDR only mode
2026-04-27 11:47:23 +08:00
zhiweijian
093a521048
feat(ble): Supported blufi on esp32s31
2026-04-27 11:47:22 +08:00
Jiang Jiang Jian
533a2d9a80
Merge branch 'fix/bluetooth_example_size_esp32s31' into 'master'
...
fix(examples): enlarge BT example partitions for esp32s31 CI builds
See merge request espressif/esp-idf!47965
2026-04-27 11:31:28 +08:00
Mahavir Jain
35fe22582a
Merge branch 'fix/protocomm-security2-srp-hd-double-free' into 'master'
...
fix(protocomm): null srp_hd after free in sec2 command0 error paths
Closes IDF-15579
See merge request espressif/esp-idf!47888
2026-04-27 08:50:20 +05:30
Fu Hanxi
394e62724d
Merge branch 'ci/fix-frozen-dict' into 'master'
...
ci: frozenset for no_runner_tags
See merge request espressif/esp-idf!47919
2026-04-27 03:23:54 +02:00
Michael.B
1dc41840ad
fix(examples): enlarge BT example partitions for esp32s31 CI builds
...
build_non_test_related_apps failed on esp32s31: Bluedroid_GATT_Server and ble_spp_client binaries exceeded the default 1MiB factory partition; esp_hid_host with sdkconfig.ci.test exceeded 1.5MiB single-app-large.
Use PARTITION_TABLE_SINGLE_APP_LARGE for the Bluedroid examples. For esp_hid_host, switch to a custom single-factory table with a 1700KiB app slot (same size unit as partitions_two_ota_large.csv).
2026-04-26 18:28:14 +08:00
Michael (XIAO Xufeng)
d6e82d42e8
Merge branch 'idfgh-17542' into 'master'
...
hal/twai: honor prop_seg in legacy timing config
Closes IDFGH-17542
See merge request espressif/esp-idf!47710
2026-04-25 00:49:23 +08:00
luoxu
0f2935389a
fix(bt): Normalize source paths for log compression pattern matching
2026-04-24 22:28:25 +08:00
morris
92c7389527
Merge branch 'feature/gdma-retention-refactor' into 'master'
...
feat(gdma): move sleep retention info from HAL to driver layer
See merge request espressif/esp-idf!47881
2026-04-24 20:39:32 +08:00
Jiang Jiang Jian
df5a2d8774
Merge branch 'fix/fix_blacklist_beacon_timeout_issue' into 'master'
...
fix(wifi): fix blacklist beacon timeout issue
Closes WIFIBUG-1849
See merge request espressif/esp-idf!47886
2026-04-24 20:15:01 +08:00
Kapil Gupta
41e67e1efb
Merge branch 'bugfix/wps_pin_len' into 'master'
...
fix(wpa_supplicant): initialize wps pin len correctly
See merge request espressif/esp-idf!47326
2026-04-24 16:12:37 +05:30
Omar Chebib
8e2c7cd3aa
Merge branch 'fix/update_p4_clic_registers' into 'master'
...
fix(soc): update the ESP32-P4 CLIC registers that changed with Rev3
See merge request espressif/esp-idf!46372
2026-04-24 18:27:13 +08:00
Zhang Wen Xu
ef14ca1a46
Merge branch 'feat/merge_ot_autostart' into 'master'
...
feat(openthread): optimized the autostart macro
See merge request espressif/esp-idf!47683
2026-04-24 10:02:13 +00:00
Kapil Gupta
2670cbf4a6
Merge branch 'ci/wifi_remote_header_correction' into 'master'
...
ci(esp_remote): Add wifi-remote pre-commit hook
See merge request espressif/esp-idf!46204
2026-04-24 15:16:32 +05:30
Kapil Gupta
11a0dfcc7c
ci(esp_remote): Add wifi-remote pre-commit hook
2026-04-24 15:16:32 +05:30
Chen Chen
2658eda240
feat(pcnt): support pcnt on esp32s31 & add group_id config
2026-04-24 17:16:15 +08:00
igor.udot
a800a06a83
ci: frozenset for no_runner_tags
2026-04-24 15:46:48 +08:00
Song Ruo Jing
b18f90cd82
Merge branch 'feature/esp32s31_ppa_support' into 'master'
...
feat(ppa): add support for ESP32S31
Closes IDF-14769
See merge request espressif/esp-idf!47281
2026-04-24 15:43:38 +08:00
morris
d318aeaafb
feat(gdma): move gdma sleep retention info from esp_hal_dma to esp_driver_dma
2026-04-24 15:35:35 +08:00
wangtao@espressif.com
696ee4f66c
fix(wifi): fix blacklist beacon timeout issue
2026-04-24 15:26:02 +08:00
Ivan Grokhotkov
0aa8b1ce13
Merge branch 'ci/github-dangerjs-fix-permissions' into 'master'
...
ci(github): fix permissions for GitHub-dangerjs (to content read)
See merge request espressif/esp-idf!47913
2026-04-24 09:24:48 +02:00
ShenWeilong
21e83d7eaf
change(bt): Separated bt/CMakeLists to nimble/bluedroid/mesh/audio CMakeLists
2026-04-24 15:16:39 +08:00
ShenWeilong
e4e078adce
change(bt): Separated bt/cmakelist to bt/controller/cmakelist and bt/porting/cmakelist
2026-04-24 15:16:39 +08:00
Hu Rui
84c9a924bf
Merge branch 'fix/uhci_esp32p4_cache' into 'master'
...
fix(uhci): fix uhci cache issue on ESP32-P4
See merge request espressif/esp-idf!47817
2026-04-24 15:10:32 +08:00
Jiang Jiang Jian
bc85b10de7
Merge branch 'bugfix/fix_modem_sleep_flag_clear_failed' into 'master'
...
fix(wifi): fix modem sleep flag clear failed & fix(pm): fix crash when dtim=0, support coex beacon drop &fix coexist force wake behaviour with offchannel to optimize performance at returning home channel
Closes WIFI-7246, WIFIBUG-1585, and WIFI-7306
See merge request espressif/esp-idf!46830
2026-04-24 15:03:23 +08:00
Kapil Gupta
c1e8db338d
Merge branch 'bugfix/pbkdf2_sha1_psa_fallback' into 'master'
...
fix(esp_wifi): Fallback to pbkdf2_sha1_psa when fast options are disabled
Closes WIFI-7330
See merge request espressif/esp-idf!47912
2026-04-24 12:29:32 +05:30
Guillaume Souchere
a8c57927e0
Merge branch 'feat/move-tlsf-patch-to-heap-component' into 'master'
...
feat(heap): move TLSF ROM patches and related files from esp_rom to heap
See merge request espressif/esp-idf!47820
2026-04-24 08:52:37 +02:00
Hristo Gochkov
abbdf9f60a
Merge branch 'hristo-master-patch-93986' into 'master'
...
fix(esp_hid): Prevent DoS via malicious HID device descriptor
See merge request espressif/esp-idf!47096
2026-04-24 14:41:57 +08:00
Tomas Sebestik
867302b765
ci(github): fix permissions for GitHub-dangerjs (to content read)
2026-04-24 07:41:05 +02:00
Rahul Tank
13f01aedcb
Merge branch 'bugfix/remove_extra_error' into 'master'
...
fix(nimble): Remove extra error prints added in previous commit
Closes IDFCI-10696
See merge request espressif/esp-idf!47844
2026-04-24 10:49:41 +05:30
Island
6f0be3774f
Merge branch 'fix/ble_mesh_fast_prov_srv_sdkconfig_issue' into 'master'
...
feat(ble_mesh): disable BLE 5.0 features for fast_prov_server sdkconfig
See merge request espressif/esp-idf!47889
2026-04-24 13:15:01 +08:00
Kapil Gupta
e113651adf
fix(esp_wifi): Fallback to pbkdf2_sha1_psa when fast options are disabled
2026-04-24 10:15:50 +05:30
Song Ruo Jing
d2b2578244
refactor(examples/ppa): PPA example switch to use RGB LCD panel
...
Also moved the RGB panel initialization code to a common component,
which can be reused by other examples.
2026-04-24 11:47:41 +08:00