Merge branch 'feature/idf_tools_darwin_arm64_v4.1' into 'release/v4.1'

tools: idf_tools.py: allow macOS x86_64 tools to be installed on arm64 (v4.1)

See merge request espressif/esp-idf!14073
This commit is contained in:
Anton Maklakov 2021-07-27 10:11:25 +00:00
commit d28158ca15

View File

@ -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,