Commit Graph

1421 Commits

Author SHA1 Message Date
Jiang Jiang Jian
e99753622a Merge branch 'debug/idf-15875-fix_v5.4' into 'release/v5.4'
fix(psram): suspend external cache during CPU freq switch on esp32p4 (v5.4)

See merge request espressif/esp-idf!52036
2026-09-07 11:29:36 +08:00
Erhan Kurubas
29b7fb858f change(system): increase OCD stub memory reservation from 8K to 12K 2026-09-03 13:12:49 +02:00
morris
7080d6ce36 Merge branch 'fix/dualcore_branch_predictor_cache_race_v5.4' into 'release/v5.4'
fix(spi_flash): disable branch prediction on the parked core during flash ops (v5.4)

See merge request espressif/esp-idf!52199
2026-09-01 18:22:06 +08:00
Marius Vikhammer
87c280843a fix(esp_system): delay after light sleep stress cleanup 2026-09-01 10:39:45 +08:00
Marius Vikhammer
2caee3ad9c fix(esp_system): wait for idle after light sleep stress tasks
Self-deleted worker tasks are only freed once idle runs. A 500us
periodic esp_timer can starve that cleanup and trip Unity's leak check.
2026-09-01 10:32:23 +08:00
Ashish Sharma
8201d8c607 fix(spi_flash): disable branch prediction on the parked core during flash ops 2026-08-31 10:50:20 +08:00
Michael.B
16dac308e4 fix(psram): make IDF-15875 backport build clean on v5.4
Guard external-cache suspend for pure-ram apps where esp_cache_utils is
not linked, move esp32p4-only xip_psram sdkconfig options into a
target-specific file, and add from __future__ import annotations so
pytest collection works on CI Python 3.8.
2026-08-28 02:59:44 +08:00
Michael.B
a2a4dec210 fix(psram): suspend external cache during CPU freq switch on esp32p4
Suspend the external-memory cache around the boot CPU frequency switch so
PSRAM-XIP / write-back cache state cannot be corrupted mid-switch.
2026-08-27 03:06:30 +08:00
Fu Hanxi
b47f9850c7 ci: apply common-scripts CI refactor
Squashes these original commits for release/v5.4 backport traceability:
- 9b289dc5ad6 ci: apply idf-ci 1.x
- 381df980d57 ci: remove pip-cache and other unused jobs
- 32375a0a15e ci: apply common-scripts CI refactor
2026-08-17 14:13:15 +02:00
harshal.patil
6618558e7b refactor(esp_system): deduplicate ROM fast wake RTC digest reservation
The digest length and the condition that reserves it at the end of RTC RAM were
duplicated in seven places. Hold the reservation in a hidden Kconfig value that
is zero when the feature does not apply, so every consumer subtracts it
unconditionally, and derive ESP_SECURE_BOOT_DIGEST_LEN from it.
2026-07-31 11:05:47 +08:00
Armando (Dou Yiwen)
c3d376055f fix: fixed image header segment count check
Signed-off-by: Armando (Dou Yiwen) <douyiwen@espressif.com>
2026-07-20 10:25:15 +08:00
Song Ruo Jing
501471bf79 fix(stdio): add console input ability when selects ESP_CONSOLE_UART_CUSTOM_NUM_1 2026-07-10 11:37:44 +08:00
harshal.patil
abcbe87e2d fix(mbedtls): validate ECDSA signature range and harden ECC memory power-down
Co-Authored-By: Ashish Sharma <ashish.sharma@espressif.com>
2026-06-22 11:17:50 +05:30
Jiang Jiang Jian
f4325236e1 Merge branch 'bugfix/esp_task_wdt_v5.4' into 'release/v5.4'
fix(esp_system): Handle failures correctly in esp_task_wdt_reconfigure() (backport v5.4)

