Installing Marlin (PlatformIO)
Before reading this article, you should have already read Installing Marlin and downloaded the Marlin source code. If you haven’t done these steps yet, take one step back, then follow the link back to this page to continue the process.
PlatformIO is available as a stand alone CLI tool and as a plugin for many programming environments. Editors that have some form of PlatformIO support include:
- Microsoft Visual Studio Code (aka VSCode)
Github’s free Atom text editor
- Sublime Text 3
Install PlatformIO as a stand alone CLI or with your choice of environment using the links below:
As of this writing, Atom can still be used to some extent, but going forward PlatformIO will be focusing its main support on Visual Studio Code, so this is the editor we recommend, and it’s a very good environment.
Auto Build Marlin
To make things a bit easier we’ve published a Visual Studio Code extension (download here) that provides a simplified interface to build and upload Marlin. See the Auto Build Marlin page for more details.