Commit Graph
3152 Commits
Author SHA1 Message Date
Armando (Dou Yiwen) f9579368e4 fix(mpll): fix mpll calibration fail bug 2026-08-12 13:34:59 +08:00
morris 59488d2c96 Merge branch 'bugfix/driver_security_fix_v5.5' into 'release/v5.5'
fix(drivers): harden bitscrambler against malformed inputs (v5.5)

See merge request espressif/esp-idf!51420
2026-08-07 16:00:44 +08:00
morris 3712794bf0 Merge branch 'fix/i2s_tdm_5slot_clock_test_v5.5' into 'release/v5.5'
fix(hal): prevent overflow in fractional clock division (v5.5)

See merge request espressif/esp-idf!51431
2026-08-07 09:59:41 +08:00
morris 4fe8d320bf fix(bitscrambler): reject malformed program headers
Validate BitScrambler program headers against the supported format and
hardware limits before using header-derived instruction and LUT sizes.
Also add regression coverage for malformed headers and document that the
program blob must come from a trusted assembler output.
2026-08-05 15:23:20 +08:00
harshal.patil 67affdd43b fix(hal): Fix MMU PSRAM anti-fi MMU target check
In case of ESP32-C5 and ESP32-C61, mmu_ids for PSRAM and Flash
MMU are the same due to their shared memory space. Thus, instead of
mmu_id we should use mmu_target_t.
2026-08-03 14:29:42 +05:30
Mahavir Jain 27362ab26b fix(security): add anti-FI checks while setting up PSRAM encryption 2026-08-03 14:29:42 +05:30
Chen ChenandCursor b253f7a499 fix(hal): prevent overflow in fractional clock division
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-03 15:16:27 +08:00
gaoxuandCursor 2a02c7e55c feat(isp): support isp dma input and add example
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-28 14:37:45 +08:00
Song Ruo Jing f57f4ffa58 fix(ppa): add checks for input to avoid any OOB access 2026-07-24 15:43:03 +08:00
morris da10308f66 Merge branch 'bugfix/ana_cmpr_macro_v5.5' into 'release/v5.5'
fix(ana_cmpr): Fix swapped POS/NEG cross interrupt masks on ESP32-C5/P4 (v5.5)

See merge request espressif/esp-idf!50800
2026-07-23 23:59:20 +08:00
morris dd8d7946bb Merge branch 'feat/csi_error_event_v5.5' into 'release/v5.5'
Add MIPI-CSI error event (v5.5)

See merge request espressif/esp-idf!50682
2026-07-23 19:43:07 +08:00
morris 8869db20ce Merge branch 'feature/dma2d_ppa_sleep_retention_support_v5.5' into 'release/v5.5'
feat(ppa): add sleep retention support for DMA2D and PPA (v5.5)

See merge request espressif/esp-idf!50354
2026-07-20 10:55:54 +08:00
morris 16ceaa002b Merge branch 'bugfix/dma2d_dequeue_mechanism_v5.5' into 'release/v5.5'
fix(dma2d): add a dequeue mechanism for dma2d driver (v5.5)

See merge request espressif/esp-idf!50515
2026-07-18 15:55:39 +08:00
morris 26654f5a76 Merge branch 'bugfix/uart_sw_flow_ctrl_xoff_char_v5.5' into 'release/v5.5'
fix(uart): fix uart sw flow ctrl XOFF char write to wrong reg on ESP32C6 (v5.5)

See merge request espressif/esp-idf!50525
2026-07-18 15:54:51 +08:00
morris 502fb705a2 Merge branch 'fix/twai_ci_job_pollution_v5.5' into 'release/v5.5'
fix(ci): twai test close board to fixed ci jobs pullotion (v5.5)

See merge request espressif/esp-idf!49921
2026-07-18 15:51:55 +08:00
morris 15558ba694 Merge branch 'fix/twaifd_assert_fail_v5.5' into 'release/v5.5'
fix(driver_twai): fix driver assert fail when send frame (v5.5)

See merge request espressif/esp-idf!49942
2026-07-18 15:46:42 +08:00
Jiang Jiang Jian cc5a3fbcb5 Merge branch 'feat/psram_enc_exempt_v5.5' into 'release/v5.5'
feat(esp_psram): add option to carve unencrypted PSRAM region (v5.5)

