Commit Graph

6485 Commits

Author SHA1 Message Date
Samuel Obuch
2022b5f6f2 feat(tools): update openocd version to v0.12.0-esp32-20260831 2026-09-03 13:12:24 +02:00
Fu Hanxi
3a3c36ac71 tests: replace CLI-dependent xfail/skipif conditions 2026-08-18 11:39:50 +02:00
Jakub Kocka
e962d4e60f ci(tools): Fix worktree submodule copy of gitlink files 2026-08-17 14:13:16 +02:00
Fu Hanxi
eaeaf2f87a ci: use main branch of ci/actions/common 2026-08-17 14:13:16 +02:00
Aditya Patwardhan
498784008d test(panic): fix rtc_fast_reg2 skip marker on no-PMS targets (backport v5.5)
The skipif marker on test_rtc_fast_reg2_execute_violation evaluates
config.getvalue("target"), but in CI pytest is invoked by parametrized
node-id with no --target option, so the predicate is never true and the
test is not skipped on esp32c5/esp32c6/esp32h2/esp32p4. These targets have
no PMS peripheral case for executing from RTC-fast memory, so they raise a
generic "Illegal instruction" panic instead of the "Memory protection
fault" the test expects, and fail on every run.

Replace skipif with the temp_skip marker (already done on master in
288fc561b7). The idf_pytest plugin evaluates temp_skip against the
parametrized target, so these targets are skipped correctly. esp32c3 and
esp32s2 keep running, as they do raise a real memory protection fault.

Closes IDFCI-8848
Closes IDFCI-10459

Co-authored-by: Hrushikesh Bhosale <hrushikesh.bhosale@espressif.com>
2026-08-17 14:13:16 +02:00
Jakub Kocka
97ba24fe55 ci(tools): Fixed git worktree copy 2026-08-17 14:13:16 +02:00
Jakub Kocka
20fa024a82 ci(tools): Updated approach of copying files to using git worktree 2026-08-17 14:13:16 +02:00
laokaiyao
27b4ffd2f4 ci(check): update check_soc_struct_headers script 2026-08-17 14:13:16 +02:00
Fu Hanxi
3c88b7176d ci(windows): fix fetch submodule path issue 2026-08-17 14:13:16 +02: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
Marek Fiala
6d48add711 fix(ci): make Windows build-system CI green on v5.4
- Disable test_cli_installer_win (when: never), matching release/v5.5
- Download known-failure cases and pass --ignore-result-files on Windows build-system pytest
- Force Ninja response files on Windows hosts via CMAKE_NINJA_FORCE_RESPONSE_FILE in utilities.cmake (backport of 2e5d930e)

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-27 12:32:32 +02:00
Marek Fiala
bf630eac15 test(tools): Added minimal supported cmake versions build system tests
Backport of !49288 to release/v5.4 (cmake@3.16.3).

Adapted for release/v5.4:

- Linux/macOS jobs added in .gitlab/ci/build.yml (build-system pytest
  lives there on v5.4, not host-test.yml).
- Known-failure download uses get_known_failure_cases_file.py.
- macOS jobs keep .before_script:build:macos / macos_shell tags.
- Windows minimal-cmake job follows v5.4 install/tags conventions.
- Skip test_idf_qemu on Windows (pexpect.spawn unavailable).

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-24 09:31:45 +02:00
Alexey Gerenkov
a65b5216c6 Merge branch 'feature/update-openocd-to-v0.12.0-esp32-20260703_v5.4' into 'release/v5.4'
feat(tools): update openocd version to v0.12.0-esp32-20260703 (v5.4)

See merge request espressif/esp-idf!50505
2026-07-20 17:20:29 +08:00
morris
8f81763614 Merge branch 'bugfix/uart_sw_flow_ctrl_xoff_char_v5.4' into 'release/v5.4'
fix(uart): fix uart sw flow ctrl XOFF char write to wrong reg on ESP32C6 (v5.4)

See merge request espressif/esp-idf!50526
2026-07-15 12:21:08 +08:00
guozifan
b8bd171c9e remove(ble): migrate BLE Log Console out of ESP-IDF 2026-07-10 15:42:20 +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
Samuel Obuch
c23597fba8 feat(tools): update openocd version to v0.12.0-esp32-20260703 2026-07-09 12:19:19 +02:00
yiwenxiu
8f8e3cbda0 ci: seperate openthread test cases 2026-06-26 15:01:12 +08:00
morris
c88902ae28 Merge branch 'ci/move_adc_runner_to_generic_v5.4' into 'release/v5.4'
ci(adc): move all ADC runners to generic (v5.4)

See merge request espressif/esp-idf!49795
2026-06-24 15:55:17 +08:00
gaoxu
80254568a6 ci(adc): remove ADC runner and move ADC tests to generic 2026-06-23 16:33:55 +08:00
igor.udot
b94ebf6d97 ci: twai runner setup 2026-06-23 16:01:50 +08:00
Mahavir Jain
8ea0981879 Merge branch 'fix/disable_secure_boot_v2_ecdsa_v5.4' into 'release/v5.4'
Fix/disable secure boot v2 ecdsa (v5.4)

See merge request espressif/esp-idf!49473
2026-06-23 10:49:36 +05:30
Island
241e8b8243 Merge branch 'docs/ble-uart-tutorial_v5.4' into 'release/v5.4'
docs(ble): added ESP-BLE-UART OpenCode Companion Guide (5.4)

