Skip to content

Settings Menu

Renaud Gaspard edited this page Apr 1, 2021 · 7 revisions

The Settings Menu is where you can easily configure the plugin. It's also that same settings page that will be shown once you have installed the plugin. This menu is divided into three sections. One for the global settings, and one per Flashing method (Arduino or PlatformIO).

Gloabal Settings

Global Settings

Platform

This is used to tell which flashing platform you will use to update Marlin. If you usually update Marlin using Arduino IDE, then pick Arduino. If you usually update your firmware using PlaformIO, then pick PlatformIO. PlatformIO is the only one to support more powerful 32bit boards.

Retrieving method

This is used to configure how you are going to provide the firmware to flash. Upload file means you'll need to provide a file that you will have to upload yourself. Download from URL means you'll have to provide a URL where the plugin will be able to download your firmware.

Maximum upload

This is the maximum file size that you will be able to upload. 20MB is typically enough for Marlin. This setting needs OctoPrint to be restarted to be taken into account.

Pre flash delay

This is the amount of time (in seconds) the plugin will wait before starting the flashing process (right after executing the pre flash script)

Pre flash script

This is a GCODE script that will be executed right before the flashing process begins.

Post flash delay

This is the amount of time (in seconds) the plugin will wait after finishing the flashing process (before reconnecting the printer and before executing the post flash script)

Post flash script

This is a GCODE script that will be executed right after the flashing process ends.

Arduino Settings

Arduino Settings

Path to arduino-cli

This is the full path to the arduino-cli executable. So if you did put yours in /opt, you will need to enter /opt/arduino-cli. On Windows this will look like C:\path\to\arduino-cli.exe.

Sketch .ino

This is the name of the Arduino Sketch file (the one with the .ino extension). For Marlin, Marlin.ino will work. This is useful if you want to flash something else than Marlin, or if yout specific Marlin sketch isn't named Marlin.ino.

Additional Boards URLs

This is useful if your board isn't supported by Arduino out of the box but can be installed via the board manager. For instance, the Anet A8 board can be flashed with arduino but with the Sanguino package. One per line.

PlatformIO Settings

PlatformIO Settings

Path to Platformio-Core

This is the full path to the platformio or pio executable where pip did install it.