3048 Commits

Author SHA1 Message Date
Gao Xu
db3d01d412 Merge branch 'feat/basic_rng_support_h4' into 'master'
RNG support and refactor on ESP32-H4

Closes IDF-12265

See merge request espressif/esp-idf!45361
2026-05-27 11:14:38 +08:00
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
gaoxu
43317018d1 refactor(rng): use adc_ll apis for ESP32-h4 and refactor rng_ll_enable/disable 2026-05-26 19:02:41 +08:00
Wu Zheng Hui
574b843868 Merge branch 'change/optimize_sleep_gpio_configure' into 'master'
change(sleep_gpio): streamline GPIO sleep configuration logic

See merge request espressif/esp-idf!48845
2026-05-26 17:14:06 +08: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
wuzhenghui
d19c0b1746 change(sleep_gpio): streamline GPIO sleep configuration logic 2026-05-26 12:20:59 +08: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
e20db709aa feat(debug): add esp32s31 debug probe support
- add ESP32-S31 debug probe LL, target IDs, capability macros, and GPIO signal mapping
- allow LP probe channels to configure four signal bytes while keeping 16 GPIO outputs
- add HP and LP probe read tests, including LP 32-bit read verification
- keep existing vbat LP probe usage aligned with the new LP channel behavior
2026-05-25 19:03:37 +08:00
morris
c23e87b81b Merge branch 'bugfix/esp32s31_raise_ahb_clk_freq' into 'master'
fix(clk): raised ESP32S31 axi/ahb clock freq up to 106mhz at max

Closes IDF-14696

See merge request espressif/esp-idf!48207
2026-05-25 18:23:37 +08: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
He Binglin
3bf83125b4 Merge branch 'change/esp_idf_ext1_unhold' into 'master'
Optimize parts of the sleep wake-up flow

See merge request espressif/esp-idf!47322
2026-05-25 11:15:22 +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
He Binglin
f3ee69582e Merge branch 'change/esp_idf_h4h21_modem_clock_retention_passive' into 'master'
Change/esp idf h4h21 modem clock retention passive

Closes IDFCI-11613, IDFCI-11628, and IDFCI-11614

See merge request espressif/esp-idf!48557
2026-05-22 18:02:24 +08:00
He Binglin
eec18ba80a Merge branch 'doc/esp_idf_flash_pwr_description' into 'master'
docs(pm): add flash sleep strategy recommendations

See merge request espressif/esp-idf!45689
2026-05-22 17:44:50 +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
hebinglin
f73d67acb2 revert(esp_hw_support): add modem_lpcon retention for esp32h21 2026-05-22 15:18:24 +08:00
Wu Zheng Hui
2fcaddb700 Merge branch 'fix/fix_psram_data_corrupt_after_lightsleep' into 'master'
fix(esp_hw_support):fix psram data corrupt after lightsleep

Closes PM-941

See merge request espressif/esp-idf!48322
2026-05-22 15:11:41 +08:00
hebinglin
23f6b5985a change(esp_hw_support): disable flash pd in h4 h21 c5 c61 2026-05-22 12:30:44 +08:00
hebinglin
418ffbe2a6 change(esp_pm): move timer wakeup set out of critical section 2026-05-22 11:45:21 +08:00
hebinglin
64bf345683 revert(esp_hw_support): esp32h4 beta5 i2c config retention when pd modem refer to PM-487 2026-05-22 11:09:33 +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
23f1ba150a change(esp_hw_support): change dcm_vset to optimize active and sleep current 2026-05-21 20:03:55 +08:00
hebinglin
a5b75c89d0 change(esp_hw_support): Align modem analog parameters with the active state in h4 2026-05-21 20:03:55 +08:00
hebinglin
1c98c0367d change(esp_hw_support): remove bbpll pu in retention to decrease the retetion duration 2026-05-21 20:03:55 +08:00
hebinglin
1c279178fa feat(esp_hw_support): support bbpll pd in modem state 2026-05-21 20:03:45 +08:00
hebinglin
1bfa301ee6 change(esp_hw_support): pd xtalx2 in modem state and selected as a2s&s2a retention clk 2026-05-21 19:55:38 +08:00
hebinglin
5710783a89 feat(esp_hw_support): support entry 2 xtalx2 power pu in esp32h4 2026-05-21 19:55:37 +08:00
hebinglin
2c91b280f4 change(esp_hw_support): disable some periph clk in cpu start 2026-05-21 19:53:51 +08:00
hebinglin
8104c5c491 feat(esp_hw_support): keep apm_func_ctrl value after sleep 2026-05-21 19:53:51 +08:00
hebinglin
312076e955 feat(esp_hw_support): decrease retention current and duration 2026-05-21 19:53:51 +08:00
hebinglin
b46b72cf19 feat(esp_hw_support): allow lp io clk close in cpu start 2026-05-21 19:53:51 +08:00
Ondrej Kosta
6a82c094fb fix(esp_clk_tree): temporarily disabled gating of all ref_clks on ESP32S31 2026-05-21 13:18:57 +02:00
Li Shuai
d7a2e15164 Merge branch 'feat/pm-683' into 'master'
support sleep retention runtime module attach/detach feature

Closes PM-683, PM-656, and BT-4216

See merge request espressif/esp-idf!47164
2026-05-21 17:07:58 +08:00
Song Ruo Jing
3ba8d08d02 fix(clk): raised axi/ahb clock freq up to 106mhz at max 2026-05-21 16:39:40 +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
Island
b970c5f674 Merge branch 'ble_dev/esp32h21_chip_20260513' into 'master'
Ble dev/esp32h21 chip 20260513

Closes BLERP-2798, IDF-11626, IDF-11652, IDF-11653, IDF-11655, IDF-14811, IDF-14812, IDF-14813, IDF-14814, and IDF-14815

See merge request espressif/esp-idf!48499
2026-05-21 14:00:09 +08:00
Armando (Dou Yiwen)
a6c0ea2289 Merge branch 'feat/sdmmc_s31' into 'master'
sdmmc: s31 support

Closes IDF-14705 and IDF-14706

See merge request espressif/esp-idf!47232
2026-05-21 04:59:49 +00:00
He Binglin
e3fb6a0047 Merge branch 'feat/esp_idf_h21_keep_apm_func' into 'master'
feat(esp_hw_support): keep esp32h21 apm_func_ctrl value after sleep

See merge request espressif/esp-idf!48733
2026-05-21 12:05:18 +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
2c33426d33 change(esp_hw_support): changes for suggestion 2026-05-21 11:46:16 +08:00
Li Shuai
e28ee420ac fix(ci): some digital peripherals support sleep retention attach and detach 2026-05-21 11:46:16 +08:00
Li Shuai
d1aaeb25e7 fix(ci): error: dereference of NULL 'args' 2026-05-21 11:46:16 +08:00
Li Shuai
ba0c441716 change(esp_hw_support): bypass regdma process when retention entries link final default only 2026-05-21 11:46:16 +08:00
cjin
e7921ed7dc feat(sleep): added attach attribute to system and modem clock retention 2026-05-21 11:46:16 +08:00
Li Shuai
ec1705c362 change(esp_system): support system minimum digital peripherals retention runtime attach and detach 2026-05-21 11:46:16 +08:00
Li Shuai
0d9587952d change(esp_wifi): support wifi module retention runtime attach and detach 2026-05-21 11:46:16 +08:00