Просмотр исходного кода

Merge branch 'feature/idf_tools_darwin_arm64' into 'master'

tools: idf_tools.py: allow macOS x86_64 tools to be installed on arm64

See merge request espressif/esp-idf!11911
Ivan Grokhotkov 5 лет назад
Родитель
Сommit
f34925537e
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      tools/idf_tools.py

+ 2 - 0
tools/idf_tools.py

@@ -121,6 +121,8 @@ PLATFORM_FROM_NAME = {
     'osx': PLATFORM_MACOS,
     'darwin': PLATFORM_MACOS,
     'Darwin-x86_64': PLATFORM_MACOS,
+    # pretend it is x86_64 until Darwin-arm64 tool builds are available:
+    'Darwin-arm64': PLATFORM_MACOS,
     # Linux
     PLATFORM_LINUX64: PLATFORM_LINUX64,
     'linux64': PLATFORM_LINUX64,