Commit Graph

3500 Commits

Author SHA1 Message Date
Jiang Jiang Jian
9330c1c8b1 Merge branch 'feat/pm_components_ram_optimize_v6.1' into 'release/v6.1'
feat(pm): pm components ram optimize (v6.1)

See merge request espressif/esp-idf!52425
2026-09-04 23:30:35 +08:00
Jiang Jiang Jian
27892e5e12 Merge branch 'fix/tee_reentrant_svc_and_non_det_sign_v6.1' into 'release/v6.1'
feat(esp_tee): Backports to v6.1

See merge request espressif/esp-idf!52291
2026-09-04 23:17:06 +08:00
wuzhenghui
b45e51fc65 change(esp_hw_support): optimize pmu_sleep RAM cost 2026-09-04 18:01:12 +08:00
Jiang Jiang Jian
7b6e1a4ef6 Merge branch 'feat/support_esp32s31_clock_tree_management_v6.1' into 'release/v6.1'
feat: support esp32s31 clock tree management (v6.1)

See merge request espressif/esp-idf!51205
2026-09-04 15:45:46 +08:00
Laukik Hase
79751671ce feat(hal): Add LL-API to check whether RNG is enabled
- Also add RNG LL-APIs for ESP32-C61
2026-09-04 10:20:20 +05:30
gaoxu
0f2f24dca1 fix(rng): fix esp_random failed beacuse do not enable RNG clock 2026-09-03 16:02:59 +08:00
wuzhenghui
5f23a5646e change(hal): rename PLL_F80M to REF_80M for esp32s31 peripherals clock defination 2026-09-02 19:20:14 +08:00
Jiang Jiang Jian
aa98c93718 Merge branch 'feat/optimize_for_esp32h4_light_sleep_ble_current_v6.1' into 'release/v6.1'
Feat/optimize for esp32h4 light sleep ble current (6.1)

See merge request espressif/esp-idf!50789
2026-08-31 11:11:41 +08:00
Mahavir Jain
b0b7cca32c Merge branch 'change/mmu_psram_anti_fi_bootloader_size_v6.1' into 'release/v6.1'
change(hal): exclude PSRAM anti-FI check from bootloader build (v6.1)

See merge request espressif/esp-idf!51608
2026-08-28 11:28:08 +05:30
morris
c78fac7f09 Merge branch 'fix/i2s_tdm_5slot_clock_test_v6.1' into 'release/v6.1'
fix(hal): prevent overflow in fractional clock division (v6.1)

See merge request espressif/esp-idf!51429
2026-08-27 17:58:23 +08:00
Fu Hanxi
7eaf5f1b4e Merge branch 'feat/apply-common-scripts-6.1' into 'release/v6.1'
ci: apply common-scripts CI refactor (v6.1)

See merge request espressif/esp-idf!50988
2026-08-27 10:39:58 +02:00
Marius Vikhammer
d0e5c85c43 Merge branch 'fix/lp_spi_driver_and_tests_v6.1' into 'release/v6.1'
fix(ulp/lp_spi): fix stale data in driver (v6.1)

See merge request espressif/esp-idf!50214
2026-08-27 16:22:08 +08:00
Alexey Gerenkov
8418c3b7de Merge branch 'feat/enable_debug_record_s31_v6.1' into 'release/v6.1'
feat(hal): implement enable_debug/enable_record for ESP32S31 CPU utility (v6.1)

See merge request espressif/esp-idf!50987
2026-08-27 15:52:29 +08:00
Pranav Sonawane
547068b312 change(hal): exclude PSRAM anti-FI check from bootloader and TEE builds
The PSRAM encryption anti-FI check in mmu_ll_write_entry() pulls in
  ESP_FAULT_ASSERT and efuse_hal_chip_revision(), which inflate the
  bootloader image size. The check is not meaningful in the bootloader
  or in the ESP-TEE build, so guard it out for both.

  Applies to esp32c5, esp32c61 and esp32p4.
2026-08-27 13:12:09 +05:30
Fu Hanxi
321dda29ff ci: apply common-scripts CI refactor (v6.1) 2026-08-27 09:14:23 +02:00
Chen Chen
2a7a7c5600 fix(hal): prevent overflow in fractional clock division
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 14:47:02 +08:00
cjin
01876d9755 feat(modem_clock): separate bt sec apb clock and add to bt apb module 2026-08-03 20:29:52 +08:00
cjin
eefe1d8316 feat(modem_clock): added bt_apb module and separete bt_apb from bt_mac module 2026-08-03 20:25:15 +08:00
cjin
b17d81882c feat(modem_clock): separate bt sec apb clock and add to bt apb module 2026-07-30 08:17:26 +08:00
cjin
466097d370 feat(modem_clock): added bt_apb module and separete bt_apb from bt_mac module 2026-07-30 08:17:20 +08:00
Erhan Kurubas
431712be6a feat(hal): implement enable_debug/enable_record for ESP32-S31 CPU utility 2026-07-20 15:59:10 +02:00
Ashish Sharma
2fcdb164a1 fix(esp_tee): enforce MMU-map vaddr validity at the REE->TEE boundary 2026-07-17 18:14:37 +05:30
C.S.M
9adcf8677b feat(psram): Add unencrypted region for psram for esp32s31 2026-07-13 15:01:29 +08:00
Sudeep Mohanty
88c5eb6424 fix(hal): initialize priv_include to prevent scope leakage in cmakev2 2026-07-01 19:59:05 +08:00
Sudeep Mohanty
78d49e8747 fix(ulp/lp_spi): fix driver bugs and add bus deinit API
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-30 15:53:09 +02:00
Jiang Jiang Jian
43b6096600 Merge branch 'bugfix/h4_cache_error_v6.1' into 'release/v6.1'
fix(cache): fixed cache error not getting raised on H4 (v6.1)

