harshal.patil
ad8d86f725
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-22 11:17:50 +05:30
morris
ed980bd744
Merge branch 'fix/s3_xip_opt_os_startup_v5.4' into 'release/v5.4'
...
fix(mspi): fixed possible boot failure in some builds when psram is enabled (v5.4)
See merge request espressif/esp-idf!48585
2026-06-08 10:39:18 +08:00
wuzhenghui
54fcd16880
docs(system): update GPIO wakeup section for clarity on EXT0 and EXT1 support
2026-06-03 17:30:26 +08:00
Xiao Xufeng
c8447b51e2
fix(mspi): fixed possible boot failure in some builds when psram is enabled
...
A typical scenario is: when XIP on PSRAM enabled, compiler optimization level is Os. Under certain binary layout, boot hangs and backtrace points to `esp_sleep_config_gpio_isolate`.
The root cause is that, during PSRAM initialization, it calls esp_gpio_reserve, which happens to place before the reported function. However, after call, there is no barrier before the clock adjustment in `mspi_timing_enter_low_speed_mode`. The clock gets changed when the cache is still fetching data, resulting in the corrupted data in the end of the cache line.
This commits add spi_flash_disable_cache as a barrier to make sure the cache transactions is finished before the clock switch.
2026-05-31 01:46:45 +08:00
gaoxu
e9120b7572
fix(tsens): fix temp_sensor affect by adc reset
2026-04-22 14:53:57 +08:00
armando
604772875c
fix(spm): rename scp (scratchpad) to spm (scratchpad memory)
2026-03-19 16:27:44 +08:00
armando
01942e4eef
change(mem): deprecated tcm and added scp memory utils
2026-03-18 09:48:08 +08:00
Li Shuai
475900c1fa
fix(esp_hw_support): fix analog i2c master race cause by phy retention link
2026-03-12 14:44:13 +08:00
Jiang Jiang Jian
d1733defe6
Merge branch 'feat/support_modify_regdma_link_skip_flag_dynamiclly_v5.4' into 'release/v5.4'
...
feat(esp_hw_support): add API to supoport modify retention skip flag dynamically (v5.4)
See merge request espressif/esp-idf!46492
2026-03-12 14:29:44 +08:00
wuzhenghui
af9c605877
feat(esp_hw_support): add API to supoport modify retention skip flag dynamically
2026-03-11 19:59:23 +08:00
muhaidong
89b8ccbba9
fix(wifi): fix external coexistence depends on wifi connect issue
2026-03-10 16:28:03 +08:00
liuning
cb683b0192
fix(wifi): allow to disable wifi modem clocks if wifi is not inited
2026-03-09 16:54:51 +08:00
liuning
11f962d8c7
feat(phy): add check for required clock bits during phy enable
2026-03-09 16:54:45 +08:00
liuning
3ce165d115
bugfix(wifi): fix incomplete phy initialization due to absence of bb clocks at coexistence scenarios
2026-03-06 17:27:05 +08:00
Jiang Jiang Jian
fb9c37ee48
Merge branch 'refactor/spi_flash_private_v5.4' into 'release/v5.4'
...
fix(spi_flash): fixed overboundary check skipping of erase and write_encrypted (v5.4)
See merge request espressif/esp-idf!45664
2026-03-03 10:48:35 +08:00
hebinglin
1d2ffd5941
fix(hal): fix the issue of dual-core contention for RTC_CNTL regs
2026-03-02 12:22:15 +08:00
Xiao Xufeng
a0cdaad414
change(spi_flash): Flash frequency will not be decreased during DFS on ESP32-P4, when PSRAM is not enabled.
2026-02-05 16:04:14 +08:00
Song Ruo Jing
1c3a4aafcf
feat(gpio): add IO hold support for Deep-sleep for ESP32-P4 ECO5
2025-11-18 11:30:24 +08:00
wuzhenghui
c87b576745
fix(esp_hw_support): add PD_TOP lightsleep mspi failure workaround for p4 rev3
2025-11-04 16:03:29 +08:00
wuzhenghui
d4b3d01b4d
feat(esp_hw_support): update cpu_pd support for esp32p4 v3.0
2025-11-04 16:03:27 +08:00
Jiang Jiang Jian
94657ad3bf
Merge branch 'fix/tcm-mem-not-considered-in-esp_ptr_eexecutable_v5.4' into 'release/v5.4'
...
fix(memory-utils): Check TCM in esp_ptr_internal and esp_ptr_byte_accessible (v5.4)
See merge request espressif/esp-idf!39984
2025-09-19 02:22:38 +08:00
wuzhenghui
7635a54b1e
feat(esp_hw_support): add new API to get all wakeup sources
2025-08-26 21:53:01 +08:00
John Boiles
8f937d3b0a
fix(memory-utils): Use esp_ptr_in_tcm to check TCM range
2025-08-21 09:40:27 +02:00
John Boiles
b025006b95
fix(memory-utils): Check TCM in esp_ptr_internal and esp_ptr_byte_accessible
...
Modifies `esp_ptr_internal` and `esp_ptr_byte_accessible` to also check TCM
when `SOC_MEM_TCM_SUPPORTED`.
2025-08-21 09:40:27 +02:00
Jiang Jiang Jian
b53f520ebc
Merge branch 'fix/fix_esp_timer_accuracy_when_do_dfs_v5.4' into 'release/v5.4'
...
fix(esp_hw_support): improve esp timer accuracy on DFS for esp32 & esp32s2 (v5.4)
See merge request espressif/esp-idf!39340
2025-05-26 19:46:58 +08:00
Jiang Jiang Jian
12143d6587
Merge branch 'contrib/github_pr_15942_v5.4' into 'release/v5.4'
...
fix(esp_hw_support): Fix compile error on esp_cpu_int_has_handler on ESP32-P4 (GitHub PR) (v5.4)
See merge request espressif/esp-idf!39118
2025-05-26 19:38:22 +08:00
wuzhenghui
78e9c47580
fix(esp_hw_support): update LACT clock prescale immediately when APB changes on esp32
2025-05-22 15:18:16 +08:00
wuzhenghui
1811757ad9
fix(esp_hw_support): Fix deepsleep leakage after initializing USB HS phy
2025-05-15 16:05:05 +08:00
Weltenprinz
d34bdc8394
fix(esp_hw_support): Fix compile error on esp_cpu_int_has_handler on ESP32-P4
...
Merges https://github.com/espressif/esp-idf/pull/15942
Closes https://github.com/espressif/esp-idf/issues/15941
2025-05-13 18:20:42 +03:00
Li Shuai
7014cfc831
fix(esp_hw_support): fix modem wakeup req always high caused by pmu min slp cycle update
2025-05-07 14:25:05 +08:00
wuzhenghui
8cfe912053
fix(esp_hw_support): fix wrong APB clock freq on retenion
2025-04-25 17:13:26 +08:00
wuzhenghui
41e6e25e2d
feat(esp_hw_support): remeasure sleep_time_overhead_out if min_freq_mhz changed
2025-04-25 17:13:26 +08:00
wuzhenghui
81860c55d6
feat(esp_hw_support): use non-lock regi2c fast-up cpll/mpll enable process after sleep wakeup
2025-04-25 17:13:22 +08:00
Jiang Jiang Jian
19e864060a
Merge branch 'fix/rmii_ref_ckl_v5.4' into 'release/v5.4'
...
fix(esp_eth): fixed ESP32P4 EMAC REF RMII CLK output mode (v5.4)
See merge request espressif/esp-idf!38039
2025-04-07 13:58:48 +08:00
Marius Vikhammer
6f13ac088f
Merge branch 'fix/memory-utils-ptr-executable_v5.4' into 'release/v5.4'
...
fix(memory-utils): Missing case in esp_ptr_executable logic (backport v5.4)
See merge request espressif/esp-idf!37101
2025-04-03 14:58:36 +08:00
Guillaume Souchere
2bdfba3c30
fix(memory-utils): Missing case in esp_ptr_executable logic
...
esp_ptr_executable does not consider that the PSRAM and FLASH
memory mapping are not always matching.
Added a "pointer is in PSRAM" specific check in the logic to
fix the issue.
2025-04-02 08:44:22 +02:00
Guillaume Souchere
e82a248593
fix(esp_hw_support): Unused variables in memory_utils functions
2025-04-02 08:43:37 +02:00
Marius Vikhammer
58c5aa2591
Merge branch 'fix/memory-utils-esp_ptr_in_rtc_dram_fast_v5.4' into 'release/v5.4'
...
fix(esp_hw_support): esp_ptr_in_rtc_iram_fast check to return false (backport v5.4)
See merge request espressif/esp-idf!36933
2025-04-02 14:33:43 +08:00
Ondrej Kosta
e544d57179
fix(esp_eth): fixed ESP32P4 EMAC REF RMII CLK output mode
...
fixed units returned and used by periph_rtc_mpll_freq_set function
2025-04-01 08:32:09 +02:00
Jiang Jiang Jian
1113c7183d
Merge branch 'doc/add_wakeup_source_usage_precautions_v5.4' into 'release/v5.4'
...
change(doc): added more usage notes & warings about PM_POWER_DOWN_PERIPHERAL_IN_LIGHT_SLEEP (v5.4)
See merge request espressif/esp-idf!37391
2025-03-31 17:33:32 +08:00
Armando
419e8b2e20
fix(mspi): fixed cpu and mspi freq mismatch issue when in dfs/sleep on p4
2025-03-08 14:06:09 +08:00
Guillaume Souchere
6545e21f4b
fix(esp_hw_support): esp_ptr_in_rtc_iram_fast check to return false
...
esp_ptr_in_rtc_iram_fast logic should be executed if
SOC_RTC_FAST_MEM_SUPPORTED is set but it should also be executed
if IRAM and DRAM region mapping is the same. Remove the
SOC_RTC_IRAM_LOW != SOC_RTC_DRAM_LOW part of the check.
Update heap component to use the modify function appropriately.
2025-03-07 12:21:22 +01:00
wuzhenghui
e549dca8ae
change(doc): added more usage notes & warings about PM_POWER_DOWN_PERIPHERAL_IN_LIGHT_SLEEP
2025-02-28 16:43:02 +08:00
wuzhenghui
8e6ec50bcc
fix(esp_hw_support): fix esp32s2/esp32s3 RTC IOMUX clock management
2025-02-21 09:50:42 +08:00
Jiang Jiang Jian
f9ae8dfb04
Merge branch 'fix/esp32p4_lightsleep_fixes_v5.4' into 'release/v5.4'
...
fix(esp_hw_support): some fixes of esp32p4 lightsleep retention & power switch process (v5.4)
See merge request espressif/esp-idf!37086
2025-02-20 13:48:50 +08:00
Jiang Jiang Jian
23db06892b
Merge branch 'feat/wait_pll_stable_after_sleep_wakeup_fix_xtal_v5.4' into 'release/v5.4'
...
feat(esp_hw_support): wait pll stable after sleep wakeup (v5.4)
See merge request espressif/esp-idf!36018
2025-02-20 10:36:20 +08:00
wuzhenghui
4542c463c6
change(esp_hw_support): not use ROM Cache invalidate in sleep process to avoid dirtying the L1 Cache
2025-02-19 14:32:12 +08:00
Jiang Jiang Jian
da3f2ea5ce
Merge branch 'fix/add_sleep_duration_check_for_timer_wakeup_v5.4' into 'release/v5.4'
...
fix(esp_hw_support): add timer wakeup sleep duration check (v5.4)
See merge request espressif/esp-idf!37010
2025-02-19 13:48:17 +08:00
wuzhenghui
95fb085fe3
fix(esp_hw_support): add timer wakeup sleep duration check
...
Closes https://github.com/espressif/esp-idf/issues/15255
2025-02-18 19:21:57 +08:00
wuzhenghui
1e11f287e1
change(esp_hw_support): disable CPU wait-for-event mode on cpu start
2025-02-18 19:21:09 +08:00