Tomas Rezucha
6e0878131e
Revert "fix(esp_hw_support): Fix deepsleep leakage after initializing USB HS phy"
...
This reverts commit 7107177e2d .
2026-04-22 10:05:46 +02:00
Chen Jichang
6e206dd173
refactor(clk_tree): use general api to enable the clk
2026-04-16 20:03:06 +08:00
Wu Zheng Hui
ec5f956516
Merge branch 'doc/fix_sleep_mode_doc' into 'master'
...
docs(system): update GPIO wakeup section for clarity on EXT0 and EXT1 support
See merge request espressif/esp-idf!47362
2026-04-14 16:38:34 +08:00
wuzhenghui
4b874b58af
docs(system): update GPIO wakeup section for clarity on EXT0 and EXT1 support
2026-04-08 16:59:03 +08:00
Marius Vikhammer
e050a5f10b
Merge branch 'fix/esp_cpu_api' into 'master'
...
fix(esp_hw_support): validate esp_cpu debug helper args and guard CSR_PRV_MODE
See merge request espressif/esp-idf!47030
2026-03-30 14:02:43 +08:00
Marius Vikhammer
8e66081ae3
fix(esp_hw_support): guard CSR_PRV_MODE usage in esp_cpu_get_curr_privilege_level
...
CSR_PRV_MODE is only defined for a subset of RISC-V targets. Targets
that lack it (e.g. esp32h21, esp32h4, esp32s31) caused an assembler
error. Fall back to returning -1 (unsupported) when the CSR is not
defined.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-03-26 16:00:07 +08:00
Marius Vikhammer
07a6ec9b6e
fix(esp_hw_support): validate esp_cpu debug helper args
...
Reject invalid breakpoint/watchpoint indices and validate
watchpoint size before alignment checks. This makes the APIs
match their documented contract and avoids crashing on invalid
input.
Made-with: Cursor
2026-03-26 16:00:07 +08:00
Wu Zheng Hui
1dbf5247d1
Merge branch 'feat/support_gpio_source_for_more_chips' into 'master'
...
feat(esp_hw_support): support GPIO wakeup deepsleep on esp32/esp32s2/esp32s3
Closes PM-666
See merge request espressif/esp-idf!45773
2026-03-26 11:28:45 +08:00
gaoxu
609a867a91
feat(pmu): h21 eco1 pmu and clk files update
2026-03-25 15:38:49 +08:00
wuzhenghui
a441be19a7
feat(esp_hw_support): add esp_sleep_rtcio_channel_to_gpio_num for channel to IO num conversion
2026-03-25 10:49:47 +08:00
Omar Chebib
5cfe060d8e
feat(esp_hw_support): implement private shared interrupts
2026-03-24 15:40:20 +08: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
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
armando
c96f69faef
change(mem): deprecated tcm and added scp memory utils
2026-03-11 11:18:15 +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
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
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
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
wuzhenghui
859c43cb46
change(esp_hw_support): rename LP_TIMER wakeup source to RTC_TIMER
2026-02-11 15:03:39 +08:00
wuzhenghui
0b27301a09
feat(soc): support esp32s31 lp_aon & rtc_wdt & rtc_timer
2026-02-11 15:03:35 +08:00
Chen Ji Chang
7a8a5d8852
Merge branch 'test/parlio_flash_enc_test' into 'master'
...
test(parlio,rmt,lcd): add virtual flash encryption test
Closes IDF-15064, IDF-15065, and IDF-15069
See merge request espressif/esp-idf!45006
2026-02-06 19:26:22 +08:00
Island
0d60c16312
Merge branch 'feat/esp_idf_modem_state_reconstruct' into 'master'
...
refactor modem clock driver
Closes PM-636
See merge request espressif/esp-idf!44185
2026-02-06 12:10:58 +08:00
Chen Jichang
b8c527a87c
refactor(flash_enc): move esp_flash_encryption_enabled() to efuse component
2026-02-05 11:42:08 +08:00
hebinglin
f0e523db6e
change(esp_hw_support): split the APIs in modem_clock_impl.c into modem_clock_impl.h
2026-02-04 12:36:38 +08:00
hebinglin
5049fb6a49
change(esp_hw_support): optimize modem clock configure size
2026-02-04 12:32:06 +08:00
hebinglin
c282040d0e
change(esp_hw_support): add modem clock bit operation defs for related clocks
2026-02-04 11:35:09 +08:00
hebinglin
6f3dca9cb5
change(esp_hw_support): change some modem clock related macros
2026-02-04 11:35:09 +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
hebinglin
8bd502f975
change(esp_hw_support): divide modem_clock config into port layer
2026-01-30 11:01:09 +08:00
Jiang Jiang Jian
d97590f73c
Merge branch 'fix/fix_i2c_modem_clock_ref_count_mismatch' into 'master'
...
feat(esp_hw_support): add reference count control & clock enable checking for modem clock devices
Closes PM-592 and PM-595
See merge request espressif/esp-idf!42588
2026-01-27 14:18:53 +08:00
morris
0469db2f83
refactor(rcc): unify the usage of clock control macros for peripherals
...
- Removed conditional definitions for various RCC_ATOMIC macros across
multiple files, replacing them with a unified PERIPH_RCC_ATOMIC() macro.
- Updated instances where specific RCC_ATOMIC macros were used to ensure
consistent usage of PERIPH_RCC_ATOMIC().
- Deleted unused uart_share_hw_ctrl.h file as its functionality is now
integrated into the new structure.
2026-01-23 18:28:13 +08:00
Jiang Jiang Jian
a94c6e8b6b
Merge branch 'bugfix/fix_external_coexistence_depends_on_wifi_connect_issue' into 'master'
...
fix(wifi): fix external coexistence depends on wifi connect issue
Closes WIFI-7123, WIFI-7124, and WIFI-6744
See merge request espressif/esp-idf!43644
2026-01-23 10:56:16 +08:00
morris
35bdd8c651
feat(dma): graduate the dma driver from esp_hw_support to esp_driver_dma
2026-01-22 14:14:14 +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
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
muhaidong
cec2bbf0c3
fix(wifi): fix external coexistence depends on wifi connect issue
2026-01-21 17:13:38 +08:00
hebinglin
8555a9b3c3
feat(esp_hw_support): support rtc wdt during light sleep
2026-01-20 20:09:22 +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
Jiang Jiang Jian
382dbc04ea
Merge branch 'bugfix/fix_esp32_phy_init_bb_clock_issue' into 'master'
...
bugfix(wifi): fix incomplete phy initialization due to absence of bb clocks at...
Closes ESPCS-1007 and ESPCS-997
See merge request espressif/esp-idf!42511
2026-01-08 20:32:04 +08:00
morris
ebc68a1910
Merge branch 'refactor/sleep_sys_peripheral' into 'master'
...
refactor: cleanup dependency of soc_caps & hal components in sleep_system_peripheral.c
See merge request espressif/esp-idf!44682
2026-01-07 19:29:07 +08:00
Chen Chen
f3b5600bd1
refactor: remove some dependency on hal components
2026-01-05 18:02:29 +08:00
Song Ruo Jing
215c9993bf
fix(clk): update H4 to use 64MHz clock for mspi
...
And add pll clock ref count
2026-01-04 14:07:01 +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
liuning
fd1c50d0dc
fix(wifi): allow to disable wifi modem clocks if wifi is not inited
2025-12-29 17:14:58 +08:00
liuning
9dc2dc8d1b
feat(phy): add check for required clock bits during phy enable
2025-12-29 16:49:27 +08:00