See merge request espressif/esp-idf!49219
2026-06-13 23:52:13 +08:00
Song Ruo Jing
c9f52c7ca7 feat(spi_flash): Add exclusive support for ESP32H4
Add 32bit addr support for esp32s31 as well
2026-06-09 15:27:41 +08:00
Marius Vikhammer
876961c1ce fix(cache): fixed cache error not working on H4 2026-06-03 14:21:10 +08: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
Konstantin Kondrashov
7dab1d313e Merge branch 'feature/efuse_esp32h21' into 'master'
feat(efuse): Update efuse table for ESP32H21

Closes IDF-11556

See merge request espressif/esp-idf!48762
2026-05-22 09:39:18 +03:00
Konstantin Kondrashov
f870ed9d61 feat(efuse): Update efuse table for ESP32H21 2026-05-21 16:29:09 +03:00
Laukik Hase
3acb4a3e0c refactor(hal): Refactor and update the ESP32-P4 APM LL/HAL APIs 2026-05-21 12:15:50 +05:30
Mahavir Jain
4811388910 Merge branch 'feat/spiram_enc_exempt' into 'master'
feat(esp_psram): add option to carve unencrypted PSRAM region

Closes IDF-15032

See merge request espressif/esp-idf!48214
2026-05-21 11:36:58 +05:30
Konstantin Kondrashov
d289f24f91 Merge branch 'fix/efuse_sleep_retention_h4' into 'master'
fix(pmu_sleep): Wait eFuse memory update after sleep for ESP32H4

Closes IDF-12323

See merge request espressif/esp-idf!48702
2026-05-20 08:02:10 +03:00
morris
fac826665c Merge branch 'feat/axi_icm_esp32s31' into 'master'
feat(icm): add esp32s31 AXI ICM QoS priority LL APIs

See merge request espressif/esp-idf!48436
2026-05-20 10:10:57 +08:00
Konstantin Kondrashov
b853ad7091 fix(pmu_sleep): Wait eFuse memory update after sleep for ESP32H4 2026-05-19 14:11:34 +03:00
zhuanghang
26df946075 feat(802.15.4): supported 802.15.4 for esp32h21 2026-05-18 15:15:32 +08:00
morris
e58dabe7a7 feat(etm): add modem ETM support on esp32s31
Enable modem ETM capability on esp32s31 and add a dedicated modem_etm LL
implementation with the correct event/task status register mapping.
2026-05-15 11:32:26 +08:00
Mahavir Jain
23aba459f5 feat(esp_psram): add option to carve unencrypted PSRAM region
Adds CONFIG_SPIRAM_ENC_EXEMPT, available on chips that support per-page
PSRAM encryption configuration (esp32c5, esp32c61, esp32p4). When
enabled, esp_psram carves CONFIG_SPIRAM_ENC_EXEMPT_SIZE off the top of
PSRAM and maps it via the new mmu_hal_map_region_no_enc() helper, which
writes MMU entries without the SENSITIVE bit. The region is registered
as a separate heap pool reachable only through the new
MALLOC_CAP_SPIRAM_NO_ENC capability bit, so default SPIRAM allocations
cannot accidentally land there.

PSRAM encryption imposes alignment constraints that some DMA engines
(e.g. 2D-DMA) cannot satisfy. This option lets such workloads place
their buffers in unencrypted PSRAM while keeping the rest of PSRAM
(and flash) encrypted. Default disabled; security implications are
documented in the Kconfig help text.
2026-05-14 19:21:18 +05:30
gaoxu
03c8862a9f feat(adc): support ADC single ended oneshot and continuous mode on ESP32-S31 2026-05-14 16:31:29 +08:00
Gao Xu
69136606ab Merge branch 'feat/s31_rng_basic_support' into 'master'
Feat/s31 rng support

Closes IDF-14632, WIFIBUG-1875, and TZ-2554

See merge request espressif/esp-idf!47217
2026-05-13 17:47:59 +08:00
gaoxu
07aaba7c7b refactor(rng): move rng read data function to rng_ll.h and update docs of RNG source 2026-05-13 15:09:55 +08:00
Konstantin Kondrashov
485ab9aa29 Merge branch 'feature/recovery_bootloader_support' into 'master'
feat(bootloader): Support recovery bootloader for ESP32P4

Closes IDF-15653 and IDF-13165

See merge request espressif/esp-idf!48215
2026-05-12 23:24:40 +03:00
morris
9624058dbe feat(icm): add esp32s31 AXI ICM QoS priority LL APIs
Add ESP32-S31 AXI ICM LL helpers for setting per-master read/write QoS
priority via ICM_SYS, including GMAC and SDMMC masters. Export ICM_SYS
in the S31 register struct header so the LL layer can use the shared
register symbol.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-12 16:12:23 +08:00
gaoxu
3d7a643ff7 feat(rng): trng refactor to ll functions on esp32s31 2026-05-11 09:08:25 +08:00
Marius Vikhammer
2fa1906b0a Merge branch 'feature/s31_lp_mailbox' into 'master'
feat(ulp): enable LP mailbox on S31

Closes IDF-14637

See merge request espressif/esp-idf!48218
2026-05-09 10:58:41 +08:00
Konstantin Kondrashov
e8609f59a8 feat(bootloader): Support recovery bootloader for ESP32S31 and ESP32P4 2026-05-08 16:45:14 +03:00
Marius Vikhammer
6023f07868 feat(ulp): add support for mailbox on S31 2026-05-08 14:06:04 +08:00
wuzhenghui
5c2e3b768e feat(esp_hw_support): support LP_Probe in debug probe driver & sig inversion 2026-05-08 10:21:38 +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