Configuration File - Renaud11232/OctoPrint-Marlin-Flasher GitHub Wiki

In addition to the Settings Menu, you can also configure the plugin directly by modifying the configuration file. The configuration has the following structure :

plugins:
  marlin_flasher:
    arduino:
      sketch_ino: Marlin.ino
      cli_path: /path/to/arduino-cli
      additional_urls: 'https://what.ever/boards.json'
    platformio:
      cli_path: /path/to/platformio
    max_upload_size: 20
    platform_type: arduino
    pre_flash_script: 'M117 Pre flash'
    pre_flash_delay: 5
    post_flash_script: 'M117 Post flash'
    post_flash_delay: 5
    retrieving_method: upload