70 Commits

Author SHA1 Message Date
Fu Hanxi 9ecd3ecad4 ci: apply idf-ci 1.x 2026-03-27 15:12:31 +01:00
morris ca17b599c4 feat(crc): added async crc console example 2026-02-27 10:56:25 +08:00
Frantisek Hrbata b90098a9f2 feat(tools): esp-idf-sbom integration into idf.py
While the `esp-idf-sbom` `idf.py` extension is implemented within the
`esp-idf-sbom` python package, a few minor changes are also required on
the `idf.py` side.

1. Add `esp-idf-sbom` as a core requirement so it is automatically
   installed by the installation scripts.
2. Add the `sbom-create` action to the list of actions for which the
   flashing-related closing message is displayed.
3. Update the documentation in the api-guides for tools.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2026-02-16 09:03:17 +01:00
Marek Fiala c4347a682d feat: Install mcp with initialization scripts 2025-10-20 16:22:54 +02:00
luoxu ed0ae79d24 feat(ble): add libraries related to ble log compression 2025-09-22 17:09:58 +08:00
Fu Hanxi 08d21989a9 ci: fix extra default build targets 2025-08-12 13:41:30 +02:00
Peter Dragun 519042a1e2 feat: Deprecate Python 3.9
BREAKING CHANGE:
- Minimal supported Python version is now 3.10.
2025-08-01 08:05:10 +02:00
Peter Dragun dba8cb3f76 Merge branch 'feat/ide_requirements' into 'master'
feat(tools/requirements): Add IDE requirements files

See merge request espressif/esp-idf!40348
2025-07-31 17:31:50 +08:00
Fu Hanxi 586d219934 ci: apply idf-ci for debug pipeline 2025-07-09 15:44:27 +02:00
Fu Hanxi 7ada32c39a ci: apply idf-ci for artifacts 2025-07-09 10:33:29 +02:00
Fu Hanxi 15b411270e ci: apply idf-ci on generating child pipelines 2025-07-09 10:33:29 +02:00
Fu Hanxi a5257dcc39 ci: apply idf-ci pytest plugin
Removed

- target markers. Now must use target as parametrization in esp-idf
- host test markers. Now will be automatically added with linux target and qemu marker
2025-07-09 10:33:28 +02:00
Fu Hanxi c80d0aded4 ci: apply idf-ci gitlab dynamic-pipeline-variables
Renamed env vars:

- TEST_CASE_FILTERS -> IDF_CI_SELECT_BY_FILTER_EXPR
- BUILD_AND_TEST_ALL_APPS -> IDF_CI_SELECT_ALL_PYTEST_CASES

Removed env vars;

- IS_MR_PIPELINE (could use CI_MERGE_REQUEST_IID)
- REPORT_EXIT_CODE -> IDF_CI_IS_DEBUG_PIPELINE (fail fast)
- PYTEST_IGNORE_COLLECT_IMPORT_ERROR -> always skip import error
2025-07-09 10:33:27 +02:00
Fu Hanxi 0d5b3e60ac ci: remove --enable-pytest from install.sh 2025-07-09 10:33:26 +02:00
Peter Dragun 5741a3a0e1 feat(tools/requirements): Add IDE requirements files 2025-07-03 13:22:53 +02:00
Fu Hanxi 520ee76e03 fix: limit idf-component-manager version 2025-06-13 13:56:22 +02:00
Roland Dobai 3efb46e480 remove(tools): Drop official support for gdbgui 2025-06-06 14:32:05 +08:00
Peter Dragun de6206ed3a ci: use ruff for formatting and linting all python files 2025-03-27 10:44:27 +01:00
Frantisek Hrbata bdc94935fa feat(diag): use the esp-idf-diag module as a backend
Replace the original diag implementation in idf.py with the new one in a
separate esp-idf-diag python package. The interface is kept the same as
it was. The simple idf.py diag test is also preserved.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2025-02-11 11:26:47 +01:00
Roland Dobai 4460d9fb1b fix(tools): Print message about GDBGUI being not supported with Python 3.13 2024-10-22 14:22:18 +02:00
Fu Hanxi 1e614efa5f ci: add missing dependency 2024-10-16 11:01:16 +02:00
Frantisek Hrbata 7a03ac385d change: add a note regarding separate constraint files
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-09-18 16:56:04 +08:00
Fu Hanxi dca0465095 feat: split pytest requirements to base and test-specific 2024-09-12 20:18:46 +08:00
Frantisek Hrbata 1c22f6c4e8 feat: add python script to activate ESP-IDF environment
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-09-05 10:13:03 +02:00
renpeiying 20379aeffb docs: Optimize translation for api-reference/system/inc files 2024-08-19 13:09:34 +08:00
Fu Hanxi aa9cf351d3 ci: add minio as pytest requirement 2024-04-24 14:54:42 +02:00
Fu Hanxi 9fb3a5c1ef ci: add missing python-gitlab requirement for pytest
this lib is to download the artifacts from gitlab locally
2024-01-25 10:12:59 +01:00
Fu Hanxi f0209338de ci: update idf-build-apps in requirement txt files 2024-01-11 12:57:23 +01:00
Fu Hanxi fba96d58c2 ci: dynamic pipeline
build:
- upgrade idf-build-apps to 2.x
- unify get_pytest_apps and get_cmake_apps to get_all_apps
	- returns (test_apps, non_test_apps) tuple
