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
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
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
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
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
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
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
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
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
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
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
6441c76ef4
feat(ppa): add support for ESP32S31
2026-04-24 11:47:41 +08:00
Island
1ba5618805
Merge branch 'fix/ble_mesh_friend_send_seg_msg_failed' into 'master'
...
fix(ble_mesh): fix Friend queue losing segmented messages for LPN
See merge request espressif/esp-idf!47887
2026-04-24 11:16:39 +08:00
Island
44e24f99ea
Merge branch 'fix/ble_log_compression_safety' into 'master'
...
fix(ble_log): fix unaligned access and buffer safety in log compression
See merge request espressif/esp-idf!47623
2026-04-24 11:16:16 +08:00
Gao Xu
355ec64d6a
Merge branch 'refactor/isp_clk_sel' into 'master'
...
refactor(isp): avoid isp ll functions using hal.hw before initialization
See merge request espressif/esp-idf!47906
2026-04-24 10:40:28 +08:00
Kapil Gupta
8e4367bbf2
Merge branch 'bugfix/fastpsk_optimization' into 'master'
...
fast psk optimization
Closes WIFI-7330
See merge request espressif/esp-idf!47658
2026-04-24 07:20:38 +05:30
Omar Chebib
bfe71ea0b9
Merge branch 'fix/simd_esp32s31' into 'master'
...
soc: enable the SIMD caps for the ESP32-S31
Closes IDF-14661
See merge request espressif/esp-idf!47836
2026-04-24 09:37:23 +08:00
Samuel Obuch
a91b3723ed
Merge branch 'feature/esp32s31_unicore_stop_cpu1' into 'master'
...
feat(esp_system): stop other core for unicore esp32s31
See merge request espressif/esp-idf!47880
2026-04-23 16:04:32 +02:00
liuning
fa8791b49c
fix(pm): fix crash when dtim=0, support coex beacon drop
...
closes https://github.com/espressif/esp-idf/issues/18387
2026-04-23 20:44:37 +08:00
liuning
5ec55f7a32
fix(pm): fix coexist force wake behaviour with offchannel to optimize performance at returning home channel (90f24784)
2026-04-23 20:32:44 +08:00
sibeibei
5c936ee229
fix(wifi): fix modem sleep flag clear failed
2026-04-23 20:30:26 +08:00
luoxu
f5a927e055
fix(ble_log): fix size_info nibble misalignment for last odd-count arg
2026-04-23 19:23:45 +08:00
luoxu
58121d2540
test(ble): add comprehensive test suite for log compression
2026-04-23 19:23:45 +08:00
luoxu
b7760a77e4
fix(ble): replace hardcoded tuple indices with FormatToken NamedTuple
2026-04-23 19:23:45 +08:00
luoxu
3f2b6c97f8
fix(ble_log): fix unaligned access and buffer safety in log compression
2026-04-23 19:23:45 +08:00
Shreyas Sheth
f3388a75ee
fix(wpa_supplicant): initialize wps pin len correctly
2026-04-23 19:16:17 +08:00
gaoxu
37160f88af
refactor(isp): avoid isp ll functions using hal.hw before initialization
2026-04-23 19:14:26 +08:00
Guillaume Souchere
a56354e9ab
feat(heap): move TLSF ROM patches and related files from esp_rom to heap
...
The TLSF ROM patch code (rom_patch_tlsf.c, rom_patch_multi_heap.c),
their headers, and the per-target *.rom.heap.ld linker scripts are
semantically owned by the heap component, not esp_rom. Move them
accordingly:
- components/esp_rom/patches/esp_rom_tlsf.c
→ components/heap/rom_patches/rom_patch_tlsf.c
- components/esp_rom/patches/esp_rom_multi_heap.c
→ components/heap/rom_patches/rom_patch_multi_heap.c
- components/esp_rom/include/esp_rom_tlsf.h
→ components/heap/rom_patches/include/rom_patch_tlsf.h
- components/esp_rom/include/esp_rom_multi_heap.h
→ components/heap/rom_patches/include/rom_patch_multi_heap.h
- components/esp_rom/<target>/ld/<target>.rom.heap.ld (×8)
→ components/heap/port/<target>/ld/<target>.rom.heap.ld
Update heap/CMakeLists.txt to:
- use target_linker_script() directly for *.rom.heap.ld
- guard post-registration ROM patch setup with NOT BOOTLOADER_BUILD
- drop stale CONFIG_HEAP_TLSF_CHECK_PATCH symbol reference
- drop esp_rom_include_multi_heap_patch from TLSF_CHECK_PATCH guard
Remove the corresponding entries from esp_rom/CMakeLists.txt.
2026-04-23 12:21:31 +02:00
Rahul Tank
688d541da5
fix(nimble): Fixed extra error prints introduced in previous commit
2026-04-23 15:43:29 +05:30
zhiweijian
94f0c1837a
fix(ble): Fixed AI review bugs in bt common
2026-04-23 17:44:21 +08:00