Commit Graph

941 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
a742bd519a feat(bootloader): Support recovery bootloader for ESP32P4/C61 2026-05-13 10:18:15 +03:00
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
Marius Vikhammer
613f8eaaed Merge branch 'feat/esp_hal_sdmmc_v6.0' into 'release/v6.0'
sd: esp_hal_sd component (v6.0)

See merge request espressif/esp-idf!45623
2026-03-20 10:04:21 +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
45ec3b962b fix(spm): rename scp (scratchpad) to spm (scratchpad memory) 2026-03-18 09:49:59 +08:00
armando
1b85ad5081 change(mem): deprecated tcm and added scp memory utils 2026-03-18 09:49:59 +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
C.S.M
a3ca5b610d refactor(jpeg): Split hal layer for jpeg 2026-02-01 10:15:18 +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
Aditya Patwardhan
f6fbbd94df Merge branch 'feat/enable_ecdsa_support_for_esp32p4_eco5_v6.0' into 'release/v6.0'
feat(esp32p4_eco5): enabled ECDSA peripheral support for ESP32P4 ECO5 (v6.0)

See merge request espressif/esp-idf!45350
2026-01-30 07:47:55 +05:30
Jiang Jiang Jian
b28d6715ee Merge branch 'feat/esp32p4_eco5_emac_v6.0' into 'release/v6.0'
Added PTP PPS Feature (v6.0)

See merge request espressif/esp-idf!45060
2026-01-29 14:01:33 +08: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
Ondrej Kosta
b27da510ff feat(esp_eth): added PTP EMAC PPS0 support on ESP32P4v3
feat(esp_eth): added options to configure PTP module

feat(esp_eth): removed all PTP ioctl commands and created API
2026-01-13 12:16:21 +01: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
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
Jiang Jiang Jian
847840150b Merge branch 'refactor/esp_hal_ppa_v6.0' into 'release/v6.0'
refactor(ppa): split PPA HAL into a separate component (v6.0)

See merge request espressif/esp-idf!44343
2025-12-22 10:12:22 +08:00
Jiang Jiang Jian
ff9d18afea Merge branch 'fix/p4_fixed_mdc_config_v6.0' into 'release/v6.0'
fix(esp_eth): fixed ESP32P4 CSR clock range used to determine MDC (v6.0)

See merge request espressif/esp-idf!44224
2025-12-21 15:19:34 +08:00
Chen Jichang
10c473fbbd feat(hal): graudate the RMT hal driver into a new component 2025-12-17 22:31:25 +08:00
Song Ruo Jing
533231a99e refactor(ppa): split PPA HAL into a separate component 2025-12-17 21:36:39 +08:00
morris
c740652f3d Merge branch 'feat/esp_hal_isp_v6.0' into 'release/v6.0'
isp: move isp hal to cam hal (v6.0)

See merge request espressif/esp-idf!44134
2025-12-17 18:52:30 +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
morris
60e129b8fc Merge branch 'fix/awb_subwindow_v6.0' into 'release/v6.0'
fix(isp): Added subwindow configuration for AWB (v6.0)

See merge request espressif/esp-idf!44218
2025-12-17 09:46:42 +08:00
Ondrej Kosta
20a004f141 fix(esp_eth): fixes EMAC MDC out of the range issue
Closes https://github.com/espressif/esp-idf/issues/17984
2025-12-16 14:12:17 +01:00
wanckl
d12f941787 feat(driver_spi): split spi hal component 2025-12-16 20:38:09 +08:00
armando
d65621fef3 feat(hal):graudate the isp hal driver into a new component 2025-12-16 14:24:40 +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
Chen Chen
5f34fdc278 fix(isp): Added subwindow configuration for AWB 2025-12-15 14:42:53 +08:00
morris
36134f6464 Merge branch 'refactor/ppa_dma2d_fourcc_v6.0' into 'release/v6.0'
refactor(ppa): use fourcc for dma2d and ppa color formats (v6.0)

See merge request espressif/esp-idf!44128
2025-12-12 12:23:22 +08:00
Song Ruo Jing
190c081160 refactor(ppa): use fourcc for dma2d and ppa color formats 2025-12-11 15:20:11 +08:00
Song Ruo Jing
d4c34165e8 fix(ppa): fix potential SRM operation stuck on DMA issue
Apply a workaound to bypass macro block order function in PPA SRM
when specific conditions are met to avoid SRM operation getting stuck
2025-12-11 15:18:22 +08:00
Song Ruo Jing
d8fc4eedcc fix(ppa): YUV444 cannot be a PPA SRM output color mode 2025-12-11 15:18:03 +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
9657fde797 feat(hal): graudate the touch sensor hal driver into a new component 2025-12-11 10:26:55 +08:00
laokaiyao
e964c74618 feat(hal): graudate the parlio hal driver into a new component 2025-12-11 10:26:05 +08:00