Skip to content

Commit 7caa067

Browse files
authored
Update platform.py
1 parent bfd06b4 commit 7caa067

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

platform.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@
2323

2424

2525
IS_WINDOWS = sys.platform.startswith("win")
26+
# Set Platformio env var to use windows_amd64 for all windows architectures
27+
# only windows_amd64 native espressif toolchains are available
28+
# needs platformio core >= 6.1.16b2 or pioarduino core 6.1.16+test
29+
if IS_WINDOWS:
30+
os.environ["PLATFORMIO_SYSTEM_TYPE"] = "windows_amd64"
2631

2732

2833
class Espressif32Platform(PlatformBase):

0 commit comments

Comments
 (0)