Commit Graph
100 Commits
Author SHA1 Message Date
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
wuzhenghui 8bc8f049fe fix(esp_hw_support): use same lock for lightsleep/deepsleep process 2026-06-22 11:21:33 +08:00
wuzhenghui ddddb4d25c feat(esp_psram): wakeup PSRAM by CE# force control instead of dummy write 2026-06-18 16:06:00 +08:00
wuzhenghui 33f5b9a5fb feat(esp_hw_support): check psram data is not corrupted after lightsleep 2026-06-18 16:06:00 +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
wuzhenghui bf4a668089 refactor(esp_hw_support): move system_periph_retention from soc to esp_hw_support 2026-06-17 12:21:41 +08:00
wuzhenghui fa1146f5e5 fix(esp_pm): malloc pm_lock in internal mem 2026-06-16 17:55:56 +08:00
wuzhenghui 2ea0d4639d docs(system): update GPIO wakeup section for clarity on EXT0 and EXT1 support
backport !47362
2026-06-03 10:57:54 +08:00
wuzhenghui ca64f41cda fix(esp_hw_support): fix possible dead lock in deepsleep process 2026-06-02 17:47:51 +08:00
wuzhenghui 626c9a5e42 fix(esp_hw_support): add validation for gpio_pin_mask 2026-06-01 19:35:06 +08:00
wuzhenghui 323ee35567 feat(example): implement power management example for ESP chips 2026-05-12 10:14:50 +08:00
wuzhenghui 49806cb495 fix(esp_hw_support): fix core1 branch predictor access ext mem after cache disabled by core0 2026-05-11 17:44:33 +08:00
wuzhenghui 03b5ee16a5 fix(esp_hw_support): increase test rounds for in esp_random() test 2026-05-11 15:33:11 +08:00
wuzhenghui 08be3a6c85 feat(esp_hw_support): add sleep_reentent UT case back 2026-04-08 12:19:17 +08:00
wuzhenghui 8622bc38c4 change(esp_rom): wdt_hal_config_stage fixed in rom_version: esp32p4-eco7-20260109 2026-03-31 20:32:27 +08:00
wuzhenghui a978e364a6 feat(esp_hw_support): add RV FP test cases 2026-03-12 11:37:10 +08:00
wuzhenghui 5ed166e97f feat(esp_hw_support): support esp32p4 RV FPU context retention in pd_cpu sleep 2026-03-12 11:37:10 +08:00
wuzhenghui 8f61fe2544 feat(esp_hw_support): add API to supoport modify retention skip flag dynamically 2026-03-11 19:58:18 +08:00
wuzhenghui 9fe9b83ab9 fix(esp_rom): sync spi_flash_disable/enable_cache patches to rom implementation 2026-03-10 14:16:37 +08:00
wuzhenghui 945e38b21c fix(esp_hw_support): fix sleep exception if CONFIG_SPI_FLASH_ROM_IMPL enabled 2026-03-10 14:15:31 +08:00
wuzhenghui 97a948cdab fix(esp_hw_support): fix esp_sleep_enable_gpio_wakeup_on_hp_periph_powerdown bad logic 2026-02-13 16:26:57 +08:00
wuzhenghui 7acc7ba79a fix(esp_hw_support): make esp_deep_sleep_enable_gpio_wakeup available to PD_TOP lightsleep 2026-02-13 16:26:57 +08:00
wuzhenghui fe02a792ad fix(example): fix uninitialized gpio/rtcio in deepsleep example 2026-02-13 16:26:41 +08:00
wuzhenghui cb617da906 fix(esp_driver_uart): enable pad sleep clock in uart_wakeup_setup function 2026-02-11 15:30:29 +08:00
wuzhenghui 1187afe516 feat(esp_hw_support): hold MSPI pins in pd_top lightsleep 2026-02-10 16:19:36 +08:00
wuzhenghui 39d107fd24 fix(bootloader): fix bootloader bad spi pin drv config and clear all wpu/wpd by default 2026-02-10 16:18:36 +08:00
wuzhenghui 33794f6b52 feat(esp_hw_support): set USB2.0 phy to suspend mode at startup for active power saving 2026-02-10 16:18:36 +08:00
wuzhenghui ce3430b1b4 feat(example): add cache safe check for wifi powersave example CI 2026-02-09 15:26:13 +08:00
wuzhenghui a9a718e2a0 fix: add reference count control for modem clock devices 2026-02-06 15:46:08 +08:00
wuzhenghui 0447818602 fix(esp_hw_support): set cases with toppd check only run in esp32c5eco3 rather than eco2 2026-02-03 21:53:10 +08:00
wuzhenghui 65a26973b8 fix(esp_hw_support): revert cache writeback/invalidate in wakeup process 2026-01-20 21:21:03 +08:00
wuzhenghui 42ccf5d626 feat(esp_hw_support): esp32p4 rev3.1 no need MSPI workaround 2026-01-19 11:20:29 +08:00
wuzhenghui 4030ea4d1c feat(esp_hw_support): support esp32p4 ADC_TESEN_MONITOR mode 2026-01-16 17:23:54 +08:00
wuzhenghui db9c08190e fix(soc): fix LP_UART clock source definitions to FOSC instead of LP_FAST 2026-01-16 17:23:50 +08:00
wuzhenghui f890ed0066 feat(esp_hw_support): add esp_random() bit balance 0/1 ratio with sleep test case 2026-01-16 11:27:15 +08:00
wuzhenghui 67a62f45ce fix(esp_system): fix rom secure boot fast wake feature for c5/c6/h2/h21 2026-01-12 18:11:59 +08:00
wuzhenghui 0ef217cb9e fix(esp_hw_support): fix TOP domain to CNNT domian dependency 2026-01-12 16:15:03 +08:00
wuzhenghui 670029c4da fix(esp_hw_support): fix RNG to LP peri domain dependency on C5 2026-01-09 15:05:55 +08:00
wuzhenghui b748afb8cc fix(esp_hw_support): rever the "fix RNG to LP Peri domain dependency on C5"
This reverts commit 5d5d15fbfc.
2026-01-09 11:21:50 +08:00
wuzhenghui 5d5d15fbfc fix(esp_hw_support): fix RNG to LP Peri domain dependency on C5 2025-12-23 23:43:13 +08:00
wuzhenghui 3146ab33ab fix(esp_system): fix c61 mspi core/axi reset order 2025-12-10 12:16:33 +08:00
wuzhenghui ca8183d36a fix(esp_hw_support): update DEFAULT_SLEEP_OUT_OVERHEAD_US for esp32c61 2025-12-02 14:59:04 +08:00
wuzhenghui 104145de7f fix(esp_system): fix mspi write stuck after cpu/digital reset on c5/c61 2025-12-02 13:34:17 +08:00
wuzhenghui 9d75959a11 feat(esp_hw_support): re-enable P4 sleep wakeup tests for rev3.0 2025-11-26 19:25:53 +08:00
wuzhenghui ab1998e45b feat(esp_hw_support): re-enable P4 sleep wakeup tests for rev3.0 2025-11-26 19:24:21 +08:00
wuzhenghui 159418f638 fix(esp_hw_support): fix esp32c5 clk seting broken after CPU reset
Closes https://github.com/espressif/esp-idf/issues/17780
2025-11-18 11:47:17 +08:00
wuzhenghui 2162471cd0 test(esp_pm): add test case for USJ printing performance during wake-up
Add a new test case to verify that USJ printing doesn't block CPU on chip
wake-up from light sleep. The test measures the average time per print
operation and ensures it's below 5000 microseconds.
2025-11-14 17:41:48 +08:00
wuzhenghui 6dfea6c03e fix(esp_driver_usb_serial_jtag): check USJ accessibility before read/write
Add connection checks to usb_serial_jtag_write and usb_serial_jtag_read
functions to return -EIO error code when the USB Serial JTAG is not
connected.
2025-11-14 17:26:10 +08:00
wuzhenghui 8c77a3075a fix(esp_hw_support): add dependency of the TOP domain to the RTC_PERIPH domain for esp32c6 2025-11-14 16:40:27 +08:00
wuzhenghui 9e06691c52 feat(esp_hw_support): support unicore auto clock gating for esp32p4 rev3+ 2025-11-14 14:08:52 +08:00
wuzhenghui 7adb3a5a2e fix(esp_system): fix XTAL32K power breaks ADC function on 32k XTAL clock pin 2025-11-13 14:17:34 +08:00
wuzhenghui 3b2a14f220 change(esp_hw_support): esp32p4 rev3.0 dummy read workaround refactor 2025-10-30 19:09:48 +08:00
wuzhenghui 3ee348fe52 fix(esp_hw_support): add p4 rev3.0 MSPI workaround for deepsleep 2025-10-30 19:09:44 +08:00
wuzhenghui bb2052f2ef fix(esp_hw_support): fix mie lost after pd_cpu sleep request reject 2025-10-29 17:22:19 +08:00
wuzhenghui 72ea3de736 change(esp_hw_support): set HP/LP mem in retention mode in sleep 2025-10-29 17:22:19 +08:00
wuzhenghui 96aef65a2d fix(esp_system): fix ext 32k io revoking breaks sleep io holding 2025-10-28 18:54:20 +08:00
wuzhenghui 5bcfa44e02 change(esp_hw_support): set HP/LP mem in retention mode in sleep 2025-10-20 17:18:58 +08:00
wuzhenghui f66d7a8a9e change(esp_hw_support): update TOP pd sleep dependency
Disable peripheral powerdown lightsleep if PSRAM if enabled on P4 v3
Force powerdown Flash if peripheral power down lightsleep is enabled
2025-10-20 17:18:57 +08:00
wuzhenghui db95e8a7ad fix(esp_hw_support): add PD_TOP lightsleep mspi failure workaround for p4 rev3 2025-10-20 17:18:57 +08:00
wuzhenghui 63369d3b7f fix(esp_hw_support): fix esp32p4 v3 cache error false alarm after PD_TOP wakeup 2025-10-20 17:18:57 +08:00
wuzhenghui 7950413b61 fix(esp_hw_support): fix P4 v3.0 USB leakage on PU_CNNT lightsleep 2025-10-20 17:18:56 +08:00
wuzhenghui 75145025ff fix(esp_hw_support): add the TOP domain's power-off dependency on the CNNT domain 2025-10-20 17:18:56 +08:00
wuzhenghui 1956857ec5 fix(esp_hw_support): disable HP regulator if DCDC keeps powering during sleep 2025-10-20 17:18:52 +08:00
wuzhenghui 9413361f82 change(esp_hw_support): allocate memory with MALLOC_CAP_RETENTION for regdma link 2025-10-20 17:18:20 +08:00
wuzhenghui e736992803 change(soc): reset L2 Cache sync after config restore 2025-10-20 17:18:20 +08:00
wuzhenghui 298087869a feat(esp_hw_support): update cpu_pd support for esp32p4 v3.0 2025-10-20 17:18:20 +08:00
wuzhenghui b985b5b90a feat(esp_hw_support): update pmu support for esp32p4 v3.0 2025-10-20 17:17:51 +08:00
wuzhenghui cc55af5938 feat(soc): support esp32p4 rev3.0 soc 2025-10-20 11:30:41 +08:00
wuzhenghui 3d3b287672 fix(esp_system): manage slow clock sleep pd in select_rtc_slow_clk 2025-10-10 20:04:58 +08:00
wuzhenghui 80ab4fbea1 change(esp_hw_support): remove DCDC-to-LDO power switch support in ESP32P4 lightsleep 2025-09-29 14:08:43 +08:00
wuzhenghui fa86aac235 change(esp_hw_support): control DCDC switch by PMU FSM while control DCDC_EN by software 2025-09-29 14:08:39 +08:00
wuzhenghui e1f5ff551b fix(esp_hw_support): increase esp32c5 wifi link working cost 2025-09-26 15:22:14 +08:00
wuzhenghui be1687d8b9 feat(esp_hw_support): add new API to get all wakeup sources 2025-08-26 19:08:25 +08:00
wuzhenghui 76f3aea6ea change(esp_hw_support): increase s2a_work_time_us 2025-08-21 11:52:44 +08:00
wuzhenghui bde461f09e fix(esp_hw_support): test ESP_SLEEP_RTC_USE_RC_FAST_MODE sleep submode after reset 2025-08-20 17:37:07 +08:00
wuzhenghui e90c50d66b fix(esp_hw_support): fix ESP_SLEEP_RTC_USE_RC_FAST_MODE sub_mode lost after cpu/sys reset
Closes https://github.com/espressif/esp-idf/issues/16243
2025-08-20 17:36:32 +08:00
wuzhenghui 521c7fb951 fix(hal): fix esp32c5 mac link bad trigger 2025-08-08 17:00:46 +08:00
wuzhenghui c582193add change(esp_hw_support): warning in esp_sleep_pd_config instead of assert
Closes https://github.com/espressif/esp-idf/issues/16872#event-18649904083
2025-08-08 12:12:55 +08:00
wuzhenghui 388ffa8818 change(esp_hw_support): always do hardware clock enable in modem module enabling 2025-08-08 11:46:13 +08:00
wuzhenghui 6a5a2fa92a fix(esp_hw_support): fix MODEM_ADC_COMMON_FE destroyed by modem powerdown lightsleep 2025-08-08 11:45:41 +08:00
wuzhenghui cafe454113 feat(esp_hw_support): support clock output feature on esp32c5/esp32c61 2025-08-08 11:36:28 +08:00
wuzhenghui c5893aac53 fix(esp_system): LOGD for the log printing in sleep process 2025-07-31 14:35:49 +08:00
wuzhenghui ddbf8391d9 fix(esp_hw_support): enable ESP_SLEEP_RTC_FAST_USE_XTAL_MODE only once in RTC_FAST selection 2025-07-25 16:49:16 +08:00
wuzhenghui d4a67c9957 fix(esp_hw_support): fix assert when changing 8MD256 RTC slow clock source during OTA 2025-07-25 16:49:04 +08:00
wuzhenghui ae1914398a feat(esp_hw_support): add core1 enter deepsleep test case 2025-07-21 14:16:01 +08:00
wuzhenghui 5ff3d1f32b fix(esp_hw_support): fix esp32 APP_CPU accessing RTCFAST memory in sleep code
Closes https://github.com/espressif/esp-idf/issues/16243
2025-07-21 14:16:01 +08:00
wuzhenghui 577d650d83 fix(esp_system): LOGD for the log printing in sleep process 2025-07-03 19:14:22 +08:00
wuzhenghui c844ba4f7f fix(esp_system): force enable uart0 sclk in esp_restart 2025-07-03 19:13:41 +08:00
wuzhenghui 2a484d8b43 feat(esp_hw_support): enable wakeup tests for more chips 2025-06-23 09:51:29 +08:00
wuzhenghui 40a3b0cb23 fix(hal): fix pmu_ll_ext1_clear_wakeup_status API 2025-06-23 09:51:29 +08:00
wuzhenghui f4669e3377 change(bt): increase BTDM_MODEM_WAKE_UP_DELAY 2025-06-16 17:24:47 +08:00
wuzhenghui 7e28275ac1 change(esp_timer): make esp_timer timming drift always be negative 2025-06-16 17:24:47 +08:00
wuzhenghui da534bf462 fix(esp_hw_support): config lact in critical 2025-06-16 17:24:46 +08:00
wuzhenghui e26be2be8f test(esp_timer): add UT case for esp_timer period alarm with DFS 2025-05-22 14:07:37 +08:00
wuzhenghui e8475d7796 feat(esp_hw_support): compensate the error introduced to LACT during APB frequency switching 2025-05-22 14:07:37 +08:00
wuzhenghui 31149354a9 fix(esp_hw_support): update systimer step immediately when XTAL changes on esp32s2 2025-05-22 14:07:37 +08:00
wuzhenghui 833df30063 fix(esp_hw_support): update LACT clock prescale immediately when APB changes on esp32 2025-05-22 14:07:36 +08:00
wuzhenghui 2252a4166a fix(esp_hw_support): fix esp32p4 may get stuck when entering deepsleep 2025-05-20 19:52:07 +08:00