Commit Graph
33652 Commits
Author SHA1 Message Date
morris b774170ff4 change(version): Update version to 5.5.5 2026-07-16 17:47:07 +08:00
morris 78d6b6342e Merge branch 'refactor/jpeg_encoder_example_v5.5' into 'release/v5.5'
fix(jpeg): broken link in the example readme (v5.5)

See merge request espressif/esp-idf!50141
2026-07-16 17:45:49 +08:00
Jiang Jiang Jian cc5a3fbcb5 Merge branch 'feat/psram_enc_exempt_v5.5' into 'release/v5.5'
feat(esp_psram): add option to carve unencrypted PSRAM region (v5.5)

See merge request espressif/esp-idf!49931
2026-07-16 17:04:28 +08:00
wuzhenghui 31ce82f7d6 fix(esp_hw_support): update memory pointer checks for SPM support 2026-07-10 12:39:11 +08:00
wuzhenghui 1b3d83528b change(heap): reserve DMA pool with low priority MALLOC_CAP_DEFAULT caps 2026-07-09 17:33:25 +08:00
Mahavir Jain 10ca0dff2f Merge branch 'fix/esp_tee_heap_poison_v5.5' into 'release/v5.5'
fix(esp_tee): Prevent TEE from dispatching the REE heap poisoning callback (v5.5)

See merge request espressif/esp-idf!49912
2026-07-09 14:58:52 +05:30
Jiang Jiang Jian f9bb1be590 Merge branch 'feat/update_openthread_submodule_and_br_lib_20260624_v5.5' into 'release/v5.5'
feat(openthread): update openthread submodule (v5.5)

See merge request espressif/esp-idf!49975
2026-07-09 17:27:23 +08:00
Jiang Jiang Jian 5215699d57 Merge branch 'fix/enable_pvt_esp32c5_v5.5' into 'release/v5.5'
Revert "disable PVT feature for esp32c5"

See merge request espressif/esp-idf!50422
2026-07-09 17:04:01 +08:00
Ashish Sharma cecbc54c04 fix(esp_tee): fixes double panic when ESP-TEE panics 2026-07-09 11:59:23 +05:30
Ashish Sharma cdedde2fea fix(esp_tee): release SHA held by HMAC after crypto peripheral reset 2026-07-09 11:58:48 +05:30
Laukik Hase 2ad7cb65c6 fix(esp_tee): Add additional input validation checks for TEE service calls 2026-07-09 11:56:01 +05:30
Laukik Hase cf817f6a65 fix(esp_tee): Avoid crypto peripherals reset with esp_restart() from REE
- Reset the crypto peripherals during TEE initialization
2026-07-09 11:56:01 +05:30
Laukik Hase d39a11ace7 fix(esp_tee): Prevent TEE from dispatching the REE heap poisoning callback 2026-07-09 11:56:00 +05:30
Mahavir Jain 9a38ec2bbc Merge branch 'fix/tls1_3_dynamic_buffer_server_crash_v5.5' into 'release/v5.5'
fix(mbedtls): fixes TLS1.3 server failing with dynamic buffer (v5.5)

See merge request espressif/esp-idf!50388
2026-07-09 11:49:47 +05:30
Mahavir Jain 2b8f65c1ed Merge branch 'fix/fix_psk_hint_key_null_dereference_v5.5' into 'release/v5.5'
Fix/fix psk hint key null dereference (v5.5)

See merge request espressif/esp-idf!50323
2026-07-09 11:48:32 +05:30
yanzihan@espressif.com aab94d3658 feat(pvt): change pvt timer target & limit 2026-07-09 12:07:32 +08:00
yanzihan@espressif.com aa4728bec4 feat(pvt): add pvt enable flag & change pvt limit & sleep adapt time 2026-07-09 11:54:15 +08:00
Jiang Jiang Jian 897cf407aa Merge branch 'bugfix/fix_offchan_rx_fail_when_spiram_enabled_v5.5' into 'release/v5.5'
fix(wifi): fixed the offchan tx fail when SPIRAM_TRY_ALLOCATE_WIFI_LWIP enabled (v5.5)

See merge request espressif/esp-idf!50205
2026-07-08 14:14:32 +08:00
morris 59c70f46e4 Merge branch 'fix/jpeg_over_size_v5.5' into 'release/v5.5'
fix(jpeg): Fix the jpeg size might exceed the buffer size (backport v5.5)

See merge request espressif/esp-idf!50029
2026-07-08 11:02:50 +08:00
morris 04664e5051 Merge branch 'bugfix/sdio_slave_buffer_size_limit_v5.5' into 'release/v5.5'
fix(sdio_slave): align buffer size checks with descriptor limits (v5.5)

