Commit Graph
3159 Commits
Author SHA1 Message Date
sibeibei 87b7e100dd Revert "feat(wifi): enable pll clk in modem state"
This reverts commit e238c5bdc6.
2026-07-24 16:16:29 +08:00
morris 26a22512eb refactor(hal): extract assist_debug, debug_probe and trace into esp_hal_debug_assist
Move the following modules from the hal component into a new dedicated
esp_hal_debug_assist component, following the esp_hal_timg pattern:

- assist_debug (hal + target-specific LL headers)
- debug_probe (types + target-specific LL headers)
- riscv_trace (hal + types + source + target-specific LL headers)
- trace_ll (esp32/esp32s2/esp32s3 target-specific LL headers)

Update the following components to depend on esp_hal_debug_assist:
esp_system, riscv, bootloader_support, esp_hw_support, esp_riscv_trace

Remove riscv_trace_hal.c from the hal component.
2026-07-21 11:28:11 +08:00
Island de98d9d4ad Merge branch 'feat/feat_support_phy_enable_using_regdma' into 'master'
Feat/feat support phy enable using regdma

Closes BLERP-2376, BLERP-2381, and PM-635

See merge request espressif/esp-idf!46356
2026-07-21 10:40:03 +08:00
cjin 5db0097a27 feat(modem_clock): rename ble mac module to bt mac 2026-07-20 10:48:26 +08:00
cjin 7275f6ffbf feat(modem_clock): separete btmac module to btmac and bt peripheral 2026-07-20 10:48:26 +08:00
cjin 48c53023c8 feat(modem_clock): separate bt sec apb clock and add to bt apb module 2026-07-20 10:48:26 +08:00
cjin 9c432f41b5 feat(modem_clock): added bt_apb module and separete bt_apb from bt_mac module 2026-07-20 10:48:26 +08:00
Ma Jing Jing fef97f4436 Merge branch 'feature/add_asrc_sleep_retention' into 'master'
feat(asrc): Add sleep retention

See merge request espressif/esp-idf!50719
2026-07-20 02:00:19 +00:00
Jiang Jiang Jian a7c44ab4a0 Merge branch 'bugfix/add_en_rst_in_pvt_func_for_p4' into 'master'
fix(pvt): add en reset in pvt func for p4 on master

Closes IDFCI-12684, IDFCI-12696, IDFCI-12692, IDFCI-12694, IDFCI-12698, IDFCI-12724, IDFCI-12799, IDFCI-13041, IDFCI-13044, IDFCI-13043, IDFCI-12364, IDFCI-13073, IDFCI-7257, IDFCI-7261, IDFCI-12470, IDFCI-12471, IDFCI-13088, IDFCI-13042, IDFCI-7258, IDFCI-12693, IDFCI-12697, IDFCI-12695, IDFCI-11510, IDFCI-12465, IDFCI-12582, IDFCI-12474, IDFCI-12473, IDFCI-12463, IDFCI-7248, IDFCI-12469, IDFCI-12583, IDFCI-13098, IDFCI-13100, IDFCI-13099, IDFCI-13097, IDFCI-12363, and IDFCI-13217

See merge request espressif/esp-idf!50466
2026-07-17 16:20:39 +08:00
Jiang Jiang Jian fa194a7cc2 Merge branch 'fix/move_cache_lock_workaround_out_of_ipc_stall' into 'master'
fix(esp_hw_support): disable esp32 livelock workaround before stall another core

Closes PM-814

See merge request espressif/esp-idf!50769
2026-07-17 11:26:06 +08:00
Wan Lei b6d7b42642 Merge branch 'fix/spi_buslock_unregister_issue' into 'master'
fix(hw_support): spi buslock fix unregister dev api issue

Closes SEC-1147

See merge request espressif/esp-idf!50583
2026-07-17 11:16:41 +08:00
cjin b182d69311 fix(phy): added fe set freq reset to rf retention list 2026-07-17 11:04:26 +08:00
cjin 63565f7f02 feat(modem): add phy retention related api 2026-07-17 11:04:26 +08:00
cjin 23239e4d99 feat(phy): add skip list to sleep phy link context and fix deinit crash 2026-07-17 11:04:26 +08:00
cjin 0d8ef62e8f feat(sleep): add config SOC_PM_SUPPORT_REGDMA_TRIGGERED_PHY 2026-07-17 11:04:26 +08:00
cjin 6ec7a718f9 feat(sleep_modem): allow multi modem to enable rf with regdma 2026-07-17 11:04:26 +08:00
cjin 226f11da96 feat(modem): rename the sleep modem functions 2026-07-17 11:04:26 +08:00
cjin 62397932f9 feat(phy): added skip method for phy retention list 2026-07-17 11:04:26 +08:00
cjin d151c1804b feat(phy): rename sleep modem state to sleep phy 2026-07-17 11:04:26 +08:00
Renz Christian Bagaporo faca8f56a3 Merge branch 'feat/cmakev2_ulp_full_subproject' into 'master'
feat(ulp): initial support for building ULP projects as full subprojects under CMake v2

