Commit Graph

4464 Commits

Author SHA1 Message Date
Michael (XIAO Xufeng)
ea634fc1e9 Merge branch 'fix/fix_mpll_init_flow' into 'master'
mpll: improved mpll init flow

See merge request espressif/esp-idf!51658
2026-08-11 21:43:44 +08:00
Erhan Kurubas
114807c981 feat(riscv_trace): add trace support for ESP32-H21 2026-08-11 13:06:45 +02:00
Erhan Kurubas
cde1da8fe6 feat(riscv_trace): add trace support for ESP32-H4 2026-08-11 13:06:45 +02:00
Erhan Kurubas
64d913f86b feat(riscv_trace): add trace support for ESP32-C61 2026-08-11 13:06:45 +02:00
Armando (Dou Yiwen)
81acd9c18f fix(mpll): fix mpll calibration fail bug 2026-08-11 17:57:55 +08:00
Erhan Kurubas
cd89c2b22b feat(riscv_trace): add trace support for ESP32-H2 2026-08-07 14:44:03 +02:00
Erhan Kurubas
5e9000329a feat(riscv_trace): add trace support for ESP32-C6 2026-08-07 14:44:03 +02:00
Erhan Kurubas
91534a8488 fix(soc): correct mem_start_addr typo in H2/H21 trace header 2026-08-07 14:44:03 +02:00
Erhan Kurubas
57ccd12f17 Merge branch 'esp32c5_trace_encoder' into 'master'
feat(esp_riscv_trace): add ESP32-C5 support

See merge request espressif/esp-idf!51384
2026-08-07 13:45:10 +02:00
Gao Xu
c7a146ea24 Merge branch 'fix/update_trng_workflow_for_esp32s31' into 'master'
fix(rng): update TRNG bringup for esp32s31 runtime use

See merge request espressif/esp-idf!48579
2026-08-07 11:32:46 +08:00
Erhan Kurubas
1a59c3e769 feat(esp_riscv_trace): add ESP32-C5 support 2026-08-06 17:13:04 +02:00
Erhan Kurubas
3dfd8f0154 feat(esp_riscv_trace): add ESP32-S31 support
ESP32-S31 uses the same trace encoder IP as ESP32-P4. Of the E-Trace v2.0
parameters the two targets report, only privilege_width_p differs (1 on P4,
2 on S31), and it affects both the sync packet layout and the filter's
privilege selector.

- Add the SOC_RISCV_TRACE_* caps for ESP32-S31 along with the esp32s31 LL, and
  declare TRACE0/TRACE1 in the target's trace_struct.h.
- Carry privilege_width_p as SOC_RISCV_TRACE_PRIV_WIDTH so the sync packet
  decoder can locate the address field, which starts one bit later on targets
  that implement supervisor mode.
- Use the RISC-V architectural privilege encoding (0 user, 1 supervisor,
  3 machine) in the public filter enum so the values do not change per target,
  and let each LL narrow them to its own register field.
- Add riscv_trace_ll_priv_is_supported() per target, so a privilege level the
  selector cannot represent is rejected with ESP_ERR_NOT_SUPPORTED rather than
  being silently narrowed to a different level. It lives next to the narrowing
  code so the two cannot drift apart.
- Fix trace buffer allocation on targets whose internal RAM is not reached
  through a cache. esp_cache_get_alignment() reports 0 there, which underflowed
  the size check and failed every allocation. Align base and size to the larger
  of the reported cache line and the encoder's 4-byte write granularity.
2026-08-06 13:08:26 +08:00
gaoxu
5a2658edb4 fix(rng): fix esp_random failed beacuse do not enable RNG clock 2026-08-05 14:43:24 +08:00
Gao Xu
db9e5b4d31 Merge branch 'feat/rng_support_h21' into 'master'
H21 RNG support

Closes IDF-11503

See merge request espressif/esp-idf!50061
2026-08-05 14:15:43 +08:00
He Binglin
dce537e00e Merge branch 'feat/esp_idf_h4_retention_clk_icg' into 'master'
feat(esp_hw_support): refactor PMU sleep icg and support retention ICG

See merge request espressif/esp-idf!48915
2026-07-31 10:35:19 +08:00
Renz Christian Bagaporo
7054ec851c Merge branch 'feat/cmakev2_ulp_legacy_shim' into 'master'
feat(ulp): build all legacy ULP projects through CMakev2

See merge request espressif/esp-idf!50143
2026-07-31 07:10:43 +08:00
morris
9c068fe2d9 Merge branch 'feature/add_mcpwm_rc_fast_clk_source' into 'master'
feat(mcpwm): support RC_FAST group clock source

Closes IDF-8048

See merge request espressif/esp-idf!51149
2026-07-29 23:05:19 +08:00
Steven Yang
8a982614a2 feat(mcpwm): support RC_FAST group clock source
Expose RC_FAST as a shared MCPWM group clock source for timers,
capture timers, and carriers on ESP32-C5, ESP32-C6, ESP32-H2,
and ESP32-P4. Fix the ESP32-S31 MCPWM clock selector mapping.

