Skip to content

Commit e70092c

Browse files
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
1 parent 45feadc commit e70092c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/get.py

+2
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,8 @@ def identify_platform():
113113
sys_name = 'Windows'
114114
if 'MSYS_NT' in sys_name:
115115
sys_name = 'Windows'
116+
if 'MINGW' in sys_name:
117+
sys_name = 'Windows'
116118
return arduino_platform_names[sys_name][bits]
117119

118120
def main():

0 commit comments

Comments
 (0)