Commit Graph

3097 Commits

Author SHA1 Message Date
morris
6a3dab1b4b Merge branch 'fix/fix_mipi_lcd_dirty_buffer_v5.5' into 'release/v5.5'
feat(lcd): support buffer switch interrupt (v5.5)

See merge request espressif/esp-idf!49102
2026-06-03 18:43:36 +08:00
Chen Jichang
e1d48975fb feat(lcd): support buffer switch interrupt 2026-06-02 19:35:19 +08:00
hebinglin
c0f21a426d fix(esp_hw_support): fix LP core exception interrupt not being cleared 2026-06-02 17:01:24 +08:00
hebinglin
4a42a8847b fix(ulp): record wakeup causes before lp core request sleep 2026-06-01 21:11:48 +08:00
Aditya Patwardhan
9234e95e20 Merge branch 'feat/generic_key_mgr_key_types_v5.5' into 'release/v5.5'
Store key_len field in the key_config (v5.5)

See merge request espressif/esp-idf!48145
2026-05-28 10:42:25 +05:30
morris
dd244bf035 Merge branch 'idfgh-17542_v5.5' into 'release/v5.5'
hal/twai: honor prop_seg in legacy timing config (v5.5)

See merge request espressif/esp-idf!48187
2026-05-28 11:21:05 +08:00
morris
2c99af12a0 Merge branch 'bugfix/isp_gamma_xcoord_error_v5.5' into 'release/v5.5'
fix(isp): disable gamma xcoord error check (v5.5)

See merge request espressif/esp-idf!48286
2026-05-26 13:54:10 +08:00
morris
2e06562399 Merge branch 'bugfix/rtc_gpio_deinit_for_deep_slp_v5.5' into 'release/v5.5'
refactor(rtcio): split rtcio/gpio switch with rtc iomux func sel func (v5.5)

See merge request espressif/esp-idf!48295
2026-05-26 13:53:41 +08:00
Song Ruo Jing
58d883a99d fix(uart): lp uart rx iomux pin was not working as expected
Introduced in 8818157e42
The workaround in the commit routes the signal to LP GPIO matrix first.
When uses LP IOMUX pin as UART RX, the signal did not bypass the matrix,
which caused the issue.

This commit adds rtc_gpio_iomux_input and rtc_gpio_iomux_output APIs
to align with existing GPIO driver APIs.
2026-05-22 15:36:00 +08:00
Song Ruo Jing
5b7db25db1 refactor(rtcio): split rtcio/gpio switch with rtc iomux func sel func
This allows rtc_gpio_deinit to always switch the pad back to GPIO,
regardless of lp io clock enabled or not, so that gpio_config can
always switch the IO back to GPIO use after wakeup from deep sleep.
2026-05-22 15:35:21 +08:00
Song Ruo Jing
df34ee76af fix(isp): disable gamma xcoord error check 2026-05-22 15:31:17 +08:00
wanckl
66de12a042 fix(driver_twai): fixed fd data bitrate error on slow bitrate 2026-05-22 14:38:41 +08:00
diplfranzhoepfinger
7daf14f995 Adjust bus timing configuration in TWAI HAL 2026-05-22 14:38:41 +08:00
Mahavir Jain
6a32889849 Merge branch 'feature/recovery_bootloader_support_v5.5' into 'release/v5.5'
feat(bootloader): Support recovery bootloader for ESP32P4 (v5.5)