See merge request espressif/esp-idf!45899
2026-04-22 16:04:45 +08:00
Omar Chebib
81db9169cd fix(esp_system): fix a typo in task_wdt_impl_esp_timer.c 2026-04-02 09:46:57 +08:00
Angus Gratton
b9e28476b9 fix(esp_system): Allow esp_task_wdt_reconfigure() if timer is stopped
If Task WDT is initialised but not start, the call to esp_timer_stop() in
the reconfigure path returns ESP_ERR_INVALID_STATE and reconfiguring the
Task WDT fails. This isn't the case when the Timer Group is used for Task
WDT.

(This failure cascades into the failure due to disabled interrupts, fixed
in the parent commit.)

Signed-off-by: Angus Gratton <angus@redyak.com.au>
2026-04-02 09:46:57 +08:00
Angus Gratton
da72ecc3c2 fix(esp_system): Handle failures correctly in esp_task_wdt_reconfigure()
- Failures were being masked as function always returned ESP_OK
- In the failure path the spinlock was not unlocked, so interrupts
  became permanently disabled.

Signed-off-by: Angus Gratton <angus@redyak.com.au>
2026-04-02 09:46:57 +08:00
armando
604772875c fix(spm): rename scp (scratchpad) to spm (scratchpad memory) 2026-03-19 16:27:44 +08:00
armando
01942e4eef change(mem): deprecated tcm and added scp memory utils 2026-03-18 09:48:08 +08:00
Jiang Jiang Jian
e8069a963d Merge branch 'bugfix/fix_some_wifi_bugs_260312_v5.4' into 'release/v5.4'
Bugfix/fix some wifi bugs 260312 v5.4

See merge request espressif/esp-idf!46542
2026-03-13 19:19:27 +08:00
sibeibei
54c2126abf bugfix: clear regdma status when restart 2026-03-12 14:53:43 +08:00
Evgeny Torbin
f7395255da test: format all test scripts 2026-03-11 07:34:34 +01:00
Marius Vikhammer
e8668364c2 Merge branch 'fix/eh_frame_parser_warnings_v5.4' into 'release/v5.4'
fix(esp_system): fix potential warnings related to array size in .eh_frame parser (backport v5.4)

See merge request espressif/esp-idf!41984
2026-01-30 16:06:55 +08:00
Omar Chebib
b084ccefd5 fix(esp_system): fix potential warnings related to array size in .eh_frame parser 2026-01-27 10:28:28 +08:00
zlq
944d03a7f9 feat(esp32c6): auto adjust LDO voltage using pvt function 2026-01-26 10:50:38 +08:00
wuzhenghui
6e79470894 fix(esp_system): fix rom secure boot fast wake feature for c5/c6/h2/h21 2026-01-12 19:04:07 +08:00
Jiang Jiang Jian
eb64ef291a Merge branch 'fix/fix_xtal32k_power_breaks_adc_v5.4' into 'release/v5.4'
fix(esp_system): fix XTAL32K power breaks ADC function on 32k XTAL clock pin (v5.4)

See merge request espressif/esp-idf!43372
2025-12-03 10:32:17 +08:00
Song Ruo Jing
7bb3b130ce fix(uart): fix RTC wdt get triggered due to uart sclk not exist on C5
RTC wdt would get triggered on esp_restart if uart driver was deleted before
2025-11-24 11:38:07 +08:00
Song Ruo Jing
aef9061d93 fix(console): release default console UART pins if console is switched in bootloader
Also print out console UART pin number in app cpu_startup stage

Closes https://github.com/espressif/esp-idf/issues/16764
Closes https://github.com/espressif/esp-idf/issues/17459
2025-11-22 17:52:31 +08:00
morris
14dd2d23fa Merge branch 'feature/esp32p4_eco5_io_hold_v5.4' into 'release/v5.4'
feat(gpio): add IO hold support for Deep-sleep for ESP32-P4 ECO5 (v5.4)

See merge request espressif/esp-idf!43309
2025-11-19 16:32:25 +08:00
morris
7f11b39856 Merge branch 'bugfix/usb_dp_pin_unusable_after_cpu_reset_v5.4' into 'release/v5.4'
fix(gpio): fix USB DP pin unusable after CPU reset for S3/C3 (v5.4)

