580 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
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
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
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
hebinglin
0603e0eb23 fix(ulp): record wakeup causes before lp core request sleep 2026-04-22 16:22:11 +08:00
armando
0099a7fff1 fix(cache): fixed preload ascending issue 2026-04-13 13:26:08 +08:00
morris
43bc8c2fe5 feat(etm): add ETM LL and GPIO ETM support on esp32s31
Enable ETM caps and add S31 ETM/GPIO LL and retention support for
GPTimer ETM builds.
2026-04-07 14:47:36 +08:00
armando
4bea0ccb22 fix(cache): fixed cache sys clk not on issue 2026-03-31 15:58:27 +08:00
Armando (Dou Yiwen)
8f4212b24a Merge branch 'feat/cache_preload' into 'master'
cache: preload hal api

Closes IDF-7800

See merge request espressif/esp-idf!46106
2026-03-11 01:06:50 +00: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
armando
a699805d39 feat(cache): support cache preload hal api 2026-03-10 15:03:05 +08:00
Chen Chen
eeb24057c4 refactor(hal): graduate systimer hal driver into esp_hal_systimer 2026-02-06 18:08:57 +08:00
armando
8499ad6ab0 feat(hal):graudate the sdmmc/sdio_slave hal driver into a new component 2026-02-02 09:47:54 +08:00
Jiang Jiang Jian
d97590f73c Merge branch 'fix/fix_i2c_modem_clock_ref_count_mismatch' into 'master'
feat(esp_hw_support): add reference count control & clock enable checking for modem clock devices

Closes PM-592 and PM-595

See merge request espressif/esp-idf!42588
2026-01-27 14:18:53 +08:00
Aditya Patwardhan
5ee7af3afd refactor(hal): Created esp_hal_security for security code 2026-01-21 09:59:46 +05:30
Song Ruo Jing
62511d61e9 refactor(clk): split clock HAL into separate component 2026-01-13 15:50:20 +08:00
Zhang Wen Xu
e54b8e7f23 Merge branch 'feat/split_154_hal_components' into 'master'
feat(ieee802154): separated the 802.15.4 HAL codes from the HAL component

Closes IDF-15096

See merge request espressif/esp-idf!44855
2026-01-09 08:49:26 +00:00
Jiang Jiang Jian
382dbc04ea Merge branch 'bugfix/fix_esp32_phy_init_bb_clock_issue' into 'master'
bugfix(wifi): fix incomplete phy initialization due to absence of bb clocks at...

Closes ESPCS-1007 and ESPCS-997

See merge request espressif/esp-idf!42511
2026-01-08 20:32:04 +08:00
zwx
47af508b7a feat(ieee802154): separated the 802.15.4 HAL codes from the HAL component 2026-01-07 16:41:47 +08:00
wuzhenghui
0d93c29143 feat(esp_hal_rtc_timer): introduce new RTC timer component and refactor existing timer functions 2025-12-30 10:33:34 +08:00
liuning
9dc2dc8d1b feat(phy): add check for required clock bits during phy enable 2025-12-29 16:49:27 +08:00
wuzhenghui
a659753392 fix(esp_hw_support): fix RNG to LP peri domain dependency on C5 2025-12-29 10:49:53 +08:00
Song Ruo Jing
b5aae9a1af Merge branch 'refactor/esp_hal_uart' into 'master'
refactor(uart): split UART HAL into separate component

Closes IDF-14090

See merge request espressif/esp-idf!44197
2025-12-25 18:36:49 +08:00
C.S.M
f0912e8832 Merge branch 'refactor/split_bod_hal' into 'master'
refactor(bod): Move bod hal to pmu hal component

Closes IDF-14104

See merge request espressif/esp-idf!44503
2025-12-25 15:37:54 +08:00
Song Ruo Jing
74aeb3f41f refactor(uart): split UART HAL into separate component 2025-12-25 14:41:28 +08:00
C.S.M
f447fcdf98 refactor(bod): Move bod hal to pmu hal component 2025-12-24 19:23:15 +08:00
morris
1b055b82d7 refactor(hal): remove efuse_hal_get_chip_revision function declaration 2025-12-24 11:51:31 +08:00
wuzhenghui
394df648b1 feat(esp_hw_support): implement CHECK_ENABLE operations for modem clock control functions 2025-12-22 18:21:46 +08:00
wuzhenghui
04ebe9e24f feat(esp_hal_pmu): move pau_hal driver into esp_hal_pmu component 2025-12-22 16:03:52 +08:00
wuzhenghui
20c2dab09c feat(esp_hal_pmu): graduate pmu/rtc_cntl hal driver into a new component: esp_hal_pmu 2025-12-22 16:03:43 +08:00
Kevin (Lao Kaiyao)
3665d0b0f6 Merge branch 'feature/graduate_tsens_hal_component' into 'master'
feat(tsens): graduate temperature sensor hal component

