Marek Fiala
aa1a0852b7
feat(tools): Added cmake and ninja arm binaries
...
Closes https://github.com/espressif/esp-idf/issues/18272
2026-04-23 17:31:46 +08:00
Marek Fiala
a0685f893f
docs(tools): Updated argument via file with quotations
...
Closes https://github.com/espressif/esp-idf/issues/18077
2026-01-19 16:15:43 +01:00
Marek Fiala
c34a8f9c88
change(tools): Updated argument files with quotations in README.md
2026-01-06 11:33:08 +01:00
Marek Fiala
69873c01ab
feat(tools): Updated ccache 4.11.2 -> 4.12.1
...
Closes https://github.com/espressif/esp-idf/issues/17756
2025-11-28 15:17:49 +08:00
Marek Fiala
2d47ed3c68
refactor(tools): test_idf_tools.py ruff changes
2025-11-28 15:17:49 +08:00
Marek Fiala
050620c264
feat(tools): Normalized detected shell names to lowercase on Windows
...
Closes https://github.com/espressif/esp-idf/issues/16868
2025-07-30 16:31:39 +02:00
Marek Fiala
94ea741e2d
change(tools): shell_types.py ruff formatting
2025-07-30 16:31:39 +02:00
Marek Fiala
df57c2de6c
feat(tools): Enforce pip 'user' option to no, when installing python env
...
Closes https://github.com/espressif/esp-idf/issues/16189
2025-07-18 13:02:19 +08:00
Marek Fiala
4c4c954dd6
change(tools): ruff formatting shell_types.py
2025-07-14 13:59:25 +02:00
Marek Fiala
bcdb78ab13
feat(tools): Added encoding when special characters used with username
...
Closes https://github.com/espressif/esp-idf/issues/16229
2025-07-14 13:16:24 +02:00
Marek Fiala
7905dad525
feat(tools): Update ccache 4.10.2 -> 4.11.2
...
Closes https://github.com/espressif/idf-installer/issues/305
2025-06-30 17:48:29 +08:00
Marek Fiala
52badb9186
fix(tools): idf_tools.py uninstall decide based on preferred tool version
...
idf_tools.py uninstall now doesn't take only recommended version, but
makes the decision based on preferred installed versions.
2025-06-20 11:54:12 +02:00
Marek Fiala
1313fe8edc
test(tools): Added test for installing supported tool version
...
Added test_export_supported_version_cmake in `test_idf_tools.py`,
that installs and exports supported version of tool - cmake.
2025-06-20 11:54:12 +02:00
Marek Fiala
820a7fd21c
fix(tools): idf_tools.py install tool@version
2025-06-20 11:54:12 +02:00
Marek Fiala
70d12d61e9
fix(tools): idf.py create-project works in read-only ESP-IDF
...
As the native copy function shutil.copyfile preserves directories metadata
such as file permissions, we need to ensure the copied destination
is writable for owner.
Closes https://github.com/espressif/esp-idf/issues/15964
Closes https://github.com/espressif/esp-idf/pull/16021
2025-06-20 11:52:27 +02:00
Marek Fiala
ccfb41895d
feat(tools): adjusted create_ext.py by ruff formatter
2025-06-20 11:52:27 +02:00
Marek Fiala
d46f3f8801
fix(test): Temporarily disable test_cli_installer_win
2025-06-19 16:12:21 +08:00
Marek Fiala
e9e995bd0a
fix(tools): Enabled removing requirements.* files
2025-06-11 11:12:49 +02:00
Marek Fiala
995c0777f8
Merge branch 'fix/failing_custom_cmake_host_win' into 'master'
...
fix(Tools): failing test_build_custom_cmake_project (Win, MacOS runners)
Closes IDF-12682
See merge request espressif/esp-idf!37932
2025-04-16 16:01:23 +08:00
Marek Fiala
1507ec7466
fix(test): Proper cleanup after build_custom_cmake pytest
...
The test create build folder in current directory which
in this case is defined by (test_app_copy).
It also creates sdkconfig file in cmake source directory, which
is defined as $IDF_PATH/examples/build_system/cmake/idf_as_lib
The fixtures ensures proper cleanup even when test fails.
2025-04-15 15:09:27 +02:00
Marek Fiala
58b3c60f59
fix(tools): Update ruff-format changes
2025-04-15 15:09:27 +02:00
Marek Fiala
c288935305
ci(tools): Run Win build system tests when patterns-build_system changed
2025-04-15 15:09:27 +02:00
Marek Fiala
87a118361f
test(tools): skip custom cmake project test for host on Win
2025-04-15 15:09:27 +02:00
Marek Fiala
1469ee767f
feat(tools): Remove PATH duplicity from first call of tools/activate.py
2025-03-13 14:44:52 +01:00
Marek Fiala
5e7e9dd667
feat(tools): Deactivate current ESP-IDF environment with every export run
...
Unix systems only
2025-03-13 14:44:52 +01:00
Marek Fiala
a09fdf2f3e
feat(tools): Safer clearing IDF_PYTHON_ENV_PATH if existing
2025-03-13 17:14:01 +08:00
Marek Fiala
2c814ef2fa
feat(tools): Enforce utf-8 encoding with open() function
2024-12-27 17:12:21 +08:00
Marek Fiala
bfaceabefb
fix(tools): Use ESP_PYTHON with activate.py in export.fish
...
Closes https://github.com/espressif/esp-idf/issues/15058
2024-12-19 15:05:45 +01:00
Marek Fiala
dd31a41303
fix(tools): Enable to use IDF_PATH with export.sh
2024-12-18 13:38:47 +01:00
Marek Fiala
5930a422d7
fix(tools): Fixed timeout and path bug for test_cli_installer_win
2024-12-16 14:55:16 +01:00
Marek Fiala
0b78083595
fix(tools): fixed test_create_project_with_idf_readonly on Win
2024-12-16 14:55:15 +01:00
Marek Fiala
d7d1cc7c23
fix(tools): IDF_PATH_OLD not found in PowerShell
2024-11-26 12:40:46 +01:00
Marek Fiala
cad15b50c4
feat(tools): Inform user about IDF_PATH set/change in install/export scripts
2024-11-25 15:56:16 +08:00
Marek Fiala
d7d8828824
docs(tools): Mention idf_version.txt and ESP_IDF_VERSION in documentation
2024-11-11 16:08:47 +01:00
Marek Fiala
26002e13fc
feat(tools): Imporve activate.py debug information
2024-11-05 13:53:00 +01:00
Marek Fiala
7de166e882
fix(tools): Enable multiuser/multiinstance use of activate script
2024-10-21 16:23:55 +02:00
Marek Fiala
6ec1e9107f
feat(tools): Move sample_project from examples to tools
...
Extended example readme.md by further development options.
2024-09-16 09:12:50 +02:00
Marek Fiala
f90b847cb1
Merge branch 'fix/correct_shell_detection' into 'master'
...
fix(tools): Corrected detect_shell
See merge request espressif/esp-idf!33365
2024-09-06 19:22:15 +08:00
Marek Fiala
24ae042bba
fix(tools): Corrected detect_shell
...
When comparing process name with python,
lowercase the process name in condition.
2024-09-06 11:11:50 +02:00
Marek Fiala
7b417fc3f2
feat(tools): Add backup option to use legacy export script
...
This feature serves as an immediate fix in case
the new export approach causes issues.
The user can simply set the environment variable `ESP_IDF_LEGACY_EXPORT`,
and the old export script will be used.
2024-09-05 10:13:05 +02:00
Marek Fiala
88527faff8
feat(tools): Added Windows shells support + refactoring
2024-09-05 10:13:04 +02:00
Marek Fiala
ccf5989505
feat(tools): Exclude modified folders by rebuild
2024-09-04 12:48:15 +02:00
Marek Fiala
f0ca91b103
feat(tools): Update tools: cmake, ninja, ccache
...
cmake v3.24.0 -> v3.30.2
ninja v1.11.1 -> v1.12.1
ccache v4.8 -> v4.10.2
Closes https://github.com/espressif/esp-idf/pull/14376
2024-09-04 12:48:14 +02:00
Marek Fiala
46efcd09c7
Merge branch 'fix/ci_win_kconfig' into 'master'
...
fix(Tools): failing Win CI tests
Closes IDF-10514 and IDF-10764
See merge request espressif/esp-idf!32446
2024-08-22 00:28:48 +08:00
Marek Fiala
364f777f96
feat(tools): Allow test_spaces_bundle4 to fail on Win
2024-08-21 14:37:06 +02:00
Marek Fiala
e95aff7ca9
feat(tools): sanitize all fixtures using test names
...
The parametrization include `[` and `]` in names. This is not
possible to use within path. Expand the sanitization into all
fixtures using request.node.name.
2024-08-21 14:37:06 +02:00
Marek Fiala
ccbb415be8
feat(tools): add pytest mark idf_copy_with_space
2024-08-21 14:37:05 +02:00
Marek Fiala
f0e8966ca5
feat(tools): Use custom directory in failing pytest
2024-08-21 14:37:05 +02:00
Marek Fiala
55112978fd
feat(tools): json schema verifies that no additional properties are used
...
Closes https://github.com/espressif/esp-idf/issues/13853
Closes https://github.com/espressif/esp-idf/pull/13854
2024-05-27 16:24:56 +02:00
Marek Fiala
e351a4407a
fix(tools): fix failing create readonly project build system test
...
Changed the way of removing copied esp-idf folder.
2024-04-30 16:42:05 +02:00
Marek Fiala
f2b75d81b3
fix(system): fix idf.py build ulp examples containing spaces in path on Win
2024-04-09 14:00:34 +02:00
Marek Fiala
c21cdf0a1f
feat(tools): produce correct err code in export/install .bat scripts
...
Plus unify labels to begin with underscore
2024-03-01 13:00:09 +01:00
Marek Fiala
54be450c4a
feat(tools): detect linux platform only on linux systems
...
Closes https://github.com/espressif/esp-idf/issues/13148
2024-02-22 19:30:11 +08:00
Marek Fiala
da43126f02
feat(tools): idf_tools.py unsupported platforms
...
Plus improved error messages about platform detection.
Closes https://github.com/espressif/esp-idf/issues/12959
Closes https://github.com/espressif/esp-idf/issues/12865
2024-02-22 19:30:11 +08:00
Marek Fiala
65db8bf7a9
refactor(tools): Split build pytest into multiple jobs
2024-02-08 13:49:28 +01:00
Marek Fiala
52da5b765f
feat(tools): Run skipped build system pytests on Win
2024-02-08 11:23:51 +01:00
Marek Fiala
375c22ecdb
feat(tools): Update Windows runners tags
2024-02-02 15:04:40 +01:00
Marek Fiala
a97e355e74
feat(tools): Run Tools related host tests on Win
2024-02-02 14:58:04 +01:00
Marek Fiala
c8e218c0ae
docs(tools): Add example and resctriction note to setting IDF_TOOLS_PATH
...
Closes https://github.com/espressif/esp-idf/issues/12539
2023-12-15 11:50:38 +00:00
Marek Fiala
9757c8f7c9
docs(tools): Add idf.py file argument parsing to idf.py doc
2023-12-15 11:50:38 +00:00
Marek Fiala
04ade501aa
feat(tools): Disable failing build system tests on Windows runner
2023-11-29 23:10:38 +01:00
Marek Fiala
b535ec9a99
feat(tools): Fix some failing tests on Windows runner
2023-11-29 23:10:38 +01:00
Marek Fiala
0a3b57e48a
feat(tools): Add pytest build system on Windows runner
2023-11-29 23:10:37 +01:00
Marek Fiala
56e3e8ce56
feat(tools): Option in tools.json to rename toolchanis being downloaded
...
- Implemented condition that version 1 of tools.json must not contain
new rename_dist keyword in any of #/definitions/versionInfo properties.
2023-10-17 12:28:02 +02:00
Marek Fiala
562bb6783a
feat(tools): Update ninja to v1.11.1
2023-10-17 11:52:22 +02:00
Marek Fiala
addbc79ee7
refactor(tools): shellcheck pass modification
...
Closes https://github.com/espressif/esp-idf/pull/12247
2023-10-03 13:41:05 +02:00
Marek Fiala
37c7c5b58d
feat(tools): Add shellcheck for shell scripts to CI
...
- shellcheck fixes in shell scripts
2023-10-03 10:57:29 +02:00
Marek Fiala
b39e541652
feat(tools): Do not run test_create_project_with_idf_readonly on macOS
...
It corrupts environment on macOS runner because it uses shell, not docker-executor,
and makes all tree read-only for a non-root user.
+ Replace examples with real files in example README.md
2023-08-31 12:54:19 +02:00
Marek Fiala
8ad3c8ca1f
refactor(tools): Run build system pytest on macos
2023-08-31 12:54:19 +02:00
Marek Fiala
7d2d8b7839
refactor(tools): Remove test_build_system_cmake.sh & test_build_system_spaces.py
2023-08-31 12:54:19 +02:00
Marek Fiala
608b6e5480
feat(tools): Add dl.espressif.cn IDF_GITHUB_ASSET to documentation
2023-08-31 07:46:36 +00:00
Marek Fiala
630b77094f
feat(tools): Added Windows-ARM64 support
...
Closes https://github.com/espressif/esp-idf/issues/10345
2023-08-24 16:27:17 +02:00
Marek Fiala
13a26e56e1
feat(tools): idf.py adding arguments from file via @filename.txt - readme update
2023-08-09 13:47:25 +02:00
Marek Fiala
7943e01850
refactor(tools): Rewrite build system unit tests to python
...
Rewritten tests: test_build_system_spaces.py
2023-08-08 16:41:30 +02:00
Marek Fiala
076779f419
feat(tools): idf.py adding arguments from file via @filename.txt
...
- moved test inputs to one directory
- removed `-` from test arguments
Closes https://github.com/espressif/esp-idf/pull/11821
Closes https://github.com/espressif/esp-idf/issues/11783
2023-07-25 10:29:09 +02:00
Marek Fiala
f4e3c9c03a
refactor(tools): Rewrite build system unit tests to python
...
Rewritten parts:
- git
- version
- build
2023-07-18 15:51:04 +02:00
Marek Fiala
e8ee59f68b
fix(tools): create-project with proper file permission - pre-commit fix
...
Closes https://github.com/espressif/esp-idf/pull/11836
2023-07-18 14:08:37 +02:00
Marek Fiala
206c46325a
fix(tools): Tool curses import check
...
Verify that curses tool can be successfully imported on unix systems
When detected:
- installing esp-idf -> reinstall python environment
- using idf.py menuconfig -> raise error with hint message
Closes https://github.com/espressif/esp-idf/issues/11643
2023-07-12 13:23:06 +00:00
Marek Fiala
5033637899
Tools: Rewrite build system unit tests to python - partitions, components, docs
2023-06-14 12:17:53 +00:00
Marek Fiala
ae99820399
Tools bugfix: Removed working directory when using idf.py
...
Added check for existence of current working directory when using idf.py
Closes https://github.com/espressif/esp-idf/issues/11476
2023-06-09 08:46:26 +00:00
Marek Fiala
fb0dc46183
Tools: Rewrite build system unit tests to python - sdkconfig, bootloader, components
2023-05-23 09:47:39 +00:00
Marek Fiala
b4446e1748
Tools: Rewrite build system unit tests to python - cmake libraries and Kconfig
2023-03-28 11:20:42 +02:00
Marek Fiala
b65500fd63
Tools: update ccache 4.6.2 -> 4.8
2023-03-22 16:26:21 +01:00
Marek Fiala
165c0d852b
Tools: Rewrite build system unit tests to python - other target tests
2023-02-09 16:08:04 +01:00
Marek Fiala
a7a401eb28
Tools: dfu-util upgrade 0.9 -> 0.11
...
Closes https://github.com/espressif/esp-idf/issues/10558
2023-02-03 15:34:23 +01:00
Marek Fiala
9beb663f1a
Tools: Rewrite build system unit tests to python - rebuild tests
2023-01-27 09:55:52 +00:00
Marek Fiala
22f1a87891
Tools: bugfix Export script offers cmake & ninja for removal on macOS
2022-11-18 17:31:49 +01:00
Marek Fiala
c63ec6cf08
Tools: Support ESP-IDF installed in system-wide shared directory for all users
...
Closes: https://github.com/espressif/esp-idf/issues/9329
Closes: https://github.com/espressif/esp-idf/pull/9328
2022-09-16 09:15:19 +02:00
Marek Fiala
5974f495b6
Fix macOS compatibility
...
command "readlink -m" was not compatible with macOS.
2022-08-31 14:38:24 +02:00
Marek Fiala
24fc499b6c
Tools: Added test_idf_tools_python_env output log file
2022-08-14 00:28:16 +02:00
Marek Fiala
2968b3b946
Tools: Resolve symlinks when installing ESP-IDF using install.sh
...
Closes: https://github.com/espressif/esp-idf/pull/9375
2022-07-19 21:13:00 +02:00
Marek Fiala
9c0969b512
Tools: Export selected target actions
...
Added option --json to action help, for export selected target actions
2022-07-19 20:02:55 +02:00
Marek Fiala
e519915823
Merge branch 'feature/disable_option_install_script' into 'master'
...
Tools: --disable-* argument for removing features
Closes IDF-4398 and IDF-4342
See merge request espressif/esp-idf!18194
2022-07-01 17:18:50 +08:00
Marek Fiala
90a69c4490
Tools: --disable-* argument for removing features
...
Optional argument --disable-* for removing features in install scripts.
2022-06-30 12:31:59 +02:00
Marek Fiala
d558b511da
Tools: Auto-detect IDF_PATH in export.fish, fix setting environmental variables
...
Edited GitHub user's change to keep the echo message consistent with other export scripts
Fixed working with environmental variables in fish.
pull request sha: 5a646b8067
2022-06-23 14:42:35 +02:00
Marek Fiala
0bf264a948
tools: bugfix - broken export script while working with esp-idf file
...
+ bugfix IDF_PATH detection in sh and dash shells.
+ created Classes that represents idf-env.json file
2022-04-24 22:29:18 +02:00
Marek Fiala
b5c374ae3e
tools: Deprecated commands removed from idf.py
...
Remove deprecated commands from idf.py, but they are still kept working as cmake deprecated targets.
2022-03-25 09:08:53 +01:00
Marek Fiala
029de43db3
tools: bugfix export.sh change IDF_PATH only if file is esp-idf
...
Set the self_path where the export.sh script is located, not the sourcing directory.
2022-03-15 11:24:09 +01:00
Marek Fiala
df16a45d7a
tools: Switching between ESP-IDF versions
...
Support switching between ESP-IDF versions on UNIX systems.
2022-03-11 12:57:25 +01:00
Marek Fiala
3f6add5964
tools: set baudrate and port with otatool.
...
Bugfix: Allow setting options port -p and baudrate -b, with idf.py otatool commands.
Closes https://github.com/espressif/esp-idf/issues/8317
2022-03-11 12:27:58 +01:00