Commit Graph

878 Commits

Author SHA1 Message Date
Song Ruo Jing
b4b2d2d4d4 fix(stdio): add console input ability when selects ESP_CONSOLE_UART_CUSTOM_NUM_1 2026-07-09 20:32:24 +08:00
harshal.patil
a847bb8439 fix(panic): handle absent IROM/DROM alignment gap in spiram-xip memprot tests
The spiram-xip IROM/DROM alignment tests assumed the XIP region always
leaves an alignment gap before the next MMU page: they executed into the
gap and expected an instruction access fault followed by a register dump.
When the section ends exactly on an MMU page boundary there is no gap - the
device prints "<IROM/DROM> alignment gap not added into heap" and returns,
the framework restarts cleanly (esp_restart_noos, no panic), and the test
timed out waiting for a register dump.
2026-07-01 11:00:16 +05:30
Aditya Patwardhan
66156479d2 change(secure_boot): mark ECDSA based Secure Boot V2 as insecure on affected SoCs
ECDSA based Secure Boot V2 is not functional for certain input vectors on
ESP32-C5/C61/H2/P4 and on the preview targets ESP32-H4/H21. RSA based Secure
Boot V2 is the recommended scheme where the SoC supports it. This issue will be
fixed in a future hardware ECO revision; more details will be shared through the
hardware errata document.

A new hidden Kconfig option SECURE_BOOT_V2_ECDSA_INSECURE marks the affected
mass-production SoCs (ESP32-C5/C61/H2/P4). On these SoCs, when hardware Secure
Boot V2 is enabled, the ECDSA (V2) signing scheme is no longer offered by
default; it must be turned on explicitly via SECURE_BOOT_V2_FORCE_ENABLE_ECDSA
under "Allow potentially insecure options" (CONFIG_SECURE_BOOT_INSECURE). App
signing without hardware Secure Boot is not affected. Note that ESP32-C61 has no
RSA based Secure Boot V2, so it has no Secure Boot scheme enabled by default.

The preview targets ESP32-H4 and ESP32-H21 mark ECDSA Secure Boot V2 as not
supported in their SoC capabilities instead of using the option above. As
ESP32-H4 has no other Secure Boot V2 scheme, Secure Boot is disabled entirely on
it; ESP32-H21 retains RSA based Secure Boot V2.

The security documentation keeps the ECDSA Secure Boot V2 content visible and
adds a warning describing the limitation (including that ECDSA Secure Boot V2 on
ESP32-C61 is not recommended for production). CI apps that exercise ECDSA Secure
Boot V2 on the affected SoCs set CONFIG_SECURE_BOOT_V2_FORCE_ENABLE_ECDSA
accordingly.
2026-06-10 08:08:07 +05:30
morris
a4ff8642d5 Merge branch 'feat/lcd_i2c_use_configurable_timeout_v5.5' into 'release/v5.5'
feat(lcd): add configurable timeout for lcd i2c panel (v5.5)

See merge request espressif/esp-idf!48664
2026-05-28 11:35:14 +08:00
Chen Chen
08ca9fcab3 feat(lcd): add configurable timeout for lcd i2c panel
Closes https://github.com/espressif/esp-idf/issues/18542
Closes https://github.com/espressif/esp-idf/pull/18543
2026-05-25 09:51:46 +08:00
nilesh.kale
e3a8feedcc fix(cpu_region_protect): set DROM mask PMP entry to read-only
PMP entry 3 (SOC_DROM_MASK_HIGH, TOR mode) in the memprot path
was incorrectly granted RW permission on esp32h21 and esp32c61.
The mask ROM data region is inherently read-only; remove the W bit.

Also added necessary tests to check voilations and re-enabled
tests for ESP32P4
2026-05-21 11:33:09 +05:30
Jiang Jiang Jian
091c972a02 Merge branch 'backport/backport_some_wifi_changes_v5.5_260518' into 'release/v5.5'
backport/backport some wifi changes v5.5 260518(backport v5.5)