See merge request espressif/esp-idf!49900
2026-07-08 11:01:51 +08:00
zhangyanjiao 736a161c21 fix(wifi): fixed the offchan tx fail when SPIRAM_TRY_ALLOCATE_WIFI_LWIP enabled 2026-07-07 15:22:08 +08:00
Jack 02d9e2d0c3 Revert "disable PVT feature for esp32c5"
This reverts commit bfb052dbac.
2026-07-06 20:25:47 +08:00
Xu Si Yu 351391127c feat(openthread): update thread-lib for upstream b678a4f6
* esp-openthread: thread_zigbee/esp-openthread@47428f1e8
* openthread: espressif/openthread@b678a4f63
* esp-idf: espressif/esp-idf@31f4ff2e5
2026-07-06 08:59:01 +00:00
Xu Si Yu 31f4ff2e59 feat(openthread): update openthread submodule 2026-07-06 16:41:20 +08:00
Ashish Sharma 28f3d0be4a fix(mbedtls): fixes TLS1.3 server failing with dynamic buffer 2026-07-06 15:18:48 +08:00
Ashish Sharma ce7abcf087 fix(esp-tls): guard against NULL PSK hint to prevent crash 2026-07-03 11:36:33 +08:00
yinqingzhao 6994f40dd0 fix(wifi): fix still performing active scan on unsupported channels 2026-07-01 20:27:50 +08:00
yinqingzhao 782bcdb897 fix(wifi): comment out functions from ld files 2026-07-01 20:19:28 +08:00
yinqingzhao c3500a0700 fix(wifi): fix cache access error in wifi interrupt with psram enabled 2026-07-01 20:17:33 +08:00
morris 494135ddeb doc(jpeg): fix broken link in the example readme 2026-06-30 13:53:12 +08:00
Xu Si Yu 8d1d263f10 fix(openthread): fix TREL peer discovery by selecting IPv6 from mDNS address list 2026-06-26 19:29:33 +08:00
Xu Si Yu 1e84a46843 fix(openthread): replace all malloc calls with calloc to avoid hidden uninitialized memory issues 2026-06-26 19:29:33 +08:00
C.S.M 3ed64d5c26 fix(jpeg): Fix the jpeg size might exceed the buffer size 2026-06-26 11:05:25 +08:00
morrisandCursor 52e73f3cd5 fix(sdio_slave): align buffer size checks with descriptor limits
Define per-target SDIO slave descriptor buffer limits in the LL layer and validate queued send buffers against the 4-byte aligned effective maximum. Update the public docs to describe the chip-dependent limit instead of hardcoding 4092 bytes.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-25 11:39:41 +08:00
Mahavir Jain 6d51abfc4c docs(esp_psram): clarify carve-out location is at upper end of PSRAM
The previous wording "top of PSRAM" was ambiguous: the carve-out is
actually mapped at the highest physical addresses of PSRAM (after the
rodata, text, and main heap mappings). Update the Kconfig help text for
SPIRAM_ENC_EXEMPT and SPIRAM_ENC_EXEMPT_SIZE, the External RAM
documentation, and the internal layout comment to say "upper end of PSRAM
(highest physical addresses)" instead.
2026-06-23 14:56:41 +05:30
Mahavir Jain afdf1a5259 feat(esp_psram): add esp_psram_ptr_is_no_enc() helper
Drivers that allocate from the unencrypted PSRAM carve-out via
MALLOC_CAP_SPIRAM_NO_ENC currently have no way to verify after the fact
which pool a buffer came from. This is particularly relevant for callers
using heap_caps_malloc_prefer(MALLOC_CAP_SPIRAM_NO_ENC, MALLOC_CAP_SPIRAM),
where a silent fallback to encrypted PSRAM would still pass the typical
esp_ptr_external_ram() check.

Expose esp_psram_ptr_is_no_enc() in the public esp_psram.h header. It
performs a range check against the carve-out's virtual-address window and
returns false when PSRAM is not initialized or CONFIG_SPIRAM_ENC_EXEMPT is
disabled, so callers do not need to guard the call site with #if.

Also reference the helper from the External RAM documentation alongside
the heap_caps_malloc(MALLOC_CAP_SPIRAM_NO_ENC) usage example.
2026-06-23 14:56:40 +05:30
Mahavir Jain 656a5857eb fix(esp_psram): handle carve-out vaddr exhaustion and add region to self-test
If the virtual-address pool is exhausted when reserving the unencrypted
PSRAM carve-out (the warning at L388 may already have fired for the main
mapping), esp_mmu_map_reserve_block_with_caps() returns an error rather
than aborting. Convert the previous assert() into a logged fallback that
disables the carve-out for this boot, mirroring the SPIRAM_ENC_EXEMPT_SIZE
>= psram_available_size path.