- add tests for the new get_all_apps

assign:
- generate build report
- generate target test pipeline based on the build report

target test:
- download artifacts from minio server
- users can use `pytest --pipeline-id xxxxx` to download and flash
the binaries from the artifacts

.post:
- generate target test reports
2024-01-10 15:37:34 +01:00
Roland Dobai c6acde833b fix(gdbgui): Fix support of gdbgui on Unix with Python 3.11
Closes https://github.com/espressif/esp-idf/issues/12764
2024-01-05 11:23:02 +01:00
Adam Múdry c0ea99220a Merge branch 'fix/move_nvs_partition_generator_to_pypi_package' into 'master'
fix(tools): replace nvs_partition_gen.py with new esp-idf-nvs-partition-gen package

Closes IDF-8147 and IDF-1958

See merge request espressif/esp-idf!26758
2023-12-18 09:13:38 +08:00
Roland Dobai 035e59bfd8 fix(tools): Fix fatfsgen construct exception type and dependency
construct=2.10.70 fixed an issue
(https://github.com/construct/construct/commit/c3866e949216112e8bdbeb23349ee3e958f9f461)
and StringError is raised instead of UnicodeDecodeError.
2023-12-04 16:38:46 +01:00
Roland Dobai bc1d74bb88 fix(ci): Remove unittest-xml-reporting dependency from host tests 2023-11-30 14:03:41 +01:00
Roland Dobai cad04baba1 feat(ci): Merge tool test jobs and produce jUnit reports 2023-11-27 09:11:35 +01:00
Adam Múdry 7464f5e3ea fix(tools): replace nvs_partition_gen.py with new esp-idf-nvs-partition-gen package 2023-11-23 23:58:20 +01:00
Fu Hanxi 4dbf8c8948 ci: remove ttfw related files 2023-10-16 10:23:09 +02:00
Fu Hanxi 79bc66b323 ci: upload to minio server instead of gitlab artifacts for pytest jobs 2023-10-13 13:01:23 +02:00
Fu Hanxi 4dbe541f80 ci: replace internal clang-tidy runner with the pypi project 2023-09-27 10:25:49 +02:00
Peter Dragun 3981aae79f feat(tools/monitor): move target tests to monitor repo 2023-09-15 16:04:11 +02:00
Peter Dragun 05c883e8f7 feat(tools): remove gdb_panic_server and use just a wrapper for script
gdb_panic_server is now part of esp-idf-panic-decoder
2023-08-24 15:20:29 +02:00
Fu Hanxi 5e4427ab13 ci(pytest): add plugin pytest-ignore-test-results
pass with warning if test job got ignored.
2023-08-18 10:50:18 +08:00
Fu Hanxi 28c9953ffe ci: pylint with codeclimate 2023-08-15 08:31:45 +08:00
Chen Yudong 2ffc5ac6e6 change(esp_prov): remove future usage
drop python2 support for esp_prov
2023-07-19 21:05:06 +08:00
Peter Dragun c7da726b0b fix(tools/python_dep_check): replace deprecated pkg_resources with importlib
Closes https://github.com/espressif/esp-idf/issues/11712
2023-07-11 16:09:03 +02:00
Ondrej Kosta eb17a9d6e0 network_examples: added LwIP bridge test 2023-04-12 09:14:12 +02:00
Djordje Nedic 3e0f612a7e tools: Move out idf_size.py in favour of using the esp-idf-size package
This commit removes all idf_size.py files and references to them and adds esp-idf-size as a dependency and adequate wrappers to avoid breaking changes.
2023-03-27 19:40:33 +02:00
Peter Dragun 3e3533f918 feat(idf_monitor): move idf_monitor to separate repo 2023-02-03 11:20:15 +01:00
Ondrej Kosta 7aa4462d0b Ethernet & WiFi iperf test migration to pytest 2023-01-16 15:45:56 +01:00
Fu Hanxi 0da5cf8cd7 ci: remove debug_backend dependency 2022-12-27 17:34:11 +08:00
Suren Gabrielyan b68203bfb5 Examples: migration mqtt examples to pytest 2022-12-20 17:48:48 +04:00