See merge request espressif/esp-idf!48474
2026-05-19 12:35:57 +05:30
harshal.patil
fe0bac38a9 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.
2026-05-15 00:13:34 +05:30
harshal.patil
8b2e942e4e change(esp_key_mgr): Store key_len field in the key_info
- Update the Key Manager key types to be generic
- Define a new enum to determine the length of the keys
- Refactor the Key Manager driver support generic key types and key lengths
- Also store key deployment mode in the key recovery info
2026-05-15 00:13:34 +05:30
harshal.patil
6e4dac831d fix(hal): Force HUK power up when configuring HUK for ESP32-C5 2026-05-15 00:13:34 +05:30
harshal.patil
acd9cf6271 fix(esp_security/esp_key_mgr): Fix missed error codes and some cleanup 2026-05-15 00:13:30 +05:30
Konstantin Kondrashov
ce467787a9 feat(bootloader): Support recovery bootloader for ESP32P4/C61 2026-05-13 10:28:58 +03:00
Chen Jichang
fcfc5ce282 change(parlio_tx): use shift edge instead sample edge
Made-with: Cursor
2026-05-13 11:42:00 +08:00
Jiang Jiang Jian
1a82a170a0 Merge branch 'fix/efuse_regs_store_operations_v5.5' into 'release/v5.5'
feat(hal): Adds half-word read/write checks for efuse (v5.5)

See merge request espressif/esp-idf!45342
2026-05-06 10:28:13 +08:00
Alexey Gerenkov
715a2de06b Merge branch 'fix/cxx_noreturn_issue_v5.5' into 'release/v5.5'
fix(libc): picolibc: workaround wrong pthread_exit declaration for c++ (v5.5)

See merge request espressif/esp-idf!48089
2026-05-05 18:52:58 +08:00
Mahavir Jain
d183c3d4a6 Merge branch 'fix/supported_key_mgr_key_types_check_v5.5' into 'release/v5.5'
fix(esp_security): guard key manager APIs against unsupported chip revs (v5.5)

See merge request espressif/esp-idf!48010
2026-05-04 10:38:32 +05:30
Konstantin Kondrashov
1c94a566cb feat(hal): Adds half-word read/write checks for efuse 2026-05-01 12:21:23 +03:00
Alexey Lapshin
709656d8a1 fix(libc): picolibc: workaround wrong pthread_exit declaration for c++ 2026-04-29 18:36:07 +07:00
gaoxu
696e42b502 fix(adc): fix ESP32-H2/C5/C61 clock divide error 2026-04-29 12:01:37 +08:00
harshal.patil
beaa37a2e6 fix(esp_security): guard key manager APIs against unsupported chip revs
On ESP32-P4 rev < 3.0, Key Manager is software-disabled, but the public
esp_key_mgr.h APIs had no runtime check.
Calls using HMAC/DS/PSRAM key types fell through to
HAL_ASSERT("Unsupported ...") paths in key_mgr_ll.h. Gate
each public API with key_mgr_ll_is_supported() and return
ESP_ERR_NOT_SUPPORTED cleanly instead.
2026-04-28 15:02:40 +05:30
harshal.patil
8f9b860131 fix(esp_security): Fixes incorrect key manager configuration for ESP32-P4 rev < 3 2026-04-28 14:55:51 +05:30
Ashish Sharma
c2cccd0b56 fix(esp_hal_security): fixes failing hmac_hal_configure with efuse_key for p4 rev < 3
Closes https://github.com/espressif/esp-idf/issues/18370
2026-04-28 14:51:39 +05:30
Jiang Jiang Jian
7e61b7d980 Merge branch 'refactor/spi_flash_private_v5.5' into 'release/v5.5'
fix(spi_flash): fixed overboundary check skipping of erase and write_encrypted (v5.5)

See merge request espressif/esp-idf!45657
2026-04-28 11:08:43 +08:00
morris
3020cc6a02 Merge branch 'fix/isp_clk_error_v5.5' into 'release/v5.5'
Fix ISP clk source error and hal init error (v5.5)

See merge request espressif/esp-idf!47324
2026-04-24 15:01:48 +08:00
morris
45e1d7fc5e Merge branch 'bugfix/fix_temp_sensor_affect_by_adc_v5.5' into 'release/v5.5'
ADC: fix temp sensor affect by adc continuous reset (v5.5)