See merge request espressif/esp-idf!49931
2026-07-16 17:04:28 +08:00
Tiago Medicci 2df44fa609 fix(ana_cmpr): Fix swapped POS/NEG cross interrupt masks on ESP32-C5/P4/C61
In components/soc/esp32c5/register/soc/gpio_ext_struct.h (ESP32-C5),
components/soc/esp32c61/register/soc/gpio_ext_struct.h (ESP32-C61),
and components/soc/esp32p4/register/hw_ver3/soc/gpio_struct.h
(ESP32-P4), the analog comparator raw/status/enable/clear register
fields are named comp_neg_0_*/comp0_neg_* for bit 0 and
comp_pos_0_*/comp0_pos_* for bit 1, but each field's own comment says
the opposite: bit 0 is documented as "analog comparator pos edge
interrupt raw/status/enable/clear" and bit 1 as the "neg" counterpart.
The LL masks were defined from the field names rather than from this
documented behavior, so ANALOG_CMPR_LL_POS_CROSS_INTR_MASK() ended up
selecting bit 1 and ANALOG_CMPR_LL_NEG_CROSS_INTR_MASK() bit 0.

A new test case, added in the following commit, arms only one cross
direction at a time and checks that a matching transition fires the
callback while the opposite, never-armed direction does not; without
this fix it reproducibly fails on ESP32-C5, ESP32-P4, and ESP32-C61.

Signed-off-by: Tiago Medicci <tiago.medicci@espressif.com>
2026-07-16 11:42:49 +08:00
wanckl 436d44260f feat(driver_twai): fd hardware support time trigger trans 2026-07-15 11:51:34 +08:00
gaoxuandCursor 365cabdc35 feat(csi): add MIPI-CSI host error event
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-13 15:10:16 +08:00
Song Ruo Jing d431d87261 fix(uart): fix uart sw flow ctrl XOFF char write to wrong reg on ESP32C6
Add software flow control test case

Introduced in e6ef4d1791

Closes https://github.com/espressif/esp-idf/issues/18779
2026-07-09 20:32:15 +08:00
Song Ruo Jing 632adbfa6f fix(dma2d): fix non-usable DMA2D_CSC_TX_SCRAMBLE option 2026-07-08 23:14:53 +08:00
Song Ruo Jing 7db8557f0a feat(ppa): add sleep retention support for DMA2D and PPA 2026-07-03 21:54:58 +08:00
wanckl 70b0edb30a feat(driver_twai): support using all 4 hardware tx buffer 2026-06-26 18:35:09 +08:00
wanckl f4cf285425 fix(driver_twai): fixed twaifd slow bitrate trans faile on correct bitrate 2026-06-26 18:35:09 +08:00
morrisandCursor 52e73f3cd5 fix(sdio_slave): align buffer size checks with descriptor limits
Define per-target SDIO slave descriptor buffer limits in the LL layer and validate queued send buffers against the 4-byte aligned effective maximum. Update the public docs to describe the chip-dependent limit instead of hardcoding 4092 bytes.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-25 11:39:41 +08:00
Mahavir Jain 0044542811 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-06-23 14:56:38 +05:30
Jiang Jiang Jian 9098c60919 Merge branch 'bugfix/fix_some_wifi_bugs_260617_v5.5' into 'release/v5.5'
fix(wifi): fix some wifi bugs 260617 backport v5.5

See merge request espressif/esp-idf!49777
2026-06-22 20:38:53 +08:00
morris 41fed73659 Merge branch 'change/update_c61_gdma_header_v5.5' into 'release/v5.5'
change(ahb_dma): update c61 eco3 header files (v5.5)

See merge request espressif/esp-idf!49837
2026-06-22 18:04:05 +08:00
Jiang Jiang Jian bfb6b4a2b2 Merge branch 'feature/psram_halfsleep_mode_support_v5.5' into 'release/v5.5'
feat(psram): allow PSRAM to enter halfsleep mode during light sleep (v5.5)

See merge request espressif/esp-idf!49760
2026-06-22 12:25:04 +08:00
Chen Jichang 1096a381a9 change(ahb_dma): update c61 eco3 header files 2026-06-22 11:15:25 +08:00
sibeibei d4166e94d8 fix(wifi): fix modem sleep flag clear failed 2026-06-18 18:09:56 +08:00
wuzhenghui ddddb4d25c feat(esp_psram): wakeup PSRAM by CE# force control instead of dummy write 2026-06-18 16:06:00 +08:00
Song Ruo Jing 6079c74f99 feat(psram): allow PSRAM to enter halfsleep mode during light sleep 2026-06-18 16:05:49 +08:00
morris 5d7894cd8c Merge branch 'fix/uart_is_enable_check_error_on_s3_v5.5' into 'release/v5.5'
Fix ESP32-S3 uart2 is_enabled check error (v5.5)