See merge request espressif/esp-idf!49382
2026-06-22 10:34:39 +08:00
Aditya Patwardhan
ef0b3dd4f9 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-19 15:26:43 +05:30
Island
5908c0bbd0 Merge branch 'feat/format_bt_hci_to_btsnoop_v5.4' into 'release/v5.4'
refactor(bt): migrate bt_hci_to_btsnoop to esp-pylib (5.4)

See merge request espressif/esp-idf!49708
2026-06-17 14:43:54 +08:00
Ashish Sharma
e08eb015e5 fix(esp_prov): fixes sec2 client possible public length truncation 2026-06-16 18:27:36 +08:00
Zhang Hai Peng
62f6092adf refactor(bt): migrate bt_hci_to_btsnoop to esp-pylib
Replace argparse with rich-click and use esp_pylib.logger for
standardized console output and fatal error handling.


(cherry picked from commit 3a7896f2c5)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-06-16 15:34:04 +08:00
Zhou Xiao
35d19c0191 docs(ble): add ESP-BLE-UART companion guide
Move the OpenCode companion guide into the ble_uart_service example.

Add English and Chinese Markdown guides with image assets.

Keep ESP-BLE-UART naming consistent across the example and bridge tooling.


(cherry picked from commit 926111e721)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2026-06-08 14:14:43 +08:00
morris
b781bc03da Merge branch 'feat/lcd_i2c_use_configurable_timeout_v5.4' into 'release/v5.4'
feat(lcd): add configurable timeout for lcd i2c panel (v5.4)

See merge request espressif/esp-idf!48665
2026-05-28 11:38:04 +08:00
Marius Vikhammer
a201b2acfe ci(panic): disable gdbstub test on esp32p4 2026-05-27 09:43:20 +08:00
Chen Chen
1beddf49cf 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:54:58 +08:00
Fu Hanxi
0f5adc004f Merge branch 'ci/stable-build-jobs-v5.4' into 'release/v5.4'
Ci/stable build jobs v5.4

See merge request espressif/esp-idf!48717
2026-05-21 10:15:52 +02:00
Jiang Jiang Jian
3c3508b083 Merge branch 'feat/test_lp_core_debugging_v5.4' into 'release/v5.4'
feat(ulp): add pytest for debugging example (v5.4)

See merge request espressif/esp-idf!48257
2026-05-20 18:01:06 +08:00
Fu Hanxi
da06cc2a7e ci: log per-job ccache stats 2026-05-20 09:47:10 +08:00
Fu Hanxi
1684252646 feat(build): support env var IDF_PY_BUILD_JOBS for ninja jobs 2026-05-20 09:45:19 +08:00
Zhou Xiao
64a6430a3e fix(ble): added missed dataclass decorator for backport 2026-05-15 18:37:01 +08:00
Mahavir Jain
aa89fd558b Merge branch 'fix/pmp_drom_mask_read_only_v5.4' into 'release/v5.4'
fix(cpu_region_protect): set DROM mask PMP entry to read-only (v5.4)

See merge request espressif/esp-idf!47578
2026-05-13 12:56:17 +05:30
Samuel Obuch
dde10479fa change(cmake): use lpcore openocd configs with CONFIG_ULP_COPROC_TYPE_LP_CORE 2026-05-12 17:44:40 +02:00
Alexey Gerenkov
8d6620a763 Merge branch 'feature/update-openocd-to-v0.12.0-esp32-20260424_v5.4' into 'release/v5.4'
feat(tools): update openocd version to v0.12.0-esp32-20260424 (v5.4)

See merge request espressif/esp-idf!48233
2026-05-12 23:00:28 +08:00
Jiang Jiang Jian
9c5a8c5edd Merge branch 'ci/update_integration_pipeline_v5.4' into 'release/v5.4'
ci: backport integration test and build docker (v5.4)

See merge request espressif/esp-idf!48379
2026-05-12 19:36:53 +08:00
zhiweijian
a232ae6ce0 feat(bt): add shared ble_uart component and update ble_uart_service/docs 2026-05-12 16:03:51 +08:00
Erhan Kurubas
ee51547f06 feat(tools): update openocd version to v0.12.0-esp32-20260424 2026-05-12 08:02:56 +02:00
nilesh.kale
c07e3c5b3a 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-11 17:03:13 +05:30
Chen Yudong
b14f5010c6 ci: optimize layer cache for docker build test
use different image tag for different concurrent job
2026-05-11 16:38:17 +08:00
Chen Yudong
b931eb92dd ci: move integration-test to ci/actions 2026-05-11 16:20:24 +08:00
Zhou Xiao
e96f641c86 docs(ble): update bridge docs and troubleshooting 2026-05-09 19:43:24 +08:00
Zhou Xiao
02f82ec4a9 fix(ble): handle notification setup failures 2026-05-09 19:43:18 +08:00
Zhou Xiao
4c53460dcc fix(ble): remove BLE service UUID scan filter 2026-05-09 19:43:13 +08:00
Zhou Xiao
87ef5f073e fix(ble): handle permission reply fallbacks
(cherry picked from commit ad7189e7dd)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2026-05-09 10:52:04 +08:00
Zhou Xiao
c2b0cd4d2f fix(ble): fixed edge case issues from ai reviewer
(cherry picked from commit fa8ca07e58)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2026-05-09 10:52:04 +08:00