Closes IDF-14906

See merge request espressif/esp-idf!44121
2025-12-18 12:44:41 +08:00
Song Ruo Jing
a3c63f362b Merge branch 'refactor/esp_hal_ledc' into 'master'
refactor(ledc): split ledc hal into a separate component

Closes IDF-14085

See merge request espressif/esp-idf!44204
2025-12-18 11:59:25 +08:00
Erhan Kurubas
bdcfbd3c05 feat(esp32h4): add assist_debug stack monitoring support 2025-12-17 10:11:36 +01:00
Erhan Kurubas
bc289f92d8 refactor(hal): update assist_debug_ll_reset_register() to pass core_id 2025-12-17 10:11:36 +01:00
laokaiyao
3cfd8d6906 feat(tsens): graduate temperature sensor hal component 2025-12-17 16:09:21 +08:00
Song Ruo Jing
67a738d1de refactor(ledc): split ledc hal into a separate component 2025-12-17 15:26:10 +08:00
Mahavir Jain
9adbef7374 Merge branch 'feat/enable_ecdsa_support_for_esp32p4_eco5' into 'master'
feat(esp32p4_eco5): enabled ECDSA peripheral support for ESP32P4 ECO5

Closes IDF-13522, IDF-13744, IDF-12235, and IDF-13523

See merge request espressif/esp-idf!43023
2025-12-16 17:30:45 +05:30
morris
1f04dbb31b Merge branch 'refactor/remove_completed_todos' into 'master'
refactor(global): remove completed todos in the codebase

See merge request espressif/esp-idf!44188
2025-12-16 14:21:25 +08:00
nilesh.kale
2267558b15 feat: enabled ECDSA peripheral support for ESSP32-P4 2025-12-16 11:48:06 +05:30
Chen Chen
3cf86e260c refactor(esp_system): clear dependency on hal components 2025-12-15 22:56:09 +08:00
morris
291554cd09 refactor(global): remove completed todos in the codebase 2025-12-15 22:40:15 +08:00
Wan Lei
d6f02d5c8c Merge branch 'feat/split_esp_hal_spi_component' into 'master'
feat(driver_spi): split spi hal component

Closes IDF-14094

See merge request espressif/esp-idf!43890
2025-12-12 12:06:31 +08:00
wanckl
6449181ce0 feat(driver_spi): split spi hal component 2025-12-11 15:00:18 +08:00
Konstantin Kondrashov
4616a8269f feat(hal): Adds half-word read/write checks for efuse 2025-12-09 16:17:09 +02:00
Mahavir Jain
40ddc35350 Merge branch 'fix/incorrect_esp32p4_key_mgr_xts_aes_len_bit_set' into 'master'
Fix incorrect XTS-AES key length register configuration (ESP32-P4)

Closes IDF-12236

See merge request espressif/esp-idf!43758
2025-12-05 10:49:45 +05:30
harshal.patil
19cddd6739 fix(key_mgr): Correct XTS-AES key length register configuration
The key_mgr_ll_set_xts_aes_key_len() function was incorrectly using
REG_SET_FIELD() with the key_len enum value directly. Since
KEYMNG_FLASH_KEY_LEN is a 1-bit register field (0=128-bit, 1=256-bit),
writing ESP_KEY_MGR_XTS_AES_LEN_128 (value 3) resulted in the LSB (1)
being stored, incorrectly configuring 256-bit mode.

Fixed by using a switch statement to properly map:
- ESP_KEY_MGR_XTS_AES_LEN_128 → REG_CLR_BIT (0)
- ESP_KEY_MGR_XTS_AES_LEN_256 → REG_SET_BIT (1)

Thus, matching the correct ESP32-C5 implementation.
2025-12-04 13:56:00 +05:30
laokaiyao
e39c9781f3 feat(hal): graudate the adc/dac hal driver into a new component 2025-12-04 10:38:24 +08:00
laokaiyao
79d6e573e6 feat(hal): graudate the ana_cmpr hal driver into a new component 2025-12-04 10:34:57 +08:00
Jiang Jiang Jian
c467c91773 Merge branch 'fix/fix_mspi_write_stuck_after_reset' into 'master'
fix(esp_system): fix mspi write stuck after cpu/digital reset on c5/c61

Closes WIFIBUG-1577

See merge request espressif/esp-idf!43731
2025-12-04 10:34:53 +08:00
morris
ab4200e6f6 feat(twai): graduate the hal drivers into esp_hal_twai component 2025-12-01 22:32:54 +08:00