Sudeep Mohanty
8a2e56810c
Merge branch 'task/v2_aware_component_and_test_gates' into 'master'
...
fix(components): linux host-build failure fixes+ disable esp_tee in buildv2 + esp_hw_support and xtensa fixes
See merge request espressif/esp-idf!48743
2026-05-26 13:09:58 +02:00
Sudeep Mohanty
301eeba878
Merge branch 'task/buildv2_hygiene_and_dep_declarations' into 'master'
...
fix(components): generic dep-declaration and scope-leakage hygiene exposed by cmakev2
See merge request espressif/esp-idf!48739
2026-05-26 10:18:22 +02:00
Sudeep Mohanty
7b294c4ab9
fix(esp_hw_support): move linux spinlock.h to esp_hw_support/include/linux
...
Moved the linux spinlock.h stub into esp_hw_support/include/linux.
esp_hw_support's INCLUDE_DIRS already places include/linux before
include, so the correct include files are picked up for the linux
target.
- Drop the FreeRTOS-Kernel-SMP linux spinlock.h duplicate.
- rv_decode_test: use PRIV_REQUIRES esp_hw_support instead of
hardcoding component include paths.
2026-05-25 15:24:25 +02:00
morris
7ce07cb910
Merge branch 'refactor/enable_io_mux_clock' into 'master'
...
fix(iomux): move source gating to IOMUX consumers
Closes IDF-12975 and IDF-12852
See merge request espressif/esp-idf!48530
2026-05-25 12:31:50 +08:00
Aditi
18cbdbf2b1
feat(esp_wifi): Add improvements for privacy extension
...
1) Add support for MAC randomization in Active scan and connect
2) Add support for randomizaton of sequence numbers
3) Add support for randomization of dialog token for GAS frames
2026-05-25 11:22:45 +08:00
morris
38c4f27102
fix(iomux): move clock source gating to IOMUX consumers
...
Remove io_mux_set_clock_source internal source enabling and make SDM,
ana_cmpr, and gpio glitch filter drivers explicitly manage clock source
enable/disable with safe cleanup paths.
2026-05-22 19:10:08 +08:00
hebinglin
b160ba668d
change(esp_hw_support): add i2c_mst_st_map and lp_apb_st_map in h4 i2c_mst enable way
2026-05-22 15:18:31 +08:00
He Binglin
9c3a6b3f5d
Merge branch 'feat/esp_idf_h4_optimize' into 'master'
...
Feat/esp idf h4 retention and active clk power optimize
Closes PM-746, PM-745, and PM-736
See merge request espressif/esp-idf!48319
2026-05-22 10:55:43 +08:00
Ondrej Kosta
fc41e66e47
Merge branch 'feat/gmac_s31' into 'master'
...
Feat/gmac s31
Closes IDF-14730
See merge request espressif/esp-idf!48029
2026-05-21 22:51:44 +08:00
hebinglin
1c279178fa
feat(esp_hw_support): support bbpll pd in modem state
2026-05-21 20:03:45 +08:00
hebinglin
5710783a89
feat(esp_hw_support): support entry 2 xtalx2 power pu in esp32h4
2026-05-21 19:55:37 +08:00
Sudeep Mohanty
fbddd41690
fix(esp_hw_support): use elif __riscv guard in spinlock.h
...
spinlock.h used #else to include riscv/rv_utils.h for all non-Xtensa
targets. On Linux host (neither __XTENSA__ nor __riscv defined), this
pulls in a non-existent header. Change to #elif __riscv, matching
esp_cpu.h's existing pattern.
2026-05-21 10:05:48 +02:00
Ondrej Kosta
c7d6c41198
feat(clk_tree): support derived PLL clocks
...
Add a generic derived-PLL clock engine to esp_clk_tree_common that
handles acquire/release, mux selection, and divider programming for
target-defined derived clocks. Per-target descriptors (ESP32-P4,
ESP32-S31) plug into the engine via
esp_clk_tree_get_derived_clk_desc().
2026-05-21 15:59:42 +08:00
Li Shuai
7b541be9d5
add comment for sleep_retention_module_detach interface
2026-05-21 11:46:16 +08:00
Li Shuai
f01e818c40
add comment for sleep_retention_module_attach interface
2026-05-21 11:46:16 +08:00
Li Shuai
3bef3296c9
fix(esp_hw_support): fix regdma link dump to print module number
2026-05-21 11:46:16 +08:00
Li Shuai
aa56e1af2e
feat(esp_hw_support): support sleep retention module runtime attach and detach
2026-05-21 11:46:16 +08:00
Li Shuai
c4a8b106ce
change(esp_hw_support): duplicate module sleep retention entries context to support module attach and detach
2026-05-21 11:46:16 +08:00
wuzhenghui
b7ec505923
feat(esp_driver_gpio): support rtc_io edge wakeup deepsleep
2026-05-20 11:04:00 +08:00
wanckl
2521f3887a
fix(esp_hw_support): fixed spi buslock multi dev acq/release logic issue
2026-05-11 19:36:40 +08:00
cjin
b6643c4786
feat(ble): supported ble light sleep feat on esp32s31
2026-05-11 08:34:15 +08:00
wuzhenghui
3a40436e63
refactor(esp_hw_support): refactor cache ops to sleep_cache.c
2026-05-07 12:02:06 +08:00
wuzhenghui
820475f0e7
fix(esp_hw_support): 1v8 flash/psram dedicate ldo depends on pd_cur on
2026-05-07 12:02:06 +08:00
wuzhenghui
7c10126309
feat(esp_hw_support): isolate all digital io to suppress pad leakage on TOP pd sleep
2026-05-07 08:39:56 +08:00
wuzhenghui
54fed4c1c3
feat(esp_hw_support): update esp32s31 PMU support
2026-05-06 20:15:01 +08:00
sibeibei
5c936ee229
fix(wifi): fix modem sleep flag clear failed
2026-04-23 20:30:26 +08:00
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