See merge request espressif/esp-idf!42842
2026-04-24 12:13:27 +08:00
gaoxu
ee198b507d refactor(isp): avoid isp ll functions using hal.hw before initialization 2026-04-24 11:05:01 +08:00
gaoxu
e7c8f8fc8f fix(isp): fix isp clock source error 2026-04-24 11:04:48 +08:00
Xiao Xufeng
5cbeaaf7f9 refactoring(spi_flash): Move PSRAM frequency constraint macro from soc_caps.h to mspi_ll.h
- Rename SOC_SPI_MEM_PSRAM_FREQ_AXI_CONSTRAINED to
  MSPI_TIMING_LL_PSRAM_FREQ_AXI_CONSTRAINED
- Move macro definition to chip-specific mspi_ll.h files (C5, C61, H4, P4, S31)
- Update usage in clk_utils.c and esp_flash_spi_init.c
- Remove old macro from all soc_caps.h files
2026-04-22 02:31:06 +08:00
C.S.M
e5bb63cc94 fix(temperature_sensor): Fix the float calculation in temperature sensor isr 2026-04-21 11:19:45 +08:00
morris
5736a2d132 Merge branch 'fix/32mb_120m_v5.5' into 'release/v5.5'
fix(spi_flash): 1. Fix flash 120m in qio mode failed on esp32p4 (with 32M map enabled) 2. Add C61 32M flash support (backport v5.5)

See merge request espressif/esp-idf!46044
2026-04-20 13:30:14 +08:00
Jiang Jiang Jian
712886d8c1 Merge branch 'bugfix/flash_user_command_with_pms_v5.5' into 'release/v5.5'
fix(flash): flash erase operation may fail to raise PMS exception (v5.5)

See merge request espressif/esp-idf!47455
2026-04-17 11:24:31 +08:00
Jiang Jiang Jian
1e1e95c8df Merge branch 'fix/psram_core_clk_enable_v5.5' into 'release/v5.5'
fix(mspi): enable PSRAM core clock in module clock init (v5.5)

See merge request espressif/esp-idf!46849
2026-04-17 11:13:05 +08:00
gaoxu
dfa50ddeb4 fix(tsens): fix temp_sensor affect by adc reset 2026-04-16 19:23:17 +08:00
morris
98f1b029c6 Merge branch 'fix/usj_fifo_bug_v5.5' into 'release/v5.5'
fix(usj):Fix usj fifo write/read on p4 (backport v5.5 )

See merge request espressif/esp-idf!46637
2026-04-15 12:03:52 +08:00
morris
7dcdfaada0 Merge branch 'fix/p4_120_suspened_v5.5' into 'release/v5.5'
fix(spi_flash): Fix esp32p4 120m flash suspend failed (backport v5.5)

See merge request espressif/esp-idf!46046
2026-04-15 11:18:08 +08:00
Song Ruo Jing
d15a897d13 feat(dma2d,ppa): Support flash encryption for DMA2D and PPA 2026-04-13 15:03:37 +08:00
Song Ruo Jing
ccbf0abb7a fix(flash): flash erase operation may fail to raise PMS exception 2026-04-13 14:40:39 +08:00
C.S.M
72d7affdb7 fix(usj):Fix usj fifo write/read on p4 2026-04-13 10:54:41 +08:00
Mahavir Jain
19731dd91a Merge branch 'fix/enable_key_mgr_clk_for_efuse_key_ops_v5.5' into 'release/v5.5'
Support newer Key Manager key sources for ESP32-P4 V3 (v5.5)

See merge request espressif/esp-idf!46755
2026-04-08 11:19:56 +05:30
C.S.M
a033efcb3d fix(spi_flash): Fix esp32p4 120m flash suspend failed 2026-04-07 18:06:40 +08:00
C.S.M
a7d4453dfb fix(spi_flash): Fix esp32p4 120m flash suspend failed 2026-04-07 14:45:59 +08:00
harshal.patil
8dafc3b75f feat(esp32p4): Support newer Key Manager key sources for ESP32-P4 V3 2026-04-06 18:11:43 +05:30
hebinglin
377f6fed17 change(example): change uart wakeup mode 0 edge threshold 2026-04-03 15:55:22 +08:00