Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow manual override of system type #4952

Merged
merged 2 commits into from
Aug 29, 2024

Conversation

shadow578
Copy link
Contributor

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.

@CLAassistant
Copy link

CLAassistant commented Jul 22, 2024

CLA assistant check
All committers have signed the CLA.

@shadow578
Copy link
Contributor Author

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 :)

@ivankravets ivankravets merged commit f172684 into platformio:develop Aug 29, 2024
1 check passed
@ivankravets
Copy link
Member

Thanks for the PR!

@shadow578 shadow578 deleted the fix/system-type-override branch August 29, 2024 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants