feat(tools): Add xtensa-lx106-elf toolchain url

This commit is contained in:
Li Qing Qiao
2020-09-08 17:09:51 +08:00
committed by Wu Jian Gang
parent 7b40b23a17
commit a05d6003da
4 changed files with 140 additions and 119 deletions

View File

@ -800,7 +800,7 @@ def get_python_env_path():
idf_version = match.group(1)
idf_python_env_path = os.path.join(global_idf_tools_path, 'python_env',
'idf{}_py{}_env'.format(idf_version, python_ver_major_minor))
'rtos{}_py{}_env'.format(idf_version, python_ver_major_minor))
if sys.platform == 'win32':
subdir = 'Scripts'
@ -1066,7 +1066,7 @@ def action_install_python_env(args):
subprocess.check_call([sys.executable, '-m', 'pip', 'install', '--user', 'virtualenv'],
stdout=sys.stdout, stderr=sys.stderr)
subprocess.check_call([sys.executable, '-m', 'virtualenv', '--no-site-packages', idf_python_env_path],
subprocess.check_call([sys.executable, '-m', 'virtualenv', idf_python_env_path],
stdout=sys.stdout, stderr=sys.stderr)
run_args = [virtualenv_python, '-m', 'pip', 'install', '--no-warn-script-location']
requirements_txt = os.path.join(global_idf_path, 'requirements.txt')