This repository has been archived on 2022-01-28. You can view files and clone it, but cannot push or open issues or pull requests.
Marlin-Artillery-M600/buildroot/share/vscode/AutoBuildMarlin
Scott Lahteine 1452e41ead
Auto Build fixes, updates (#15315)
Co-Authored-By: shitcreek <luulac85@gmail.com>
2019-09-20 00:45:03 -05:00
..
img Auto Build fixes, updates (#15315) 2019-09-20 00:45:03 -05:00
resources Auto Build fixes, updates (#15315) 2019-09-20 00:45:03 -05:00
.gitignore Auto Build for Visual Studio Code (#11014) 2018-06-13 18:49:47 -05:00
.vscodeignore Auto Build for Visual Studio Code (#11014) 2018-06-13 18:49:47 -05:00
extension.js Save files before starting AutoBuild (#13649) 2019-04-12 12:33:16 -05:00
logo.svg Auto Build fixes, updates (#15315) 2019-09-20 00:45:03 -05:00
package-lock.json Auto Build fixes, updates (#15315) 2019-09-20 00:45:03 -05:00
package.json Auto Build fixes, updates (#15315) 2019-09-20 00:45:03 -05:00
README.md Auto Build fixes, updates (#15315) 2019-09-20 00:45:03 -05:00
tsconfig.json Auto Build for Visual Studio Code (#11014) 2018-06-13 18:49:47 -05:00

Auto Build Marlin

"AutoBuildMarlin" is a Visual Studio Code extension that provides a one-button interface to build and upload Marlin Firmware to your selected MOTHERBOARD, removing the need to edit your platformio.ini file or scroll through a long list of Marlin environments.

Get PlatformIO

Before you install AutoBuildMarlin you'll first need to Install PlatformIO in VSCode. Once you have followed these instructions, continue below.

Installing This Extension

  • Download Marlin Firmware and unzip it to your documents folder.
  • Open the directory buildroot/share/vscode and copy the "AutoBuildMarlin" folder to the Visual Studio Code extensions directory.
  • Relaunch Visual Studio Code to complete the installation.

To find your extensions directory:

  • Windows - Use Windows Explorer's address bar to open C:/Users/USERNAME/.vscode/extensions.
  • Mac - Use the Finder's Go menu to open ~/.vscode/extensions.
  • Linux - In the Terminal type open ~/.vscode/extensions.

Usage

  • Open up the downloaded Marlin Firmware project folder (NOT the "Marlin" folder within) in Visual Studio Code. (You may also use the Import Project… option from the "PlaformIO Home" page.)

  • With Marlin open, the "File Explorer" should be firmly rooted in your Marlin Firmware folder:

  • Click the Marlin Auto Build icon AutoBuild Icon in the Activities Bar (on the left side of Visual Studio Code window) to bring up the Marlin Auto Build options bar.

  • Click one of the four icons

    Icon Action
    Start PIO Build to test your Marlin build
    Start PIO Clean to delete old build files
    Start PIO Upload to install Marlin on your board
    Start PIO Upload (traceback) to install Marlin with debugging