Also extend esp_psram_extram_test() to run the standard memory test on
the carve-out region when CONFIG_SPIRAM_ENC_EXEMPT is enabled, so the
unencrypted mapping is exercised on startup like the other PSRAM regions.
2026-06-23 14:56:40 +05:30
harshal.patil 1fde0259fe change(esp_psram): Consider all PSRAM regions in PMP protection 2026-06-23 14:56:39 +05:30
Mahavir Jain ba69281a01 docs(esp_psram): document MALLOC_CAP_SPIRAM_NO_ENC carve-out
Extends the External RAM encryption section to describe
CONFIG_SPIRAM_ENC_EXEMPT and the MALLOC_CAP_SPIRAM_NO_ENC heap
capability, including a security warning and a typical DMA-alignment
use case. Mirrors the change in zh_CN.
2026-06-23 14:56:39 +05:30
Mahavir Jain 0044542811 feat(esp_psram): add option to carve unencrypted PSRAM region
Adds CONFIG_SPIRAM_ENC_EXEMPT, available on chips that support per-page
PSRAM encryption configuration (esp32c5, esp32c61, esp32p4). When
enabled, esp_psram carves CONFIG_SPIRAM_ENC_EXEMPT_SIZE off the top of
PSRAM and maps it via the new mmu_hal_map_region_no_enc() helper, which
writes MMU entries without the SENSITIVE bit. The region is registered
as a separate heap pool reachable only through the new
MALLOC_CAP_SPIRAM_NO_ENC capability bit, so default SPIRAM allocations
cannot accidentally land there.

PSRAM encryption imposes alignment constraints that some DMA engines
(e.g. 2D-DMA) cannot satisfy. This option lets such workloads place
their buffers in unencrypted PSRAM while keeping the rest of PSRAM
(and flash) encrypted. Default disabled; security implications are
documented in the Kconfig help text.
2026-06-23 14:56:38 +05:30
Jiang Jiang Jian 315e812d5b Merge branch 'bugfix/drop_broadcast_frag_frame_v5.5' into 'release/v5.5'
fix(esp_wifi): Drop broadcast fragmented frames (v5.5)

See merge request espressif/esp-idf!49860
2026-06-23 00:23:06 +08:00
Mahavir Jain b06730f92a Merge branch 'fix/fault-assert-volatile-survive_v5.5' into 'release/v5.5'
Make ESP_FAULT_ASSERT survive optimization (v5.5)

See merge request espressif/esp-idf!49820
2026-06-22 20:37:33 +05:30
Rahul Tank 9a308094f4 Merge branch 'feat/throughput_l2cap_coc_v5.5' into 'release/v5.5'
Added l2cap_coc example for throughput (v5.5)

See merge request espressif/esp-idf!49740
2026-06-22 19:40:38 +05:30
Kapil Gupta 3677348bd8 fix(esp_wifi): Drop broadcast fragmented frames 2026-06-22 21:13:28 +08:00
Jiang Jiang Jian 9098c60919 Merge branch 'bugfix/fix_some_wifi_bugs_260617_v5.5' into 'release/v5.5'
fix(wifi): fix some wifi bugs 260617 backport v5.5

See merge request espressif/esp-idf!49777
2026-06-22 20:38:53 +08:00
Martin Vychodil 3a1272bbc9 Merge branch 'fix/vfs_fatfs_unregister_path_possible_leak_v5.5' into 'release/v5.5'
Fix esp_vfs_fat_unregister_path possible leak, incorrect check in esp_vfs_register_fs_common and optimize memory usage (v5.5)

See merge request espressif/esp-idf!49639
2026-06-22 20:28:30 +08:00
Jiang Jiang Jian 6bede5a950 Merge branch 'fix/httpd_clang_tidy_missing_close_v5.5' into 'release/v5.5'
fix(network/http_server): fix clang-tidy warnings for missing close (v5.5)

See merge request espressif/esp-idf!49865
2026-06-22 19:24:38 +08:00
Jiang Jiang Jian eb0ae1a1c9 Merge branch 'fix/lp_core_noreset_under_debug_option_v5.5' into 'release/v5.5'
fix(lp_core): fix build for CONFIG_ULP_NORESET_UNDER_DEBUG=n (v5.5)

See merge request espressif/esp-idf!49869
2026-06-22 19:24:09 +08:00
morris 41fed73659 Merge branch 'change/update_c61_gdma_header_v5.5' into 'release/v5.5'
change(ahb_dma): update c61 eco3 header files (v5.5)

See merge request espressif/esp-idf!49837
2026-06-22 18:04:05 +08:00
Samuel Obuch 23d4dcbebc fix(lp_core): fix build for CONFIG_ULP_NORESET_UNDER_DEBUG=n 2026-06-22 11:17:43 +02:00