Commit Graph
456 Commits
Author SHA1 Message Date
Wu Zheng Hui 8220859330 Merge branch 'fix/fix_esp32_int_wdt_workaround_break_sleep_process' into 'master'
fix(esp_system): disable esp32 cache livelock int_wdt workaround in ipc_isr_stall

Closes IDFCI-7791

See merge request espressif/esp-idf!45645
2026-03-18 19:07:17 +08:00
wuzhenghui d45606bf1d fix(esp_hw_support): disable esp32eco3 livelock workaround to sleep process 2026-03-18 11:29:55 +08:00
Wu Zheng Hui 7e3fe7023f Merge branch 'feat/add_retention_test_back' into 'master'
feat: add sleep retention UT test back

Closes IDFCI-8836

See merge request espressif/esp-idf!46621
2026-03-18 10:10:56 +08:00
wuzhenghui 2bcc29510a fix(esp_hw_support): move timers suspend/resume to misc modules prepare 2026-03-16 20:37:08 +08:00
wuzhenghui defaa4340b fix(esp_hw_support): adjust PSRAM half-sleep resume handling for CONFIG_SPIRAM_XIP_FROM_PSRAM 2026-03-16 12:30:44 +08:00
Meet Patel a3f167f1c4 refactor(ulp): Allow both ULP-FSM and ULP-RISCV to enable at build time
Updated kconfig option type and other supporting changes in build system
to allow enabling both ULP FSM and ULP RISCV simultaneously. Users can
choose at run time which one to initialize and use.
NOTE: Both ULP FSM and ULP RISCV can't be used simultaneously at run
time because they share some common hardware like RTC slow memory space.

Closes https://github.com/espressif/esp-idf/issues/12999
2026-03-15 14:01:30 +05:30
Wu Zheng Hui 261683e6b0 Merge branch 'fix/fix_sleep_exception_in_spi_flash_rom_impl' into 'master'
fix(esp_hw_support): fix sleep exception in spi flash rom impl

Closes IDF-15423

See merge request espressif/esp-idf!46409
2026-03-11 10:30:08 +08:00
Song Ruo Jing 600bf5b6d7 refactor(esp_hal_regi2c): move regi2c implementation from esp_rom to esp_hal_regi2c 2026-03-10 15:08:51 +08:00
wuzhenghui 582875df53 fix(esp_hw_support): fix sleep exception if CONFIG_SPI_FLASH_ROM_IMPL enabled 2026-03-09 17:32:55 +08:00
Li Shuai 455cb7e7be feat(esp_hal_uart): support esp32p4 hp uart 3,4 wakeup during light sleep 2026-03-05 18:11:17 +08:00
wuzhenghui e923a54686 fix(esp_hw_support): fix build dependencies for peripherals that do not yet support retention 2026-03-03 21:32:00 +08:00
Song Ruo Jing 69def0c3ea feat(psram): allow PSRAM to enter halfsleep mode during light sleep 2026-02-28 22:33:34 +08:00
wuzhenghui 9a8a65b1ee fix(esp_hw_support): add validation for gpio_pin_mask 2026-02-25 17:30:29 +08:00
wuzhenghui 0249f682dc change(soc): remove deprecated macros in soc/rtc.h 2026-02-09 16:53:29 +08:00
Wu Zheng Hui a7582319f1 Merge branch 'fix/fix_io_wakeup_issues' into 'master'
fix(esp_hw_support): make esp_deep_sleep_enable_gpio_wakeup available to PD_TOP lightsleep