See merge request espressif/esp-idf!49349
2026-06-18 10:29:30 +08:00
Jiang Jiang Jian ad91c6ed0f Merge branch 'feat/support_usb_wakeup_v5.5' into 'release/v5.5'
feat: support usb as wakeup source from light sleep (v5.5)

See merge request espressif/esp-idf!49511
2026-06-17 19:50:18 +08:00
gaoxu c99a3d7b82 fix(uart): fix ESP32-S3 uart2 is_ enabled check error
(Closes https://github.com/espressif/esp-idf/issues/18690)
2026-06-17 18:07:47 +08:00
morris 1ee7120c88 Merge branch 'bugfix/ppa_blend_yuv_hang_v5.5' into 'release/v5.5'
fix(ppa): fix hang if blend operation on a YUV format input background image (v5.5)

See merge request espressif/esp-idf!49736
2026-06-17 15:03:41 +08:00
Jiang Jiang Jian 2ed7f48d3d Merge branch 'fix/ecdsa_ecc_hw_input_validation_v5.5' into 'release/v5.5'
Validate ECDSA signature range and harden ECC memory power-down (v5.5)

See merge request espressif/esp-idf!49431
2026-06-17 11:59:02 +08:00
Jiang Jiang Jian 587bbfb58d Merge branch 'fix/remove_nonexistent_crypto_registers_c61_v5.5' into 'release/v5.5'
Remove non-existent crypto registers (ESP32-C61) (v5.5)

See merge request espressif/esp-idf!49451
2026-06-17 11:58:43 +08:00
Song Ruo Jing e6b556fc6d fix(ppa): fix hang if blend operation on a YUV format input background image
Closes https://github.com/espressif/esp-idf/issues/18687
2026-06-16 19:32:56 +08:00
harshal.patil 1a36a6409b fix(secure_boot): range-check ECDSA r,s in bootloader before ROM verify 2026-06-12 16:54:33 +05:30
harshal.patil 9514a0fd2f fix(esp_common): Add esp_fault_internal.h for use by G0 components
In release/v5.x, esp_fault.h resides in the esp_hw_support (G1)
component, so the G0 components (hal, esp_rom) must not depend on it.
Copy its contents to esp_common as esp_fault_internal.h, keep
esp_fault.h as a compatibility wrapper around it, and switch the hal
and esp_rom ECDSA/ECC code to the internal header.
2026-06-12 16:54:33 +05:30
harshal.patil 8a934fa932 test(mbedtls): Add out-of-bounds test for the ECDSA hardware driver 2026-06-12 16:54:33 +05:30
harshal.patilandAshish Sharma 483c51b3c8 fix(mbedtls): validate ECDSA signature range and harden ECC memory power-down
Co-Authored-By: Ashish Sharma <ashish.sharma@espressif.com>
2026-06-12 16:54:33 +05:30
morris a4ea351ef1 Merge branch 'fix/adc_monitor_error_on_ch8_9_on_s3_v5.5' into 'release/v5.5'
Fix ADC Continuous Monitor Callback Failure for ADC1 Channels 8/9 on ESP32-S3 (v5.5)

See merge request espressif/esp-idf!49506
2026-06-12 10:25:20 +08:00
morris 3fed4b029e Merge branch 'fix/fix_rgb_gdma_link_switch_v5.5' into 'release/v5.5'
fix(rgb_lcd): fix gdma link switch not take effect (v5.5)

See merge request espressif/esp-idf!49546
2026-06-11 17:41:10 +08:00
morris e2face00fa Merge branch 'fix/fix_parlio_valid_delay_max_value_v5.5' into 'release/v5.5'
fix(parlio): fix max valid delay value (v5.5)

See merge request espressif/esp-idf!49392
2026-06-11 14:08:53 +08:00
Chen Jichang 090a719e89 fix(rgb_lcd): fix gdma link switch not take effect 2026-06-11 10:35:39 +08:00
JiangGuangMingandCursor 33f65d3ff2 feat(esp_hal_usb): add usb suspend wakeup status in ll layer
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-11 09:05:40 +08:00