From e70092ca3e7a974f268521d85833ac58187f4649 Mon Sep 17 00:00:00 2001 From: "Earle F. Philhower, III" Date: Sun, 7 Jun 2020 10:53:48 -0700 Subject: [PATCH] Recognize MSYS(MINGW) as Windows for toolchain get (#7358) Add the ID string reported by MSYS's latest tools under Windows with the string "MINGW..." as "Windows" for toolchain selection in get.py --- tools/get.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/get.py b/tools/get.py index af39a10f3..8276a46f2 100755 --- a/tools/get.py +++ b/tools/get.py @@ -113,6 +113,8 @@ def identify_platform(): sys_name = 'Windows' if 'MSYS_NT' in sys_name: sys_name = 'Windows' + if 'MINGW' in sys_name: + sys_name = 'Windows' return arduino_platform_names[sys_name][bits] def main():