Commit Graph

1149 Commits

Author SHA1 Message Date
Jiang Jiang Jian
87c540da31 Merge branch 'fix/disable_secure_boot_v2_ecdsa_v5.5' into 'release/v5.5'
Fix/disable secure boot v2 ecdsa (v5.5)

See merge request espressif/esp-idf!49472
2026-06-17 12:00:48 +08:00
Jiang Jiang Jian
510488345c Merge branch 'fix/esp_idf_lp_uart_wakeup_muti_times_v5.5' into 'release/v5.5'
fix(ulp): fix lp uart keep wakeup triggered v5.5

See merge request espressif/esp-idf!49401
2026-06-17 11:59:15 +08:00
hebinglin
ab7f6a6d95 fix(ulp): fix lp uart keep wakeup triggered 2026-06-15 15:18:31 +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
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
Jiang Jiang Jian
3d03a4035b Merge branch 'doc-fix_sleep_mode_doc_v5.5' into 'release/v5.5'
docs(system): update GPIO wakeup section for clarity on EXT0 and EXT1 support (v5.5)

See merge request espressif/esp-idf!49116
2026-06-05 10:54:09 +08:00
wuzhenghui
2ea0d4639d docs(system): update GPIO wakeup section for clarity on EXT0 and EXT1 support
backport !47362
2026-06-03 10:57:54 +08:00
Alexey Gerenkov
8c59da477b Merge branch 'feat/test_lp_core_debugging_v5.5' into 'release/v5.5'
feat(ulp): add pytest for debugging example (v5.5)

See merge request espressif/esp-idf!48256
2026-06-01 20:55:10 +08:00
Jiang Jiang Jian
c9ba18d854 Merge branch 'fix_otatool_serial_handoff_v5.5' into 'release/v5.5'
fix(otatool): fix flaky serial port handoff in otatool CI test (backport v5.5)

See merge request espressif/esp-idf!47714
2026-05-22 16:32:51 +08:00
Marius Vikhammer
38c8456587 fix(examples): raise efuse ESP32-P4 CI partition offset for larger bootloader
Recovery bootloader support increased the ESP32-P4 bootloader image enough
that it no longer fits before 0xe000. Moving the partition table to 0x10000
restores slack for CI builds using secure boot and flash encryption together.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-14 14:02:46 +03:00
Konstantin Kondrashov
ce467787a9 feat(bootloader): Support recovery bootloader for ESP32P4/C61 2026-05-13 10:28:58 +03:00
Samuel Obuch
6b91bec609 feat(ulp): add pytest for debugging example 2026-05-12 21:02:41 +02:00
hrushikesh.bhosale
4628ab8833 fix(examples/system/ota/otatool): fix serial port contention in pytest
The otatool pytest calls dut.serial.close() and then immediately
launches otatool_example.py as a subprocess that re-opens the same
serial port via esptool. This fails intermittently because:

1. pytest-embedded's QueueFeederThread still holds a reference to
   the serial port file descriptor when close() returns, causing
   'argument must be an int, or have a fileno() method' error.

2. The OS has not fully released the serial port by the time the
   subprocess tries to open it.

Add a delay after serial close and retry logic for the subprocess
to handle transient serial port contention.

Made-with: Cursor
2026-05-12 11:27:43 +05:30
Konstantin Kondrashov
325ebb8021 feat(ulp): Improved ULP delay API accuracy and removed floating point operations
Closes https://github.com/espressif/esp-idf/issues/17494
Closes https://github.com/espressif/esp-idf/issues/16891
2026-04-30 15:17:34 +03: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
Fu Hanxi
8a9c2cbeb1 tests: change wifi tests expect timeout to 60
- wifi_router
- wifi_ap
- wifi_high_traffic
2026-04-22 09:22:20 +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
hebinglin
377f6fed17 change(example): change uart wakeup mode 0 edge threshold 2026-04-03 15:55:22 +08:00
Jiang Jiang Jian
5408e1b08d Merge branch 'feature/update-openocd-to-v0.12.0-esp32-20260304_v5.5' into 'release/v5.5'
feat(tools): update openocd version to v0.12.0-esp32-20260304 (v5.5)

See merge request espressif/esp-idf!46364
2026-03-31 10:46:53 +08:00
Fu Hanxi
06df177352 Merge branch 'ci/missing_config_pre_commit_hook_v5.5' into 'release/v5.5'
ci: add pre-commit hook to detect missing configs (v5.5)

See merge request espressif/esp-idf!46206
2026-03-30 08:16:44 +02:00
Marius Vikhammer
5e0a0b05a8 docs(examples): fix broken README links found by check_readme_links CI
The hw-reference/modules-and-boards page was removed from esp-idf docs
and moved to esp-dev-kits. The ESP32-S2-Saola-1 user guide similarly
moved. The configure-builtin-jtag link used the now-obsolete chip-less
stable URL format.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-27 11:23:36 +08:00
Evgeny Torbin
d412f4b858 ci: remove unused test cases 2026-03-13 16:06:08 +08:00
Samuel Obuch
dab867f767 ci(esp32p4,esp32c61): enable usb-serial-jtag tests 2026-03-12 08:50:31 +01:00
Jiang Jiang Jian
214319b758 Merge branch 'fix/fix_io_wakeup_issues_v5.5' into 'release/v5.5'
fix(esp_hw_support): make esp_deep_sleep_enable_gpio_wakeup available to PD_TOP lightsleep (v5.5)

