Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to select only specific targets for installation #23

Closed
georgik opened this issue May 31, 2021 · 4 comments
Closed

Option to select only specific targets for installation #23

georgik opened this issue May 31, 2021 · 4 comments
Assignees

Comments

@georgik
Copy link
Collaborator

georgik commented May 31, 2021

Add an option to select targets for the installation so that the installation size is smaller and toolchains which are not required for the target/series is not installed.

@georgik georgik self-assigned this May 31, 2021
@georgik
Copy link
Collaborator Author

georgik commented May 31, 2021

idf_tools throws error in case of unknown parameter:

Running command: C:\projects\tmp\.espressif\tools\idf-python\3.8.7\python.exe "C:\Users\USER\Desktop\esp-idf-4.1.1\tools\idf_tools.py" --idf-path C:\Users\USER\Desktop\esp-idf-4.1.1\ --targets=esp32,esp32-c3,esp32-s3,esp32-s2 install
                          usage: idf_tools.py [-h] [--quiet] [--non-interactive]
                                              [--tools-json TOOLS_JSON] [--idf-path IDF_PATH]
                                              {list,check,export,install,download,install-python-env}
                                              ...
                          idf_tools.py: error: unrecognized arguments: --targets=esp32,esp32-c3,esp32-s3,esp32-s2

There must be also additional check in installer whether idf_tools has the support for selecting target.

@georgik georgik added this to the 2.9 milestone May 31, 2021
@georgik
Copy link
Collaborator Author

georgik commented Jun 1, 2021

The list of enabled components should be filtered based on
https://dl.espressif.com/dl/esp-idf/idf_versions.js

@georgik
Copy link
Collaborator Author

georgik commented Jun 15, 2021

The feature is not ready in ESP-IDF side, postponing GUI part for next release.
FYI: @mfialaf

@georgik georgik removed this from the 2.9 milestone Jun 15, 2021
georgik added a commit that referenced this issue Jul 29, 2021
@georgik
Copy link
Collaborator Author

georgik commented Jul 29, 2021

Solved by #24

@georgik georgik closed this as completed Jul 29, 2021
georgik added a commit that referenced this issue Aug 10, 2021
* tools: support for launching ESP-IDF from different directory (#34)
* tools: #23 add support for specific target selection (#24)
* tools: update to Eclipse 2021-07 (#40)
* offline: update version of ESP-IDF to 4.2.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant