Hi
Is it possible to use arduino-cli under Windows XP?
Maybe it's possible re-compile arduino-cli from sources to create exe running under Windows XP?
Arduino 1.8.6 runs here on XP in a VM. Using custom install with download zip file, unzip into new Arduino folder and run Arduino.exe. Code examples compile, didn't check upload to boards.
Arduino CLI is written in the "Go" programming language.
The last version of Go with stated support for Windows XP is 1.10:
https://go.dev/doc/go1.10#ports
Go 1.10 is the last release that will run on Windows XP or Windows Vista. Go 1.11 will require Windows 7 or later.
Historically, the updates to using a new Go version were the cause of OS compatibility losses in the "arduino-builder" tool that was the ancestor of Arduino CLI. So I think think that getting Arduino CLI building with the older Go version would be the first endeavor.
Go 1.17 is currently used for the development of the Arduino CLI project and there is no guarantee of support for any previous version:
But this change was made only for maintenance reasons. There was no specific technical reason why it was necessary to drop Go 1.16, and no significant code changes since that time. As for older versions of Go, that is anyone's guess, since a lot has happened in the Arduino CLI code base since the last bump of Go.
Just because Go drops stated support for an OS version doesn't necessarily mean that it stops working on that OS version. It only means that the people developing the language abandon all attempts to avoid such breakage.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.