See merge request espressif/esp-idf!45871
2026-03-03 19:38:31 +08:00
Fu Hanxi
124a1d3b82 ci: backport master to 5.5 2026-02-25 11:38:38 +01:00
Mahavir Jain
09935fda4d Merge branch 'fix/esp_https_ota_header_handling_for_custom_data_v5.5' into 'release/v5.5'
Issue with complete headers for custom partition OTA (v5.5)

See merge request espressif/esp-idf!45795
2026-02-25 12:26:09 +05:30
nilesh.kale
b7ef04f701 fix(esp_https_ota): handle ota resumption if server dosent support range requests
This commit added check to see if server supports range requets,
and fallback to OTA without resumption accordingly.

Closes https://github.com/espressif/esp-idf/pull/17960
2026-02-17 11:20:07 +05:30
wuzhenghui
fe02a792ad fix(example): fix uninitialized gpio/rtcio in deepsleep example 2026-02-13 16:26:41 +08:00
hrushikesh.bhosale
be7fad53ce feat(partition_ota): Modified pytest for storage data
- Modified test for storage data, reduced the size to 500 bytes,
less than IMAGE_HEADER_SIZE (1024), to check the workflow, if the
custom partition other than APP and BOOTLOADER less IMAGE_HEADER_SIZE
performed OTA
2026-02-10 14:00:34 +05:30
Sudeep Mohanty
66c76d0c34 change(lp_adc): Cleanup LP ADC driver and example 2026-02-09 12:36:18 +01:00
Omar Chebib
a2ee6c914f fix: wrong name in the README file for advanced heap tracing example
Closes https://github.com/espressif/esp-idf/issues/17233
2026-01-16 14:26:26 +08:00
Li Shuai
52bc4e27fd change(example): change for pre-commit check pass of some Kconfig options are deprecated 2025-12-31 15:17:36 +08:00
Li Shuai
c2de93eca9 change(example): sleep iram optimization support for esp_timer demo 2025-12-31 14:38:54 +08:00
Zhang Wen Xu
61ca635d73 Merge branch 'feat/simple_ota_h2_v5.5' into 'release/v5.5'
feat(openthread/ota): support esp32h2 for simple ota example over thread (v5.5)

See merge request espressif/esp-idf!43976
2025-12-26 06:31:37 +00:00
nilesh.kale
ab8f49823b feat: added testcase to check ota resumption if FE is enabled
This commit also added config option to set default buffer size for OTA.
This testcase mainly checks if OTA resumption fails if data written is
not 16 byte aligned when Flash Encryption is enabled.
2025-12-18 19:09:56 +08:00
Tan Yan Quan
b23f516526 feat(openthread/ota): support esp32h2 for ota examples over thread 2025-12-04 19:56:01 +08:00
Jiang Jiang Jian
a5cc517d31 Merge branch 'fix/core_system_fixes_for_p4_eco5_v5_5' into 'release/v5.5'
Core System fixes for p4 eco5 (v5.5)

See merge request espressif/esp-idf!43726
2025-12-02 19:56:22 +08:00
Xiao Xufeng
09aafffb2e esp_system: increase bootloader partition size in examples using framepointer 2025-12-01 15:31:44 +08:00
morris
1d5fcc6d2e Merge branch 'bugfix/uart_related_backports_v5.5' into 'release/v5.5'
fix(uart): some related uart backports (v5.5)

See merge request espressif/esp-idf!43617
2025-11-27 10:52:38 +08:00
Konstantin Kondrashov
dde1b3d791 fix(examples): Fix IPC ISR RISC-V test for ESP32-P4 rev3
Remove checks for MSTATUS and MCAUSE values that
may vary in different chip revisions.
2025-11-26 11:40:01 +05:30
Song Ruo Jing
086183db94 fix(light_sleep/example): fix potential compilation error in light_sleep example
If ESP_CONSOLE_NONE is selected in menuconfig, compilation fails with
undefined CONFIG_ESP_CONSOLE_UART_BAUDRATE macro.
2025-11-21 21:57:22 +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
wuzhenghui
3ee348fe52 fix(esp_hw_support): add p4 rev3.0 MSPI workaround for deepsleep 2025-10-30 19:09:44 +08:00
Jiang Jiang Jian
bf1fe556ee Merge branch 'feat/esp32c5_lp_debug_example_v5.5' into 'release/v5.5'
feat(ulp): esp32c5 and esp32p4 support in debugging example (v5.5)

See merge request espressif/esp-idf!41006
2025-09-02 14:19:46 +08:00
Samuel Obuch
c9e4a1c382 feat(ulp): esp32c5 support in debugging example 2025-08-27 15:25:20 +02:00
Marius Vikhammer
590cb66669 ci(system): enabled and cleanup misc system test-apps build-test-rules 2025-08-18 14:22:13 +08:00
Jiang Jiang Jian
aa4faf57ef Merge branch 'ci/enable_sysview_tests_v5.5' into 'release/v5.5'
ci: enable sysview example tests for all chips (v5.5)

See merge request espressif/esp-idf!39472
2025-08-01 11:07:46 +08:00
morris
686af2df4f Merge branch 'ci/c61_enable_multi_dev_runner_v5.5' into 'release/v5.5'
ci(esp32c61): enable multi dut runner for c61 eco3 (v5.5)

See merge request espressif/esp-idf!40895
2025-08-01 10:03:51 +08:00