See merge request espressif/esp-idf!45337
2026-02-09 12:21:31 +08:00
Chen Chen eeb24057c4 refactor(hal): graduate systimer hal driver into esp_hal_systimer 2026-02-06 18:08:57 +08:00
wuzhenghui 8ff8f8d0b9 fix(esp_hw_support): fix esp_sleep_enable_gpio_wakeup_on_hp_periph_powerdown bad logic 2026-02-06 17:49:40 +08:00
wuzhenghui 571f3b2a91 fix(esp_hw_support): make esp_deep_sleep_enable_gpio_wakeup available to PD_TOP lightsleep 2026-02-06 17:49:40 +08:00
Wu Zheng Hui 13730111e3 Merge branch 'fix/make_deepsleep_gpio_wakeup_usable_for_pd_top_lightsleep' into 'master'
change(esp_hw_support): deepsleep gpio wakeup API renaming to support PD_TOP lightsleep wakeup

See merge request espressif/esp-idf!38712
2026-02-02 10:38:11 +08:00
wuzhenghui cf3c8cb77c feat(esp_hw_support): hold MSPI pins in pd_top lightsleep 2026-01-28 19:49:46 +08:00
Jiang Jiang Jian cfda93b1a7 Merge branch 'fix/fix_pm_assert_if_slp_iram_opt_is_disabled' into 'master'
fix(esp_hw_support): fix different cache writeback cost make sleep time compensation failed

Closes PM-651

See merge request espressif/esp-idf!45205
2026-01-23 08:19:41 +08:00
Michael (XIAO Xufeng) 2eaa86877d Merge branch 'bugfix/pvt_prepare_cost_in_sleep_wakeup' into 'master'
fix(esp_hw_support): adjust pvt prepare cost in sleep wakeup

See merge request espressif/esp-idf!45273
2026-01-22 17:00:30 +08:00
wuzhenghui 4c996ca231 change(esp_hw_support): deprecate esp_deep_sleep_enable_gpio_wakeup API
rename esp_deep_sleep_enable_gpio_wakeup to esp_sleep_enable_gpio_wakeup_on_hp_periph_powerdown
rename esp_deepsleep_gpio_wake_up_mode_t to esp_sleep_gpio_wake_up_mode_t
2026-01-21 19:48:26 +08:00
wuzhenghui 78b3fca2b4 change(esp_driver_gpio): deprecate gpio_deep_sleep_wakeup_enable/disable API
rename gpio_deep_sleep_wakeup_enable to gpio_wakeup_enable_on_hp_periph_powerdown_sleep
rename gpio_deep_sleep_wakeup_disable to gpio_wakeup_disable_on_hp_periph_powerdown_sleep
rename GPIO_IS_DEEP_SLEEP_WAKEUP_VALID_GPIO to GPIO_IS_HP_PERIPH_PD_WAKEUP_VALID_IO
2026-01-21 19:48:25 +08:00
wuzhenghui d188ad96b7 change(soc): rename peripheral powerdowned sleep wakeable IO soc_caps
rename SOC_GPIO_DEEP_SLEEP_WAKE_VALID_GPIO_MASK to SOC_GPIO_HP_PERIPH_PD_SLEEP_WAKEABLE_MASK
rename SOC_GPIO_DEEP_SLEEP_WAKE_SUPPORTED_PIN_CNT to SOC_GPIO_HP_PERIPH_PD_SLEEP_WAKEABLE_PIN_CNT
rename SOC_GPIO_SUPPORT_DEEPSLEEP_WAKEUP to SOC_GPIO_SUPPORT_HP_PERIPH_PD_SLEEP_WAKEUP
2026-01-21 19:47:33 +08:00
wuzhenghui e222adac97 fix(esp_hw_support): revert cache writeback/invalidate in wakeup process 2026-01-20 21:14:17 +08:00
hebinglin 847a31fc6c change(esp_hw_support): enable rwdt monitoring deep sleep software adjustment period by default 2026-01-20 20:09:22 +08:00
hebinglin 267a02faa1 change(esp_hw_support): add timer wakeup check when use rtc wdt during sleep 2026-01-20 20:09:22 +08:00
hebinglin b683d47ab6 change(esp_hw_support): reduce the ram size for rwdt monitoring during sleep 2026-01-20 20:09:22 +08:00
hebinglin b763ce7974 change(esp_hw_support): add sleep_rtc_wdt_prepare api for rtc wdt enable or disable 2026-01-20 20:09:22 +08:00
hebinglin c02944f8b8 feat(esp_hw_support): support rtc wdt during deep sleep 2026-01-20 20:09:22 +08:00
hebinglin 8555a9b3c3 feat(esp_hw_support): support rtc wdt during light sleep 2026-01-20 20:09:22 +08:00
yanzihan@espressif.com 87605b54e9 fix(esp_hw_support): adjust pvt prepare cost in sleep wakeup 2026-01-19 21:16:29 +08:00
wuzhenghui 6689f6c14f feat(esp_hw_support): esp32p4 rev3.1 no need MSPI workaround 2026-01-19 11:19:03 +08:00
hebinglin 94b54832f8 change(esp_hw_support): remove sleep_mmu_retention related flow for esp32c5 eco1 2026-01-12 14:15:48 +08:00
hebinglin 4841182afe feat(esp_hw_support): support top pd during sleep in esp32c5 eco3 2026-01-12 14:15:48 +08:00
hebinglin 2fdf2b992c revert(esp_hw_support): force top domain power up during sleep
This reverts commit 7912f9fafe.
2026-01-12 14:15:48 +08:00
Jiang Jiang Jian 4a2c47e4d4 Merge branch 'bugfix/fix_pvt_after_sleep' into 'master'
fix(pvt): fix pvt retention bug,replace pvt_retention with pvt_init