See merge request espressif/esp-idf!42801
2025-11-19 15:45:59 +08:00
Song Ruo Jing
b9819b3ed8 fix(clk): add compile warning if 400MHz CPU freq is used on ESP32P4 less than rev3 2025-11-18 11:30:24 +08:00
Song Ruo Jing
5b576f9ece fix(gpio): fix USB DP pin unusable after CPU reset for S3/C3
Closes https://github.com/espressif/esp-idf/issues/17488
2025-11-14 21:00:50 +08:00
wuzhenghui
7168e29678 fix(esp_system): fix XTAL32K power breaks ADC function on 32k XTAL clock pin 2025-11-14 14:14:29 +08:00
Song Ruo Jing
55f3730ba4 feat(2ddma): ESP32P4 ECO5 2DDMA related updates
Added one more pair of 2DDMA channels
Priority bit width increased corespondingly
Added three new CSC modes for RX channel 0
2025-11-13 15:47:15 +08:00
Marius Vikhammer
477c861339 Merge branch 'fix/cdcacm-callback-placement_v5.4' into 'release/v5.4'
fix(esp_vfs_console): Update placement of cdcacm_xx_cb when ETS print enabled (v5.4)

See merge request espressif/esp-idf!41332
2025-11-10 21:50:23 +08:00
wuzhenghui
18475ffbe5 fix(esp_hw_support): add p4 rev3.0 MSPI workaround for deepsleep 2025-11-04 16:03:31 +08:00
morris
80971b25da Merge branch 'feat/p4_eco5_real_chip_v5.4' into 'release/v5.4'
p4: p4 eco5 real chip (v5.4)

See merge request espressif/esp-idf!42063
2025-10-26 22:38:34 +08:00
morris
5583963765 Merge branch 'fix/clear_force_on_reg_for_cache_v5.4' into 'release/v5.4'
fix(clk): do not clear force_on reg for cache (v5.4)

See merge request espressif/esp-idf!42178
2025-10-26 22:27:28 +08:00
Xiao Xufeng
147ec10b86 dma: fixed issue that DMA are not reset when CPU reset
When DMA keep writing the memory, some data may be corrupted after reset. For example, the stack of bootloader may be overwritten and failed to boot until a higher scope of reset (Core).
2025-10-25 02:15:23 +08:00
armando
a70a29b7a6 feat(p4): p4 rev3 real chip support 2025-10-13 15:24:14 +08:00
yanzihan@espressif.com
ea4451d6b3 feat(clk): add 100m/200m/400m cpu freq & change clk cal & change blk version 2025-10-13 15:24:14 +08:00
armando
b3fd689da9 feat(esp32p4): support rev3 on fpga 2025-10-13 15:24:14 +08:00
wuzhenghui
b20d8c1afb fix(esp_system): fix ext 32k io revoking breaks sleep io holding 2025-10-10 20:20:50 +08:00
Guillaume Souchere
651607d1ed fix(esp_vfs_console): Update placement of cdcacm_xx_cb when ETS print enabled 2025-10-01 08:43:44 +02:00
Chen Jichang
6e5f96136d fix(clk): clear force_on reg for cache 2025-09-29 13:48:09 +08:00
Jiang Jiang Jian
12b8f9c9d5 Merge branch 'fix/eh_frame_infinite_loop_v5.4' into 'release/v5.4'
fix(esp_system): prevent .eh_frame-based unwinding from looping indefinitely (release v5.4)

See merge request espressif/esp-idf!41579
2025-09-19 02:20:06 +08:00
Konstantin Kondrashov
27456ea2f3 feat(ipc): Allow IPC recursion calls in esp_ipc_call 2025-09-16 10:38:46 +03:00
Omar Chebib
1285e19cab fix(esp_system): prevent .eh_frame-based unwinding from looping indefinitely 2025-08-28 09:54:36 +08:00
Jiang Jiang Jian
378bab6e55 Merge branch 'feat/usb-cdc-select_v5.4' into 'release/v5.4'
feat(usb_cdc): Add select functionality (backport v5.4)

See merge request espressif/esp-idf!40892
2025-08-26 10:51:11 +08:00