Commit Graph
2521 Commits
Author SHA1 Message Date
Jiang Jiang Jian a44050483b Merge branch 'fix/spi_buslock_unregister_issue_v5.5' into 'release/v5.5'
fix(hw_support): spi buslock fix unregister dev api issue (v5.5)

See merge request espressif/esp-idf!51473
2026-09-11 12:14:33 +08:00
Jiang Jiang Jian 45d111a6aa Merge branch 'backport/h264_regdma_retention_v5.5' into 'release/v5.5'
feat(esp32p4): add H264 REGDMA link and sleep retention module (v5.5)

See merge request espressif/esp-idf!52666
2026-09-10 17:36:48 +08:00
Jiang Jiang Jian fc488e14d4 Merge branch 'fix/brownout_restore_after_deepsleep_reject_v5.5' into 'release/v5.5'
fix(esp_hw_support): restore brownout after deep sleep rejection on ESP32-S2 (v5.5)

See merge request espressif/esp-idf!52646
2026-09-10 15:55:10 +08:00
Jiang Jiang Jian 1f1ed91bf7 Merge branch 'fix/ecdsa_hmac_ds_locking_v5.5' into 'release/v5.5'
fix(esp_security): Stop ECDSA and Key Manager resets from corrupting concurrent crypto (v5.5)

See merge request espressif/esp-idf!52579
2026-09-10 10:56:28 +08:00
Jiang Jiang Jian 2fe571159c Merge branch 'fix/mmap_cache_flash_wr_v5.5' into 'release/v5.5'
fix(mmap): fixed mmap read data wrong when flash being erased/written and cache not disabled (v5.5)

See merge request espressif/esp-idf!50144
2026-09-10 10:39:35 +08:00
wanckl 3b833a1184 fix(hw_support): spi buslock fix unregister dev api issue 2026-09-10 10:36:37 +08:00
houhaiyan 4e1b7298c5 feat(esp32p4): add H264 REGDMA link and sleep retention module 2026-09-09 19:27:25 +08:00
wuzhenghuiandCursor 7fda2351ef fix(esp_hw_support): restore brownout after deep sleep rejection on ESP32-S2
ESP32-S2 disables the brownout detector before deep sleep; if sleep is
rejected, re-init it so BOD is not left disabled (PM-519).

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-09 17:11:11 +08:00
radek.tandler da41d31a14 fix(esp_security): Stop ECDSA and Key Manager resets from corrupting concurrent crypto
ECDSA enable pulses a reset that also holds SHA in reset, and SHA shares
its DMA with AES. Key Manager enable pulses a reset that also covers the
XTS-AES flash encryption key-usage selector. Neither path was serialized
against those victims, so a hardware ECDSA/HMAC/DS operation could
corrupt a concurrent SHA/AES transfer or an in-flight encrypted flash
read.

- Take the SHA/AES lock inside esp_crypto_ecdsa_lock_acquire(), before
  MPI, matching the DS lock order (sha_aes < mpi)
- Add esp_crypto_key_mgr_enable_periph_clk_no_reset() and switch ECDSA,
  HMAC and DS to it; they only need the key-usage selector writable
- Hold esp_crypto_key_manager_lock across those clock enable/disable
  pairs so selector writes stay serialized without resetting KM
2026-09-08 19:46:19 +05:30
Song Ruo Jing 1218210404 fix(uart): reduce current consumption in sleep mode 2026-09-03 11:53:30 +08:00
Xiao Xufeng 3d76ced5bb 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-08-31 01:37:44 +08:00
Jiang Jiang Jian 8b876ea446 Merge branch 'feat/c5_eco4_newlib_support_v5.5' into 'release/v5.5'
change(esp_libc): use C5 ECO4 ROM newlib functions (v5.5)

See merge request espressif/esp-idf!51904
2026-08-25 10:57:55 +08:00
Jiang Jiang Jian c94f345ef6 Merge branch 'fix/fix_dslp_phy_close_rf_deadlock_v5.5' into 'release/v5.5'
fix(esp_hw_support): fix deepsleep deadlock with phy lock (v5.5)

