Commit Graph

2828 Commits

Author SHA1 Message Date
He Binglin
1180967ff7 Merge branch 'change/esp_idf_flash_dpd_in_safe' into 'master'
Change: place flash dpd code in iram safe and add restart cases when rtc_clk iram opt

See merge request espressif/esp-idf!45311
2026-03-23 15:35:25 +08:00
Jiang Jiang Jian
56f95eac0b Merge branch 'bugfix/fix_hplpgap_assert_in_pvt_func' into 'master'
feat(pvt): fix hplpgap assert error in pvt func on master

See merge request espressif/esp-idf!46809
2026-03-23 12:18:16 +08:00
yanzihan@espressif.com
5d5b142b0d feat(pvt): fix hplpgap assert error in pvt func on master
feat(pvt): fix hplpgap assert error in pvt func on master
2026-03-21 15:33:00 +08:00
hebinglin
dfac6f6ef4 change(esp_system): add iram opt for rtc clk resart cases 2026-03-20 16:50:05 +08:00
hebinglin
5a0369edf8 change(esp_hw_support): move dpd apis in esp_sleep_start_safe 2026-03-20 16:50:05 +08:00
armando
d3ca2c1137 change(mspi): added sdr divider check to be not odd divider 2026-03-20 08:17:54 +00:00
Guillaume Souchere
8232fe077a Merge branch 'feat/add-esp-cpu-linux-support' into 'master'
feat(esp_hw_support): Provide esp_cpu.h support for linux target

See merge request espressif/esp-idf!46647
2026-03-19 12:00:56 +01:00
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
wuzhenghui
6f1bea6a5d refactor(esp_system): ind_wdt.c refactor & code clean
1. introduce reconfigure_ticks function for wdt configuration
 2. move esp32eco3 cache livelock workaround code out from int_wdt.c
2026-03-18 11:29:51 +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
Meet Patel
3cef5673ff Merge branch 'refactor/enable_fsm_and_riscv_ulp_simultaneously' into 'master'
refactor(ulp): Allow both ULP-FSM and ULP-RISCV to enable at build time

Closes IDFGH-11916

See merge request espressif/esp-idf!45751
2026-03-17 19:29:43 +05:30
Guillaume Souchere
5415465164 feat(esp_hw_support): Add esp_cpu.h support for linux builds 2026-03-17 07:49:36 +01:00
armando
c60ed4b338 fix(spm): rename scp (scratchpad) to spm (scratchpad memory) 2026-03-17 01:29:34 +00: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
wuzhenghui
5ec7176155 feat(esp_hw_support): add sleep_reentent UT case back 2026-03-16 12:30:41 +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
Fu Hanxi
7d8b6549d0 Merge branch 'ci/missing_config_pre_commit_hook' into 'master'
ci: add pre-commit hook to detect missing configs

Closes IDFCI-2653

See merge request espressif/esp-idf!45826
2026-03-13 08:48:25 +01:00
Jiang Jiang Jian
287e416247 Merge branch 'bugfix/bt-4272' into 'master'
fix invalid phy link pointer during sleep modem state deinit

Closes BT-4272

See merge request espressif/esp-idf!46569
2026-03-13 15:07:06 +08:00
Armando (Dou Yiwen)
9af32395e2 Merge branch 'change/deprecate_tcm_and_use_scp' into 'master'
tcm: deprecated tcm and added scp memory utils

See merge request espressif/esp-idf!46472
2026-03-13 01:40:37 +00:00
Li Shuai
2e39d80b2c fix(esp_hw_support): fix invalid phy link pointer during sleep modem state deinit 2026-03-12 20:16:11 +08:00
Evgeny Torbin
d0f062c018 ci: remove unused test cases 2026-03-12 12:02:10 +01:00
Marius Vikhammer
d2567b6e45 Merge branch 'fix/lp_core_wake_stub_pmu_sw_int' into 'master'
fix(esp_hw_support): clear LP core SW interrupt in wake stub before sleep

Closes IDFGH-17328

See merge request espressif/esp-idf!46337
2026-03-11 13:35:52 +08:00
armando
c96f69faef change(mem): deprecated tcm and added scp memory utils 2026-03-11 11:18:15 +08:00
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
Konstantin Kondrashov
658fbfcb0e Merge branch 'doc/mac_doc_update_esp32p4' into 'master'
fix(doc): Update MAC-address related documentation for ESP32-P4

Closes IDFGH-17141

See merge request espressif/esp-idf!45933
2026-03-11 03:31:14 +02: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
Wu Zheng Hui
8cbf7830fe Merge branch 'feat/support_p4_clk_tree_ref_cnt' into 'master'
feat(esp_hw_support): support clock tree management for esp32p4

