We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1bd5096 commit bd8366aCopy full SHA for bd8366a
platform.py
@@ -12,8 +12,17 @@
12
# See the License for the specific language governing permissions and
13
# limitations under the License.
14
15
+import os
16
+import sys
17
+
18
from platformio.public import PlatformBase
19
20
+IS_WINDOWS = sys.platform.startswith("win")
21
+# Set Platformio env var to use windows_amd64 for all windows architectures
22
+# only windows_amd64 native espressif toolchains are available
23
+# needs platformio core >= 6.1.16b2 or pioarduino core 6.1.16+test
24
+if IS_WINDOWS:
25
+ os.environ["PLATFORMIO_SYSTEM_TYPE"] = "windows_amd64"
26
27
class Espressif8266Platform(PlatformBase):
28
0 commit comments