Jiang Jiang Jian
064f63d2a0
Merge branch 'fix/fix_bad_dslp_param_after_lightsleep_v5.3' into 'release/v5.3'
...
fix(esp_hw_support): Fixed the issue that light sleep destroyed the parameters of subsequent deep sleep (v5.3)
See merge request espressif/esp-idf!37303
2025-02-28 11:36:21 +08:00
Jiang Jiang Jian
d05db91535
Merge branch 'feat/add_h2_config_and_maxver_for_v5.3' into 'release/v5.3'
...
feat(soc): add Kconfig rev min option and increase max ver for H2 v1.2 (v5.3)
See merge request espressif/esp-idf!36417
2025-02-28 11:33:21 +08:00
Jiang Jiang Jian
cb8d1796b8
Merge branch 'fix/xtensa_nmi_v5.3' into 'release/v5.3'
...
fix(esp_hw_support): make the NMI interrupts available for the main application (backport v5.3)
See merge request espressif/esp-idf!34268
2025-02-28 11:32:47 +08:00
Jiang Jiang Jian
5f18a9711b
Merge branch 'feature/esp32h2_eco5_ecc_v5.3' into 'release/v5.3'
...
feat(ecc): enable ECC constant time mode for ESP32-H2 ECO5 (v5.3)
See merge request espressif/esp-idf!36585
2025-02-28 10:50:18 +08:00
Xiao Xufeng
1ce83d7b36
feat(soc): add Kconfig rev min option and increase max ver for H2 v1.2
2025-02-27 09:04:14 +08:00
Aditya Patwardhan
68eb689b35
fix(hal): Make the ECDSA countermeasure dynamically applicable
...
This commit makes the ECDSA countermeasure dynamically applicable
across different revisions of the ESP32H2 SoC.
2025-02-26 17:04:19 +05:30
wuzhenghui
f72d3ea516
fix(esp_hw_support): fix lightsleep destroys deepsleep rtc parameters
2025-02-26 17:31:35 +08:00
Omar Chebib
209cfa313b
fix(esp_hw_support): make the NMI interrupts available for the main application
...
Closes https://github.com/espressif/esp-idf/issues/13629
NMI interrupt level has been freed for all the Xtensa targets, making it possible
for the main application to use it. An example has been added to show how to
proceed.
2025-02-26 10:06:44 +08:00
Jiang Jiang Jian
fed7e38609
Merge branch 'fix/esp32p4_lightsleep_fixes_v5.3' into 'release/v5.3'
...
fix(esp_hw_support): some fixes of esp32p4 lightsleep retention & power switch process (v5.3)
See merge request espressif/esp-idf!37097
2025-02-21 11:03:20 +08:00
wuzhenghui
1f6d8d4e5d
fix(esp_hw_support): fix esp32s2/esp32s3 RTC IOMUX clock management
2025-02-20 19:39:02 +08:00
Song Ruo Jing
5ed33be402
fix(pmu): enable all func clock icg during retention
...
This should only increase a tiny amount of the power consumption in the retention process,
but save debug time since some module register read/write relies not only APB but also func clock.
2025-02-20 15:04:13 +08:00
Jiang Jiang Jian
ec02fb249e
Merge branch 'feat/wait_pll_stable_after_sleep_wakeup_fix_xtal_v5.3' into 'release/v5.3'
...
feat(esp_hw_support): wait pll stable after sleep wakeup (v5.3)
See merge request espressif/esp-idf!36019
2025-02-20 11:22:18 +08:00
Mahavir Jain
e97c51ea24
feat(ecc): enable ECC constant time mode for ESP32-H2 ECO5
2025-02-19 19:15:17 +05:30
wuzhenghui
7147d7b366
change(esp_hw_support): wrapper sleep dcdc/ldo ops with ll
2025-02-19 21:37:38 +08:00
wuzhenghui
367fda4447
feat(esp_hw_support): add branch prediction config retention
2025-02-19 21:37:16 +08:00
wuzhenghui
2445545a17
fix(esp_hw_support): fix DCDC switch bad software powerdown
2025-02-19 21:36:40 +08:00
wuzhenghui
08e7ef62da
change(esp_hw_support): define Cache invalidate in sleep process to avoid dirtying the L1 Cache
2025-02-19 21:36:13 +08:00
wuzhenghui
022def4ac5
feat(esp_hw_support): do mstatus restore on each core
2025-02-19 21:34:36 +08:00
wuzhenghui
f52b2275d9
feat(esp_hw_support): do esp32p4 l1 cache invalidate by regdma
2025-02-19 21:33:08 +08:00
wuzhenghui
ca9cca73ff
feat(esp_hw_support): do esp32p4 l1&l2 cache regs retention by regdma
2025-02-19 21:32:15 +08:00
morris
6a1cf6bb85
fix(gdma): relax alignment constraint for internal memory
...
external memory encryption should not affect internal memory alignment
Closes https://github.com/espressif/esp-idf/issues/15228
2025-02-19 15:16:19 +08:00
wuzhenghui
cbd3df38d9
fix(esp_hw_support): fix lp/hp clock wait time calculation
2025-02-17 21:49:26 +08:00
wuzhenghui
812a609eca
change(esp_hw_support): wait pll calibration done in regdma link instead of wait fixed value
2025-02-17 19:13:17 +08:00
wuzhenghui
0e2335f6f9
fix(esp_hw_support): add timer wakeup sleep duration check
...
Closes https://github.com/espressif/esp-idf/issues/15255
2025-02-17 19:09:44 +08:00
Jiang Jiang Jian
b96b91c6a5
Merge branch 'feat/sleep_retention_expand_module_bitmap_v5.3' into 'release/v5.3'
...
backport v5.3: expand the number of sleep retention modules supported on different chips
See merge request espressif/esp-idf!35491
2025-02-14 13:29:03 +08:00
Li Shuai
62633bcdae
change(esp_hw_support): update power domain pd allowed check logic
2025-02-13 16:33:28 +08:00
Li Shuai
44001a9d70
change(esp_hw_support): update some modules sleep retention init dependency bitmap
2025-02-13 15:35:19 +08:00
morris
a916a250ea
Merge branch 'bugfix/lcd_driver_with_flash_encryption_v5.3' into 'release/v5.3'
...
fix(dma): also consider buffer alignment when calculating the DMA nodes (v5.3)
See merge request espressif/esp-idf!36818
2025-02-13 14:16:07 +08:00
Li Shuai
c60d991c28
feat(esp_hw_support): extend sleep retention module bitmap bit width
2025-02-13 11:28:25 +08:00
Jiang Jiang Jian
ca8638aaad
Merge branch 'fix/heap-allocate-in-rtc-iram_v5.3' into 'release/v5.3'
...
fix(heap): MALLOC_CAP_EXEC does not allocate in RTC IRAM (backport v5.3)
See merge request espressif/esp-idf!35622
2025-02-12 16:17:20 +08:00
morris
1536b00d75
fix(dma): also consider buffer alignment when calculating the DMA nodes
...
Closes https://github.com/espressif/esp-idf/issues/15228
2025-02-10 17:12:22 +08:00
Jiang Jiang Jian
05e3e2cfa1
Merge branch 'feat/increase_c2_supported_ver_v5.3' into 'release/v5.3'
...
feat(soc): increase c2 max supported version (v5.3)
See merge request espressif/esp-idf!35971
2025-02-10 16:39:59 +08:00
Guillaume Souchere
693058a728
fix(esp_hw_support): Unused variables in memory_utils functions
2025-02-10 07:16:08 +01:00
Guillaume Souchere
bee3d8ff86
fix(heap): MALLOC_CAP_EXEC does not allocate in RTC IRAM
...
This commit fixes the issue when trying to allocate memory
with the MALLOC_CAP_EXEC in RTC memory. Prior to the fix,
the heap allocator was returning an address in RTC DRAM.
To fix this issue:
- modified memory_layout.c of the concerned targets to fill the iram_address
field in the rtc entry of the soc_memory_region array properly.
- modified heap component related functions to return IRAM address when
an allocation in RTC memory with MALLOC_CAP_EXEC is requested.
Closes https://github.com/espressif/esp-idf/issues/14835
2025-02-10 07:16:07 +01:00
morris
74615ed1a7
feat(async_memcpy): support rx buffer unaligned to cache line size
2025-02-08 15:48:11 +08:00
morris
1840d3663a
refactor(dma): split rx buffer to cache aligned ones
2025-02-08 15:48:11 +08:00
Chen Jichang
7aab628ea8
feat(dma): Add helper functions to split aligned buffer
...
In some cases we will need the dma's buffer to be aligned with specific
requirements. This MR add two helper function to split the unaligned
buffer and merge to the origin buffer. The cost is that each unaligned
buffer requires two stash buffers of spilt alignment size. And this
memory should be managed by callers.
2025-02-05 12:48:25 +08:00
wuzhenghui
12db9e4225
fix(esp_hw_support): fix branch predictor access flash after cache disabled
2025-01-22 19:27:37 +08:00
Jiang Jiang Jian
731c461049
Merge branch 'bugfix/pm-300-v5.3' into 'release/v5.3'
...
backport v5.3: fix some esp32c5 and esp32c61 light sleep wakeup issues
See merge request espressif/esp-idf!36076
2025-01-21 16:47:44 +08:00
Jiang Jiang Jian
4e0cb9a140
Merge branch 'fix/fix_p4_deepsleep_io_leakage_v5.3' into 'release/v5.3'
...
fix(esp_hw_support): fix esp32p4 JTAG pad deepsleep current leakage (v5.3)
See merge request espressif/esp-idf!36009
2025-01-17 12:10:46 +08:00
Jiang Jiang Jian
087e8a83f3
Merge branch 'fix/fix_flash_leakage_workaroud_config_dependcy_v5.3' into 'release/v5.3'
...
fix(esp_hw_support): fix FLASH leakage workaround kconfig dependcy (v5.3)
See merge request espressif/esp-idf!35991
2025-01-17 12:09:38 +08:00
Jiang Jiang Jian
86adcd99df
Merge branch 'fix/fix_flash_clock_changed_after_sleep_bak_v5.3' into 'release/v5.3'
...
fix(esp_hw_support): fix mspi clock freq changed after lightsleep (v5.3)
See merge request espressif/esp-idf!36003
2025-01-17 12:03:30 +08:00
Jiang Jiang Jian
04afd65ae6
Merge branch 'fix/fix_tsens_power_after_modem_wakeup_v5.3' into 'release/v5.3'
...
fix(esp_hw_support): fix tsensor power enable failed after modem state wakeup (v5.3)
See merge request espressif/esp-idf!36227
2025-01-17 12:02:59 +08:00
Jiang Jiang Jian
0590d1c21c
Merge branch 'fix/fix_p4_usb_phy_bad_suspend_on_lslp_v5.3' into 'release/v5.3'
...
fix(esp_hw_support): fix p4 OTG phy bad suspend cause high power consumption on sleep (v5.3)
See merge request espressif/esp-idf!36366
2025-01-17 12:02:10 +08:00
Li Shuai
ff3c790ad1
fix(esp_hw_support): fix esp32c5 and esp32c61 wakeup failed when TOP rejects PD
2025-01-16 20:34:16 +08:00
wuzhenghui
e6808779dc
fix(esp_hw_support): fix p4 OTG phy bad suspend cause high power consumption on sleep
2025-01-15 10:20:58 +08:00
morris
9a2e7b8686
feat(gdma): added API to count the size of rx buffer until eof
2025-01-14 16:41:05 +08:00
wuzhenghui
f87077b825
fix(esp_hw_support): fix modem power enable failed after modem state wakeup
2025-01-09 11:13:29 +08:00
Michael (XIAO Xufeng)
4c422b18ff
Merge branch 'bugfix/warn_rc32k_use_in_kconfig_v5.3' into 'release/v5.3'
...
fix(clk): add an inevitable kconfig option to be selected to use rc32k (v5.3)
See merge request espressif/esp-idf!35965
2025-01-07 15:50:42 +08:00
Roland Dobai
bc92458d2a
Merge branch 'feature/add_utf_8_decoding_v5.3' into 'release/v5.3'
...
feat(tools): Enforced utf-8 encoding with Python open() functions (v5.3)
See merge request espressif/esp-idf!36126
2025-01-06 17:10:39 +08:00