Commit Graph
570 Commits
Author SHA1 Message Date
Pranav Sonawane 18f69206f3 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-07 10:30:13 +05:30
Jiang Jiang Jian af3cf03943 Merge branch 'bugfix/esp_idf_ulp_wakeupcauses_record_v6.0' into 'release/v6.0'
fix(ulp): record wakeup causes before lp core request sleep v6.0

See merge request espressif/esp-idf!49142
2026-06-30 16:48:50 +08:00
hebinglin a764b5f222 fix(ulp): record wakeup causes before lp core request sleep 2026-06-29 16:25:56 +08:00
Mahavir Jain e7cd4a1500 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-21 20:54:30 +05:30
Konstantin Kondrashov e34be7afd5 feat(hal): Adds half-word read/write checks for efuse 2026-03-25 10:31:10 +08:00
morris 7828edd986 Merge branch 'refactor/split_bod_hal_v6.0' into 'release/v6.0'
refactor(bod): Move bod hal to pmu hal component (backport v6.0)

See merge request espressif/esp-idf!46411
2026-03-23 11:02:07 +08:00
Jiang Jiang Jian 81daeadf9f Merge branch 'esp32h4_debug_asistant_v6.0' into 'release/v6.0'
feat(esp32h4): add assist_debug/bus_monitor support (v6.0)

See merge request espressif/esp-idf!45949
2026-03-23 10:38:51 +08:00
C.S.M 39ea6efc7c refactor(bod): Move bod hal to pmu hal component 2026-03-20 15:09:38 +08:00
Erhan Kurubas 4a7d67df84 feat(esp32h4): add assist_debug stack monitoring support 2026-03-19 11:40:44 +08:00
Erhan Kurubas 18a583e517 refactor(hal): update assist_debug_ll_reset_register() to pass core_id 2026-03-19 11:40:44 +08:00
armando fe5b8358f3 feat(hal):graudate the sdmmc/sdio_slave hal driver into a new component 2026-02-04 19:00:57 +08:00
Jiang Jiang Jian 25fad8e13f Merge branch 'feat/split_154_hal_components_v6.0' into 'release/v6.0'
feat(ieee802154): separated the 802.15.4 HAL codes from the HAL component (v6.0)

See merge request espressif/esp-idf!44966
2026-02-02 19:07:06 +08:00
Jiang Jiang Jian afa266ebd6 Merge branch 'fix/fix_i2c_modem_clock_ref_count_mismatch_v6.0' into 'release/v6.0'
feat(esp_hw_support): add reference count control & clock enable checking for modem clock devices (v6.0)

See merge request espressif/esp-idf!45533
2026-02-01 11:54:27 +08:00
Song Ruo Jing 89da3742b8 refactor(clk): split clock HAL into separate component 2026-01-31 22:32:37 +08:00
wuzhenghui 12b9fb6549 feat(esp_hal_rtc_timer): introduce new RTC timer component and refactor existing timer functions 2026-01-31 22:29:20 +08:00
Aditya Patwardhan 6c2716cd27 refactor(hal): Created esp_hal_security for security code 2026-01-30 17:12:49 +05:30
morris aa4034b197 Merge branch 'feature/graduate_tsens_hal_component_v6.0' into 'release/v6.0'
feat(tsens): graduate temperature sensor hal component (v6.0)

See merge request espressif/esp-idf!44357
2026-01-30 18:43:06 +08:00
wuzhenghui 8e67e95815 feat(esp_hw_support): implement CHECK_ENABLE operations for modem clock control functions 2026-01-30 15:30:34 +08:00
zwx eed0b0e5ae feat(ieee802154): separated the 802.15.4 HAL codes from the HAL component 2026-01-30 06:15:26 +00:00
nilesh.kale 2ab4d5cf48 feat: enabled ECDSA peripheral support for ESSP32-P4 2026-01-29 11:24:47 +05:30
laokaiyao 2cb958a9e3 feat(tsens): graduate temperature sensor hal component 2026-01-29 10:05:47 +08:00
Jiang Jiang Jian 2359d58fbf Merge branch 'refactor/independent_esp_hal_pmu_v6.0' into 'release/v6.0'
feat(hal): graduate pmu/rtc_cntl hal driver into a new component: esp_hal_pmu (v6.0)

See merge request espressif/esp-idf!44954
2026-01-28 19:02:36 +08:00
Jiang Jiang Jian 791998edb3 Merge branch 'fix/fix_c5_rng_to_lp_peri_dependency_v6.0' into 'release/v6.0'
fix(esp_hw_support): fix RNG to LP peri domain dependency on C5  (v6.0)