Add a hardware runtime test that verifies MCPWM Timer counting
resolution for every supported clock source.
2026-07-29 20:20:47 +08:00
Wang Meng Yang
5203199852 Merge branch 'docs/update_coexist_docs' into 'master'
docs(coex): enable coexist docs for c61 h21 h4 s31

See merge request espressif/esp-idf!51105
2026-07-29 20:14:35 +08:00
hebinglin
57daf0a8f7 feat(esp_hw_support): add backup clk icg support 2026-07-29 17:09:34 +08:00
hebinglin
a4889bd73d change(esp_hw_support): refactor pmu/esp_sleep param struct 2026-07-29 15:23:09 +08:00
Alexey Lapshin
62ef4a6166 feat(soc): esp32s31 enable zc* extension 2026-07-29 14:19:38 +08:00
Renz Bagaporo
1f5cba3070 fix(ulp): clarify buildv2 child marker
Rename the internal ULP child-build marker to __ULP_BUILDV2 so component CMake files make the build-system scope explicit.

Document that the marker is currently set only by the IDF_BUILD_V2 ULP child path.
2026-07-29 13:08:23 +09:00
Erhan Kurubas
11e6799f80 Merge branch 'stub_bins_for_more_targets' into 'master'
Increase OCD stub memory reservation from 8K to 12K and extend this feature to more targets

See merge request espressif/esp-idf!51231
2026-07-28 16:58:05 +02:00
Jiang Jiang Jian
8e7e031230 Merge branch 'feat/support_active_tickless_idle' into 'master'
feat(esp_pm): support freertos tickless IDLE with auto lightsleep disabled

Closes PM-799

See merge request espressif/esp-idf!49817
2026-07-28 17:04:50 +08:00
Erhan Kurubas
e21ab7e724 feat(system): add OCD stub bin support for more targets
Add SOC_DEBUG_HAVE_OCD_STUB_BINS for esp32c5, esp32c61, esp32h4,
esp32h21, esp32p4, and esp32s31. Update TEE linker scripts with
correct esp_tee_app_config offsets for the 0x3000 stub reservation
2026-07-28 08:34:02 +03:00
morris
74d9e99d91 refactor(lcdcam): move shared core clock setup to drivers
Configure the shared LCDCAM core clock through guarded LCD and CAM LL APIs,
and unify LCD functional clock LL calls around group IDs across supported targets.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-27 18:40:04 +08:00
Wu Zheng Hui
aac7f7ea47 Merge branch 'feat/support_esp32s31_clock_tree_management' into 'master'
feat: support esp32s31 clock tree management

Closes PM-630

See merge request espressif/esp-idf!48934
2026-07-24 20:11:45 +08:00
linruihao
52c9ff43f7 docs(coex): enable coexist docs for c61 h21 h4 s31 2026-07-23 17:18:07 +08:00
harshal.patil
a7b29bfda9 change(security): disable Key Manager support on ESP32-C5/P4/S31
The Key Manager hardware peripheral in its current form needs further
design changes before it can be offered as a production feature.
Until a revised peripheral design is available, withdraw ESP-IDF
support for it on all Key Manager capable targets.
2026-07-22 19:58:23 +05:30
wuzhenghui
c7de92feda change(hal): rename PLL_F80M to REF_80M for esp32s31 peripherals clock defination 2026-07-22 16:32:13 +08:00
wuzhenghui
11ccd4c304 feat(esp_hw_support): support esp32s31 clock tree management 2026-07-22 16:32:12 +08:00
wuzhenghui
0aa75e183b feat(esp_pm): add tickless idle support in WAITI mode to reduce power consumption 2026-07-22 12:55:53 +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
gaoxu
d31a63d246 feat(rng): refactor rng bootloader to rng ll API 2026-07-20 17:15:26 +08:00
Island
e309933c07 Merge branch 'feat/optimize_for_esp32h4_light_sleep_ble_current' into 'master'
Feat/optimize for esp32h4 light sleep ble current

Closes BLERP-2958, BLERP-2959, BLERP-2960, and BLERP-2961

See merge request espressif/esp-idf!50415
2026-07-20 16:42:13 +08:00
Erhan Kurubas
44bc2ac703 Merge branch 'esp_riscv_trace' into 'master'
RISC-V Trace Encoder

See merge request espressif/esp-idf!49821
2026-07-20 09:15:17 +02: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
Erhan Kurubas
2c11810ad9 feat(esp_riscv_trace): add riscv trace encoder driver with hal/ll layer 2026-07-17 12:42:13 +02:00
cjin
b182d69311 fix(phy): added fe set freq reset to rf retention list 2026-07-17 11:04:26 +08:00
cjin
09270fd938 feat(phy): support retention module for phy FE retgisters 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
0d8ef62e8f feat(sleep): add config SOC_PM_SUPPORT_REGDMA_TRIGGERED_PHY 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
2eb2caa8ad feat(soc): enable zb* extensions for esp32s31 2026-07-15 17:39:15 +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
7d75f85221 feat(ulp): build ULP full subprojects as CMake v2 children 2026-07-15 09:14:35 +09:00