From 580ffc5621f91da4f6f35fa66aa127761dd0b44f Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Thu, 29 Aug 2024 11:29:49 +0300 Subject: [PATCH] Allow manual override of system type --- envvars.rst | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/envvars.rst b/envvars.rst index 2cf52fc814..386a9b6b2c 100644 --- a/envvars.rst +++ b/envvars.rst @@ -11,7 +11,7 @@ .. _envvars: -Environment variables +Environment Variables ===================== `Environment variables `_ @@ -79,6 +79,17 @@ Disable progress bar for package/library downloader and uploader. This is useful when calling PlatformIO from subprocess and output is a ``pipe`` (not a ``tty``). The possible values are ``true`` and ``false``. Default is ``PLATFORMIO_DISABLE_PROGRESSBAR=false``. +.. envvar:: PLATFORMIO_SYSTEM_TYPE + +This environment variable allows you to manually specify the system type, overriding the automatic detection. +Examples: + +* ``windows_amd64`` +* ``windows_arm64`` +* ``linux_x86_64`` +* ``linux_armv7l`` +* ``darwin_arm64`` + Directories -----------