mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-31 19:24:33 +02:00
tools: print system platform
This commit is contained in:
committed by
Erhan Kurubas
parent
6ae22d9f3b
commit
e72017bb23
@@ -1417,10 +1417,11 @@ def action_install(args): # type: ignore
|
|||||||
tools_info = load_tools_info()
|
tools_info = load_tools_info()
|
||||||
tools_spec = args.tools # type: ignore
|
tools_spec = args.tools # type: ignore
|
||||||
targets = [] # type: list[str]
|
targets = [] # type: list[str]
|
||||||
|
info('Current system platform: {}'.format(CURRENT_PLATFORM))
|
||||||
# Installing only single tools, no targets are specified.
|
# Installing only single tools, no targets are specified.
|
||||||
if 'required' in tools_spec:
|
if 'required' in tools_spec:
|
||||||
targets = clean_targets(args.targets)
|
targets = clean_targets(args.targets)
|
||||||
info('Selected targets are: {}' .format(', '.join(get_user_defined_targets())))
|
info('Selected targets are: {}'.format(', '.join(get_user_defined_targets())))
|
||||||
|
|
||||||
if not tools_spec or 'required' in tools_spec:
|
if not tools_spec or 'required' in tools_spec:
|
||||||
# Installing tools for all ESP_targets required by the operating system.
|
# Installing tools for all ESP_targets required by the operating system.
|
||||||
|
Reference in New Issue
Block a user