From d73fa298d17040ded427815784f2068365455763 Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Thu, 7 Jan 2021 21:21:18 +0100 Subject: [PATCH] tools: idf_tools.py: allow macOS x86_64 tools to be installed on arm64 Until arm64 tool binaries are available, we can run existing x86_64 ones under emulation. Suggested in https://github.com/espressif/esp-idf/issues/6113. --- tools/idf_tools.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/idf_tools.py b/tools/idf_tools.py index 12eee55f42..074bdfb13c 100755 --- a/tools/idf_tools.py +++ b/tools/idf_tools.py @@ -112,6 +112,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,