See merge request espressif/esp-idf!50134
2026-07-16 21:00:32 +08:00
Ma Jing Jing 93b5dc8eba feat(asrc): Add sleep retention 2026-07-16 19:56:17 +08:00
Alexey Lapshin 8a17c206c6 Merge branch 'feature/enable_unused-but-set-variable_errors' into 'master'
change: re-enable -Werror=unused-but-set-variable

See merge request espressif/esp-idf!50725
2026-07-16 15:31:20 +04:00
Alexey Lapshin 1791325998 change(ci): enable -Werror=unused-but-set-variable 2026-07-16 10:54:36 +07:00
Jiang Jiang Jian eabb439dc0 Merge branch 'fix/esp32s31-static-cpu-retention' into 'master'
esp32s31: fix build failure when CONFIG_PM_CPU_RETENTION_STATIC is enabled

Closes IDFGH-17896

See merge request espressif/esp-idf!50458
2026-07-16 11:38:44 +08:00
wuzhenghui afbe171f48 fix(esp_hw_support): disable esp32 livelock workaround before stall another core 2026-07-15 16:20:57 +08:00
morris 50bce17e15 Merge branch 'refactor/move_etm_retention_to_driver_layer' into 'master'
refactor(etm): move ETM retention info from HAL to driver layer

See merge request espressif/esp-idf!50669
2026-07-15 12:07:17 +08:00
He Binglin fcf2df659d Merge branch 'feat/esp_idf_h4_cut_m2a_analog_wait' into 'master'
Feat/esp idf h4 cut m2a analog wait

See merge request espressif/esp-idf!49061
2026-07-15 11:44:05 +08:00
He Binglin a82577b080 Merge branch 'feat/esp_idf_h4_support_bus_lowpower' into 'master'
feat(esp_hw_support): support esp32h4 esp32s31 bus hw low power

Closes PM-812

See merge request espressif/esp-idf!50563
2026-07-15 11:31:26 +08:00
Renz Bagaporo 5b67ff37cd ci(ulp): temporarily disable legacy ULP apps for buildv2
Keep legacy ULP apps on the CMake v1 build path while buildv2 coverage
is limited to full_subproject ULP apps.

Also add the missing esp_driver_gpio dependency to the esp_pm test app
so buildv2 dependency checks see driver/rtc_io.h explicitly.
2026-07-15 10:17:52 +09:00
Renz Bagaporo 7d75f85221 feat(ulp): build ULP full subprojects as CMake v2 children 2026-07-15 09:14:35 +09:00
hebinglin 7d6c54996a feat(esp_hw_support): support esp32h4 esp32s31 bus hw low power 2026-07-14 18:14:07 +08:00
hebinglin e71b30c279 feat(esp_hw_support): add analog_wait calibration in sleep flow for h4 2026-07-14 17:13:32 +08:00
morris bedeedafec refactor(etm): move ETM retention info from HAL to driver layer
Move soc_etm_retention_desc_t type definition and soc_etm_retention_info
data from hal component to esp_hw_support component, following the
pattern of other peripheral retention data (e.g. MWDT).

- Create esp_private/etm_retention.h with type and extern declaration
- Create port/<target>/etm_retention.c for each target with retention data
- Remove hal/<target>/etm_periph.c and hal/include/hal/etm_periph.h
- Update esp_etm.c to include the new header
- Update CMakeLists.txt in both components
2026-07-13 15:37:52 +08:00
He Binglin e1b1969b8a Merge branch 'fix/esp_idf_h4h21_ana_wait_short' into 'master'
fix(esp_hw_support): fix xtal unstable when carry 154 and ble cases