See merge request espressif/esp-idf!44952
2026-01-12 20:48:33 +08:00
wuzhenghui af70253507 feat(esp_hal_pmu): move pau_hal driver into esp_hal_pmu component 2026-01-12 14:48:52 +08:00
wuzhenghui de5e57d296 feat(esp_hal_pmu): graduate pmu/rtc_cntl hal driver into a new component: esp_hal_pmu 2026-01-12 14:48:49 +08:00
liuning 675a977ac8 feat(phy): add check for required clock bits during phy enable 2026-01-09 16:53:20 +08:00
wuzhenghui 0ea4a22ce9 fix(esp_hw_support): fix RNG to LP peri domain dependency on C5 2026-01-09 11:17:15 +08:00
Song Ruo Jing ce475d901d refactor(uart): split UART HAL into separate component 2026-01-04 16:02:57 +08:00
Song Ruo Jing 6ca90bd14a refactor(ledc): split ledc hal into a separate component 2025-12-25 17:23:27 +08:00
Chen Jichang 10c473fbbd feat(hal): graudate the RMT hal driver into a new component 2025-12-17 22:31:25 +08:00
morris 311bec8f82 Merge branch 'fix/spi_edma_and_hal_component_6.0' into 'release/v6.0'
feat(driver_spi): split esp_hal_gpspi and support master driver edma (v6.0)

See merge request espressif/esp-idf!44222
2025-12-17 14:54:05 +08:00
wanckl d12f941787 feat(driver_spi): split spi hal component 2025-12-16 20:38:09 +08:00
Chen Chen 1b015d22eb refactor(esp_system): clear dependency on hal components 2025-12-16 09:11:59 +08:00
Wan Lei 4adf8aecce feat(spi_master): support dma transfer with psram directly 2025-12-15 15:59:04 +08:00
morris 946dcf73e3 Merge branch 'feature/graduate_i2s_parlio_analog_hal_components_v6.0' into 'release/v6.0'
Feature/graduate i2s parlio analog hal components v6.0

See merge request espressif/esp-idf!44043
2025-12-11 16:58:37 +08:00
Jiang Jiang Jian 3df1ee13fb Merge branch 'fix/fix_mspi_write_stuck_after_reset_v6.0' into 'release/v6.0'
fix(esp_system): fix mspi write stuck after cpu/digital reset on c5/c61 (v6.0)

See merge request espressif/esp-idf!43994
2025-12-11 13:59:25 +08:00
laokaiyao 841cb4caa1 feat(hal): graudate the adc/dac hal driver into a new component 2025-12-11 10:27:00 +08:00
laokaiyao 55537c99db feat(hal): graudate the ana_cmpr hal driver into a new component 2025-12-11 10:27:00 +08:00
laokaiyao e964c74618 feat(hal): graudate the parlio hal driver into a new component 2025-12-11 10:26:05 +08:00
laokaiyao fd918efe43 feat(hal): graudate the I2S hal driver into a new component 2025-12-11 10:25:40 +08:00
morris 37c614d626 feat(twai): graduate the hal drivers into esp_hal_twai component 2025-12-10 13:56:47 +08:00
wuzhenghui 01ec965252 fix(esp_system): fix mspi write stuck after cpu/digital reset on c5/c61 2025-12-10 12:21:55 +08:00
Song Ruo Jing 62899cbba6 refactor(gpio): split GPIO HAL into separate component
cleaned up some includes in GPIO peripheral files
2025-12-08 14:33:26 +08:00
morris c231e0e777 Merge branch 'refactor/bitscrambler_in_esp_hal_dma_v6.0' into 'release/v6.0'
refactor(hal): bitscrambler hal -> esp_hal_dma, usj hal -> esp_hal_usb (v6.0)

See merge request espressif/esp-idf!43700
2025-12-08 11:15:27 +08:00
morris 0e6525a97c Merge branch 'bugfix/uart_related_backports_v6.0' into 'release/v6.0'
fix(uart): some related uart backports (v6.0)

See merge request espressif/esp-idf!43612
2025-12-02 17:40:25 +08:00
Mahavir Jain e1639e281f Merge branch 'fix/incorrect_esp32p4_key_mgr_xts_aes_len_bit_set_v6.0' into 'release/v6.0'
Fix incorrect XTS-AES key length register configuration (ESP32-P4) (v6.0)

See merge request espressif/esp-idf!43759
2025-12-01 09:18:28 +05:30
morris 3c55daa786 refactor(hal_usb): move USB Serial JTAG HAL from hal component 2025-11-27 16:14:32 +08:00
morris 69a76c5170 refactor(hal_dma): move bitscrambler from hal component
because bitscrambler can't live without DMA, it's highly binded with the
GDMA peripheral.
2025-11-27 16:06:52 +08:00
morris 28999c8162 Merge branch 'fix/handle_shared_intr_v6.0' into 'release/v6.0'
Fix/handle shared intr (v6.0)

See merge request espressif/esp-idf!43504
2025-11-27 11:43:51 +08:00
Song Ruo Jing 490f21c643 fix(gpio): oe control by register only take effect when func sel is GPIO 2025-11-27 11:08:48 +08:00