See merge request espressif/esp-idf!44925
2026-01-12 11:22:59 +08:00
zlq 02f3974b6a fix(pvt): fix pvt retention bug,replace pvt_retention with pvt_init 2026-01-09 15:55:38 +08:00
Li Shuai 0c4a6f2430 change(esp_hw_support): update esp32 sleep parameters when disabling system sleep IRAM optimization 2026-01-08 16:58:05 +08:00
Li Shuai 6e9885f7e6 Merge branch 'bugfix/idfgh-16634' into 'master'
remove the configurable constraint for sleep memory usage optimization option

Closes IDFGH-16634 and IDF-13780

See merge request espressif/esp-idf!42882
2025-12-31 12:57:50 +08:00
Li Shuai 08d647b9bc change(esp_hw_support): update some sleep parameters when sleep iram optimization is disabled 2025-12-30 11:47:49 +08:00
Li Shuai 4f7703522e fix(esp_hw_support): fix esp32p4 HP_SYS_HP_WDT_RESET issue caused by cache invalid all 2025-12-30 11:47:49 +08:00
wuzhenghui 48ba430297 change(esp_hal_rtc_timer): unify lp_timer/rtc_timer naming to RTC_TIMER 2025-12-30 11:35:36 +08:00
wuzhenghui a659753392 fix(esp_hw_support): fix RNG to LP peri domain dependency on C5 2025-12-29 10:49:53 +08:00
Li Shuai 96dc98e70e fix(esp_hw_support): fix the esp32h2 sleep TG0 watchdog reset issue caused by power down the top domain 2025-12-27 12:34:18 +08:00
Wu Zheng Hui 59fa9f7430 Merge branch 'feat/support_configurable_behavior_for_sleep_console' into 'master'
feat(esp_hw_support): Support configurable console uart behavior before sleep

Closes PM-396

See merge request espressif/esp-idf!38409
2025-12-25 12:31:35 +08:00
Wu Zheng Hui f8a21b0fc5 Merge branch 'fix/fix_cnnt_top_dependency' into 'master'
fix(esp_hw_support): fix TOP domain to CNNT domian dependency

Closes PM-631

See merge request espressif/esp-idf!44309
2025-12-24 14:06:25 +08:00
wuzhenghui 3c90d22010 feat(esp_hw_support): support configurable uarts behavior before sleep 2025-12-19 17:25:43 +08:00
wuzhenghui 353075ca30 change(esp_hw_support): reject sleep request if task stack in PSRAM 2025-12-19 10:27:28 +08:00