See merge request espressif/esp-idf!46015
2026-03-10 12:57:52 +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
Marius Vikhammer
cc9a929ea6 fix(esp_hw_support): clear LP core SW interrupt in wake stub before sleep
When ulp_lp_core_wakeup_main_processor() is called, it sets the
PMU_SW_INT_RAW bit on the HP side. The normal sleep path clears this
bit before re-entering sleep, but esp_wake_stub_sleep() did not, leaving
the wakeup cause sticky. This caused the PMU to immediately re-trigger a
wakeup as soon as sleep was requested from the wake stub, producing a
rapid re-wakeup loop that eventually triggered LP_WDT_SYS resets.

Add a test case that verifies the wake stub can return to sleep correctly
across multiple LP core wakeup cycles without the re-wakeup bug.

Closing https://github.com/espressif/esp-idf/issues/18308

Made-with: Cursor
2026-03-09 10:56:33 +08:00
Konstantin Kondrashov
690256b982 fix(doc): Update MAC-address related documentation for ESP32-P4
Closes https://github.com/espressif/esp-idf/issues/18159
2026-03-06 14:28:32 +02:00
hebinglin
048a9ae514 change(esp_hw_support): deprecate uart_set_wakeup_threshold and uart_get_wakeup_threshold 2026-03-06 11:23:27 +08:00
Li Shuai
de6a300bf7 Merge branch 'feat/esp_idf_software_clk_icg' into 'master'
support ESP32-P4 runtime clock control for peripherals to be used/kept during light sleep

Closes PM-395 and IDF-12839

See merge request espressif/esp-idf!43184
2026-03-06 11:22:02 +08:00
Jiang Jiang Jian
96b67d244f Merge branch 'bugfix/pm-673' into 'master'
fix analog i2c master race cause by phy retention link

Closes PM-673

See merge request espressif/esp-idf!46133
2026-03-05 19:24: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
Li Shuai
9b3cc51971 feat(esp_hw_support): support system sleep clock icg implemented by regdma 2026-03-05 18:11:17 +08:00
wuzhenghui
51cca0a88f feat(esp_hw_support): support clock tree management for esp32p4 2026-03-04 20:10:54 +08:00
Song Ruo Jing
e3a2865606 Merge branch 'bugfix/lp_io_clock_control' into 'master'
fix(rtcio): RTC GPIO configuration should be written only if LP IO clock exists

Closes IDF-14951

See merge request espressif/esp-idf!46146
2026-03-04 19:23:33 +08:00
wuzhenghui
d2be19ba18 feat(esp_hw_support): support esp32s31 system sleep retention 2026-03-03 21:42:48 +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
Wu Zheng Hui
b4def1d7db Merge branch 'feat/support_rv_fp_retention' into 'master'
feat(esp_hw_support): support rv fp retention

See merge request espressif/esp-idf!45565
2026-03-03 17:36:04 +08:00
He Binglin
90c845b8c0 Merge branch 'feat/esp_idf_c5c61_pmu_powerdomain_optimization' into 'master'
feat(esp_hw_support): support power domain power-down optimization

Closes PM-671

See merge request espressif/esp-idf!45863
2026-03-02 21:25:06 +08:00
Song Ruo Jing
d6031c859a Merge branch 'feature/psram_halfsleep_mode_support' into 'master'
feat(psram): allow PSRAM to enter halfsleep mode during light sleep

Closes IDF-8413

See merge request espressif/esp-idf!45363
2026-03-02 17:01:21 +08:00
Song Ruo Jing
acb49e9520 fix(rtcio): RTC GPIO configuration should be written if LP IO clock exists 2026-03-02 15:03:30 +08:00
hebinglin
242508aa12 feat(esp_hw_support): support power domain power-down optimization 2026-03-02 14:22:48 +08:00
He Binglin
1b547ca0ba Merge branch 'bugfix/esp_idf_s3_deepsleep_dead' into 'master'
fix(hal): fix the issue of dual-core contention for RTC_CNTL regs

See merge request espressif/esp-idf!41680
2026-03-02 11:35:53 +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
Li Shuai
bca8610c7b fix(esp_hw_support): fix analog i2c master race cause by phy retention link 2026-02-28 17:16:31 +08:00
Wan Lei
3cc0fa1971 Merge branch 'feat/driver_twai_sleep_retention_support' into 'master'
feat(driver_twai): new driver sleep retention supports

Closes IDF-13001

See merge request espressif/esp-idf!45418
2026-02-27 14:29:06 +08:00