See merge request espressif/esp-idf!48614
2026-05-19 16:51:29 +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
yinqingzhao
4fafd456a8 fix(test_apps): fix bugs in phy tsens test apps 2026-05-18 14:12:21 +08:00
Konstantin Kondrashov
7d5df005d2 fix(test_apps): Increase CONFIG_PARTITION_TABLE_OFFSET to 0x9000
Fix some test apps that have a partition table offset of 0x8000,
which left no room for the bootloader for some chips.
2026-05-13 10:29:04 +03:00
Erhan Kurubas
11ec258dcc feat(coredump): add coredump_noinit attribute 2026-05-12 21:30:12 +08:00
Peter Dragun
b731ccb6f0 test: Fix test_loadable_elf call to esptool.load_ram 2026-05-11 12:57:50 +02:00
harshal.patil
8121f66ec3 feat(cpu_region_protect): Extend PMP memprot for ESP32-P4 V3 2026-05-08 12:43:26 +05:30
Alexey Lapshin
2ff7df235a fix(panic_test): avoid linker check on dangerous relocations
xtensa linker throws warning
dangerous relocation: windowed longcall crosses 1GB boundary; return may fail

create separate function to call function by pointer to avoid warnings
2026-05-08 12:43:26 +05:30
sonika.rathi
cf4c425733 fix(fatfsgen): stabilize host read-flash after UART close in pytest 2026-04-30 15:31:36 +02:00
morris
962b4687b7 Merge branch 'fix/p4_eco5_enable_special_test_v5.5' into 'release/v5.5'
fix(ci): p4 eco5 enable special test v5.5

See merge request espressif/esp-idf!47550
2026-04-27 10:41:53 +08:00
wanckl
5d37003c47 ci(p4): p4 eco5 enable parts of special tests 2026-04-24 15:09:56 +08:00
Marius Vikhammer
160151e8be test(system): enable panic tests for P4 2026-04-16 09:54:16 +08:00
Euripedes Rocha
e27c4bc8de Merge branch 'reduce_mqtt_ci_tests' into 'release/v5.5'
ci: Reduce scope of esp-mqtt tests

See merge request espressif/esp-idf!47430
2026-04-10 12:17:10 +02:00
Euripedes Rocha Filho
b19ee1650f ci: Reduce scope of esp-mqtt tests
To reduce failures due to CI environment the tests are reduced to a
minimum set. More extensive test suite is run at esp-mqtt repository.
2026-04-10 10:06:49 +02:00
Fu Hanxi
3cefdfb703 ci: rename eco tags to revision
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-09 10:58:07 +02:00
Jiang Jiang Jian
a23df61812 Merge branch 'feature/update_gdbstub_v5.5' into 'release/v5.5'
gdbstub: backport fixes (v5.5)

See merge request espressif/esp-idf!46201
2026-03-31 14:15:09 +08:00
Alexey Gerenkov
977a49635d Merge branch 'fix/cmake_flags_passing_to_external_project_v5.5' into 'release/v5.5'
fix(build): fix passing CMAKE_<LANG>_FLAGS from ExternalProject_Add (v5.5)

See merge request espressif/esp-idf!46654
2026-03-30 21:37:58 +08:00
Alexey Gerenkov
752c01ece0 Merge branch 'feature/refactor_linker_scripts_v5.5' into 'release/v5.5'
feat(esp_system): refactor linker scripts to reduce duplicated code (v5.5)

