Coder Social home page Coder Social logo

avanosch / octoprint-marlin-flasher Goto Github PK

View Code? Open in Web Editor NEW

This project forked from renaud11232/octoprint-marlin-flasher

0.0 1.0 0.0 753 KB

Arduino/Marlin firmware flasher for OctoPrint

License: MIT License

Python 53.14% JavaScript 19.92% HTML 26.23% CSS 0.71%

octoprint-marlin-flasher's Introduction

OctoPrint-Marlin-Flasher Donate

This plugins makes the upgrade of your Marlin firmware possible directly within OctoPrint. Simply connect to your printer, upload your firmware code, select your motherboard type, and click flash. DONE.

It also supports PlatformIO so even 32 bits boards can be flashed!.

Screenshots

Arduino

Arduino Sketch

Arduino Cores

Arduino Libraries

Arduino Flash

PlatformIO

PlatformIO Sketch

PlatformIO Flash

Setup

Install via the bundled Plugin Manager or manually using this URL:

https://github.com/Renaud11232/Octoprint-Marlin-Flasher/archive/master.zip

Arduino

First, you'll need to download arduino-cli from their official GitHub page. Then all is left to do is to tell the plugin where you placed it via the settings.

PlatformIO

You first need to install PlatformIO-Core following their official documentation. Then as for Arduino, you need to tell the plugin where its installed.

Configuration

There are a few configurable options:

  • The name of the Arduino sketch (defaults to Marlin.ino)
  • The path to your arduino-cli executable
  • The additional boards urls (ie: Sanguino)
  • The path for your PlatformIO-Core executable
  • The maximum file upload size (defaults to 20MB)
  • The currently selected platform (Arduino, PlatformIO)
  • The GCODE scripts you want to run before and after the flashing process
  • Time delays to wait before and after the flashing process

All can be configured directly though the Settings menu. or via the config.yaml

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

Wiki

If you need more help on how to setup and use the plugin feel free to check the wiki

Need help ?

If you need help please open an issue.

Donations

If you like what I have done and feel generous, you can thank me by donating. Any amount is fine, I'll still be very thankful.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.