See merge request espressif/esp-idf!50249
2026-07-13 11:51:58 +08:00
wuzhenghui 1b842d163e fix(esp_hw_support): update memory pointer checks for SPM support 2026-07-10 14:05:50 +08:00
wanckl 971ba6f765 fix(hw_support): spi buslock fix unregister dev api issue 2026-07-10 11:58:47 +08:00
hebinglin bd61356c03 feat(esp_hw_support): add analog_wait_ctrl_retention in s2m m2s m2a to reduce retention time 2026-07-09 19:43:35 +08:00
Jiang Jiang Jian 74005f29cf Merge branch 'fix/support_two_MAC_only_esp32s31' into 'master'
fix(esp32s31): restrict UNIVERSAL_MAC_ADDRESSES to Two

See merge request espressif/esp-idf!50389
2026-07-09 17:40:40 +08:00
Jiang Jiang Jian 12dd02396b Merge branch 'bugfix/change_pvt_timer_target_param' into 'master'
feat(pvt): change pvt timer target & limit on master

See merge request espressif/esp-idf!50472
2026-07-09 16:53:01 +08:00
hebinglin 4d383a7d8a fix(esp_hw_support): fix xtal unstable when carry 154 and ble cases 2026-07-09 14:29:12 +08:00
C.S.M 3359f647c5 Merge branch 'feat/h21_temperature_sensor' into 'master'
feat(temperature_sensor): Add temperature sensor support for esp32h21

Closes IDF-11624 and IDF-11625

See merge request espressif/esp-idf!50419
2026-07-08 17:02:58 +08:00
JackandCursor 811c64c17c docs(esp_hw_support): fix IEEE 802.15.4 spelling and EUI-64 byte-range notation
Correct "802.154" to "802.15.4" and change the EUI-64 derivation notation
from base_mac[0:3]/base_mac[3:6] to the inclusive base_mac[0:2]/base_mac[3:5]
in the esp32h2/esp32h21/esp32h4 Kconfig.mac help text and the EN/zh_CN
misc_system_api docs.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-08 15:13:52 +08:00
yanzihan@espressif.com 259ecfdbeb feat(pvt): change pvt timer target & limit 2026-07-08 11:15:35 +08:00
Li Shuai f70ea602fe Merge branch 'feat/idfgh-17859' into 'master'
add kconfig option for REGDMA sleep clock ICG

Closes IDFGH-17859

See merge request espressif/esp-idf!50228
2026-07-07 21:50:10 +08:00
wuzhenghui b94c0f8498 feat(esp_hw_support): fix esp32p4 PVT retention link 2026-07-07 21:47:10 +08:00
yanzihan@espressif.com 481804aa0b feat(pvt): add en reset in pvt func for p4 on master 2026-07-07 19:18:36 +08:00
Li Shuai c84d24f3e5 fix(esp_hw_support): fix missing CPU retention register range macros for ESP32S31 2026-07-07 17:33:20 +08:00
C.S.M fff527fbd7 feat(temperature_sensor): Add temperature sensor support for esp32h21 2026-07-07 15:05:39 +08:00
JackandCursor e3bc260178 docs(esp_hw_support): document one-universal-MAC scheme and esp32s31 Four-option constraint
Add help text to the esp32h2/esp32h21/esp32h4 Kconfig.mac explaining
that these chips only consume one universally administered MAC address:
the IEEE 802.154 EUI-64 is derived from the base MAC and MAC_EXT, and
Bluetooth reuses the base MAC as-is (no BT offset, since there is no
Wi-Fi).

Add a matching 1-MAC derivation table and note to misc_system_api.rst
(EN and zh_CN) under a new `.. only:: esp32h2 or esp32h21 or esp32h4`
block, and exclude these targets from the generic 4/2 table.

Add an esp32s31-only note stating that the "Four" option may only be
used with a customer-provided custom base MAC range, since ESP32-S31
only provides two universally administered MAC addresses in eFuse.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-06 19:00:01 +08:00
JackandCursor 431983a091 fix(esp_hw_support): use one universal MAC address for esp32h2/esp32h21/esp32h4
ESP32-H2/H21/H4 only provide a single universally administered MAC
address in eFuse (MAC_FACTORY), so switch their UNIVERSAL_MAC_ADDRESSES
Kconfig from "Two" to "One" to match the hardware allocation.

This is a functional no-op for MAC generation: the BT offset is only
applied when SOC_WIFI_SUPPORTED, and these chips have no Wi-Fi, so
Bluetooth already reuses the base MAC as-is; the IEEE 802.154 EUI-64 is
derived from the base MAC and MAC_EXT regardless. The only change is
the (otherwise unused) ESP_MAC_UNIVERSAL_MAC_ADDRESSES int value going
from 2 to 1.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-06 18:08:27 +08:00