See merge request espressif/esp-idf!51938
2026-08-24 19:53:54 +08:00
wuzhenghui 5e835e9b70 fix(esp_hw_support): fix deepsleep deadlock with phy lock 2026-08-21 14:46:39 +08:00
harshal.patil 6459793edd change(security): disable Key Manager support on ESP32-C5/P4/S31
The Key Manager hardware peripheral in its current form needs further
design changes before it can be offered as a production feature.
Until a revised peripheral design is available, withdraw ESP-IDF
support for it on all Key Manager capable targets.
2026-08-21 11:47:41 +05:30
Marius VikhammerandCursor 106cd8499a change(esp_libc): use C5 ECO4 ROM newlib functions
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-21 10:12:44 +08:00
Armando (Dou Yiwen) b5f97b22e7 feat(flash): p4 flash 120MHz is no longer experimental feature
Signed-off-by: Armando (Dou Yiwen) <douyiwen@espressif.com>
2026-08-14 06:10:25 +00:00
Armando (Dou Yiwen) f9579368e4 fix(mpll): fix mpll calibration fail bug 2026-08-12 13:34:59 +08:00
Jiang Jiang Jian a5045d6952 Merge branch 'bugfix/add_en_rst_in_pvt_func_for_p4_backport_v5.5' into 'release/v5.5'
fix(pvt): add en reset in pvt func for p4 on release v5.5

See merge request espressif/esp-idf!50876
2026-07-22 20:54:59 +08:00
morris 8869db20ce Merge branch 'feature/dma2d_ppa_sleep_retention_support_v5.5' into 'release/v5.5'
feat(ppa): add sleep retention support for DMA2D and PPA (v5.5)

See merge request espressif/esp-idf!50354
2026-07-20 10:55:54 +08:00
morris 16ceaa002b Merge branch 'bugfix/dma2d_dequeue_mechanism_v5.5' into 'release/v5.5'
fix(dma2d): add a dequeue mechanism for dma2d driver (v5.5)

See merge request espressif/esp-idf!50515
2026-07-18 15:55:39 +08:00
wuzhenghui 00931f555f feat(esp_hw_support): fix esp32p4 PVT retention link 2026-07-17 16:26:44 +08:00
yanzihan@espressif.com 8f7988effc feat(pvt): add en reset in pvt func for p4 on master 2026-07-17 16:26:26 +08:00
Chen Jichang b764f6f389 fix(gdma): fix buffer alignment when psram ecc enabled
Closes https://github.com/espressif/esp-idf/issues/18739
2026-07-10 17:52:29 +08:00
wuzhenghui 31ce82f7d6 fix(esp_hw_support): update memory pointer checks for SPM support 2026-07-10 12:39:11 +08:00
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
Song Ruo JingandCursor 3f99ab1c4a fix(dma2d): fix race with dma2d_force_end and ISR
free_up_channels can only be called once for a started transaction.
Double free will undesirely stop the next picked 2D-DMA transaction on the same channel.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-08 23:14:53 +08:00
Song Ruo Jing 74a6f9d1f5 fix(dma2d): add a dequeue mechanism for dma2d driver
JPEG driver should be able to either dequeue a pending transaction from
a 2D-DMA pool or force end a processing transaction.
2026-07-08 21:15:56 +08:00
Song Ruo Jing 7db8557f0a feat(ppa): add sleep retention support for DMA2D and PPA 2026-07-03 21:54:58 +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
Jiang Jiang Jian f0c56302a6 Merge branch 'fix/use_unilock_for_sleep_process_v5.5' into 'release/v5.5'
fix(esp_hw_support): use same lock for lightsleep/deepsleep process (v5.5)

See merge request espressif/esp-idf!49843
2026-06-22 16:42:03 +08:00
Jiang Jiang Jian bfb6b4a2b2 Merge branch 'feature/psram_halfsleep_mode_support_v5.5' into 'release/v5.5'
feat(psram): allow PSRAM to enter halfsleep mode during light sleep (v5.5)