See merge request espressif/esp-idf!45729
2026-03-30 21:19:53 +08:00
Alexey Lapshin
36ac688705 feat(esp_gdbstub): support watchpoint trigger reason 2026-03-27 17:04:24 +08:00
Alexey Lapshin
9cb94a5a20 fix(gdbstub): fix task lookup by frame 2026-03-27 17:04:24 +08:00
Alexey Lapshin
c5cd8769ed fix(gdbstub): xtensa: fix FPU registers read and write
Closes https://github.com/espressif/esp-idf/issues/17944
2026-03-27 17:04:24 +08:00
Alexey Lapshin
4e2cb08534 feat(gdbstub): add f- and q-registers support 2026-03-27 17:04:24 +08:00
Alexey Lapshin
aef188ebd3 fix(build): fix passing CMAKE_<LANG>_FLAGS from ExternalProject_Add 2026-03-17 11:41:42 +07:00
Alexey Lapshin
3c237fcd86 fix(test): fix xfail panic test for esp32s2 2026-03-16 18:12:07 +07:00
Evgeny Torbin
d412f4b858 ci: remove unused test cases 2026-03-13 16:06:08 +08:00
Jiang Jiang Jian
60bcaa6447 Merge branch 'fix/coredump_test_tcb_corrupted_v5.5' into 'release/v5.5'
test(espcoredump): fix test for corrupted TCB handling in coredump (v5.5)

See merge request espressif/esp-idf!45327
2026-03-03 19:37:10 +08:00
Alexey Gerenkov
0c7eac2565 Merge branch 'feature/picolibc_v5.5' into 'release/v5.5'
feat(build): add Picolibc support (v5.5)

See merge request espressif/esp-idf!44108
2026-02-26 18:12:58 +08:00
Fu Hanxi
124a1d3b82 ci: backport master to 5.5 2026-02-25 11:38:38 +01:00
Alexey Lapshin
0b3929d0d9 feat(esp_libc): add full support for picolibc 2026-01-30 23:39:53 +07:00
Erhan Kurubas
8dbf56e077 test(espcoredump): fix test for corrupted TCB handling in coredump 2026-01-21 18:44:44 +03:00
Erhan Kurubas
88efba061e test(panic): improve stack dump capture to return full hex content 2026-01-21 18:37:52 +03:00
Alexey Gerenkov
69550e12e2 Merge branch 'fix/int_wdt_double_exception_v5.5' into 'release/v5.5'
fix(espcoredump): prevent double exception during int_wdt panic with custom stack (v5.5)

See merge request espressif/esp-idf!44174
2026-01-21 23:03:41 +08:00
Erhan Kurubas
b38c003cb1 test(panic): add retry logic to espcoredump subprocess call 2026-01-21 00:24:38 +03:00
yinqingzhao
880a3c4d80 test(system): add esp32c61 eco4 build test 2026-01-16 11:40:31 +08:00
wanglei
7fca8a9c68 test(system): add esp32c5 eco3 build test 2026-01-16 11:40:31 +08:00
Li Shuai
9ed3a7a49a change(tools): disable place rtc clock and rtc time modules into iram for flash auto suspend test 2025-12-31 14:37:46 +08:00
Chen Yudong
dae2b988f4 ci: rename wifi_two_dut to two_duts 2025-12-30 10:53:16 +08:00
morris
094518fa0d fix(check_placements): update method names to follow PEP 8 conventions 2025-12-23 16:28:08 +08:00
Erhan Kurubas
1991aa6da0 fix(espcoredump): prevent double exception during int_wdt panic with custom stack 2025-12-17 21:36:19 +01:00
Omar Chebib
a5bce887ab ci: re-enable eh_frame for the ESP32-P4 2025-11-26 11:40:01 +05:30
armando
a3bca48289 ci(p4): disable p4 rev3 invalid tests temporarily for v5.5 only 2025-11-21 09:19:16 +08:00
armando
4ef2005b80 change(ci): use p4 rev3 by default only when ci build 2025-11-20 11:33:36 +08:00
armando
304ba1655b fix check test scripts build issue 2025-11-20 11:33:36 +08:00
armando
cdff2570c7 ci(p4): disable p4 rev3 invalid tests temporarily 2025-11-20 11:33:36 +08:00