platformio-core icon indicating copy to clipboard operation
platformio-core copied to clipboard

allow manual override of system type

Open shadow578 opened this issue 1 year ago • 2 comments
trafficstars

adds a check for PLATFORMIO_SYSTEM_TYPE environment variable in the system type detection, so that the system type may be defined manually by the user.

this should help in cases where the detection fails, e.g. on windows on arm64 systems that support x86 emulation. in those cases, it'd be ok for platformio to pretend like the system is windows_x86, since x86 binaries are executed through emulation.

see https://community.platformio.org/t/windows-on-arm64-problem-installing-xtensa-toolchain/25497 for more details.

shadow578 avatar Jul 22 '24 06:07 shadow578

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Jul 22 '24 06:07 CLAassistant

Hi @ivankravets,

is there anything preventing this PR from getting merged? judging by the linked issue, it seems like people are beign recommended to patch their platformio installations to include this fix, so it probably works :)

shadow578 avatar Aug 27 '24 08:08 shadow578

Thanks for the PR!

ivankravets avatar Aug 29 '24 08:08 ivankravets