See merge request espressif/esp-idf!49760
2026-06-22 12:25:04 +08:00
wuzhenghui 8bc8f049fe fix(esp_hw_support): use same lock for lightsleep/deepsleep process 2026-06-22 11:21:33 +08:00
sibeibei d4166e94d8 fix(wifi): fix modem sleep flag clear failed 2026-06-18 18:09:56 +08:00
sibeibei 9565b99973 fix(wifi): IRAM for regdma path used in modem pd light sleep 2026-06-18 18:09:56 +08:00
wuzhenghui 0018fd984c fix(esp_hw_support): fix psram data corrupt after lightsleep if halfsleep is enabled 2026-06-18 16:06:00 +08:00
wuzhenghui 63f4fa6544 fix(esp_hw_support): adjust PSRAM half-sleep resume handling for CONFIG_SPIRAM_XIP_FROM_PSRAM 2026-06-18 16:05:59 +08:00
Song Ruo Jing 6079c74f99 feat(psram): allow PSRAM to enter halfsleep mode during light sleep 2026-06-18 16:05:49 +08:00
Jiang Jiang Jian e8d8197b5a Merge branch 'fix/move_system_retention_to_esp_hw_support_v5.5' into 'release/v5.5'
refactor(esp_hw_support): move system_periph_retention from soc to esp_hw_support (v5.5)

See merge request espressif/esp-idf!49751
2026-06-18 11:27:44 +08:00
Jiang Jiang Jian ad91c6ed0f Merge branch 'feat/support_usb_wakeup_v5.5' into 'release/v5.5'
feat: support usb as wakeup source from light sleep (v5.5)

See merge request espressif/esp-idf!49511
2026-06-17 19:50:18 +08:00
Jiang Jiang Jian d3798f6c49 Merge branch 'bugfix/add_monitor_en_rst_in_pvt_func_backport_v5.5' into 'release/v5.5'
feat(pvt): fix monitor en rst error in pvt func on v5.5

See merge request espressif/esp-idf!49038
2026-06-17 12:46:52 +08:00
wuzhenghui bf4a668089 refactor(esp_hw_support): move system_periph_retention from soc to esp_hw_support 2026-06-17 12:21:41 +08:00
harshal.patil 9514a0fd2f fix(esp_common): Add esp_fault_internal.h for use by G0 components
In release/v5.x, esp_fault.h resides in the esp_hw_support (G1)
component, so the G0 components (hal, esp_rom) must not depend on it.
Copy its contents to esp_common as esp_fault_internal.h, keep
esp_fault.h as a compatibility wrapper around it, and switch the hal
and esp_rom ECDSA/ECC code to the internal header.
2026-06-12 16:54:33 +05:30
morris 90126708ea Merge branch 'fix/fix_gdma_crc_stuck_with_large_input_v5.5' into 'release/v5.5'
fix(gdma): fix crc stuck with large input (v5.5)

See merge request espressif/esp-idf!49362
2026-06-11 14:09:46 +08:00
JiangGuangMingandCursor 3b32b1fc96 feat(sleep/usb): support usb as wakeup source from light sleep
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-11 09:05:40 +08:00
morris 0b816722db Merge branch 'fix/spi_buslock_multi_dev_acq_release_issue_v5.5' into 'release/v5.5'
fix(esp_hw_support): fixed spi buslock multi dev acq/release logic issue (v5.5)

See merge request espressif/esp-idf!49171
2026-06-10 10:13:03 +08:00
yanzihan@espressif.com 395d3fd186 feat(pvt): fix monitor en rst error in pvt func on v5.5 2026-06-09 16:07:17 +08:00
Chen Jichang 47ae57e8f0 fix(gdma): fix crc stuck with large input 2026-06-08 15:35:51 +08:00
Jiang Jiang Jian 3d03a4035b Merge branch 'doc-fix_sleep_mode_doc_v5.5' into 'release/v5.5'
docs(system): update GPIO wakeup section for clarity on EXT0 and EXT1 support (v5.5)

See merge request espressif/esp-idf!49116
2026-06-05 10:54:09 +08:00