Home

Awesome

<p align="center"><img src="buildroot/share/pixmaps/logo/marlin-outrun-nf-500.png" height="250" alt="MarlinFirmware's logo" /></p> <h1 align="center">Marlin 3D Printer Firmware</h1> <p align="center"> <a href="/LICENSE"><img alt="GPL-V3.0 License" src="https://img.shields.io/github/license/marlinfirmware/marlin.svg"></a> <a href="https://github.com/MarlinFirmware/Marlin/graphs/contributors"><img alt="Contributors" src="https://img.shields.io/github/contributors/marlinfirmware/marlin.svg"></a> <a href="https://github.com/MarlinFirmware/Marlin/releases"><img alt="Last Release Date" src="https://img.shields.io/github/release-date/MarlinFirmware/Marlin"></a> <a href="https://github.com/MarlinFirmware/Marlin/actions/workflows/ci-build-tests.yml"><img alt="CI Status" src="https://github.com/MarlinFirmware/Marlin/actions/workflows/ci-build-tests.yml/badge.svg"></a> <a href="https://github.com/sponsors/thinkyhead"><img alt="GitHub Sponsors" src="https://img.shields.io/github/sponsors/thinkyhead?color=db61a2"></a> <br /> <a href="https://fosstodon.org/@marlinfirmware"><img alt="Follow MarlinFirmware on Mastodon" src="https://img.shields.io/mastodon/follow/109450200866020466?domain=https%3A%2F%2Ffosstodon.org&logoColor=%2300B&style=social"></a> </p>

Additional documentation can be found at the Marlin Home Page. Please test this firmware and let us know if it misbehaves in any way. Volunteers are standing by!

Marlin 2.1 Bugfix Branch

Not for production use. Use with caution!

Marlin 2.1 takes this popular RepRap firmware to the next level by adding support for much faster 32-bit and ARM-based boards while improving support for 8-bit AVR boards. Read about Marlin's decision to use a "Hardware Abstraction Layer" below.

This branch is for patches to the latest 2.1.x release version. Periodically this branch will form the basis for the next minor 2.1.x release.

Download earlier versions of Marlin on the Releases page.

Example Configurations

Before you can build Marlin for your machine you'll need a configuration for your specific hardware. Upon request, your vendor will be happy to provide you with the complete source code and configurations for your machine, but you'll need to get updated configuration files if you want to install a newer version of Marlin. Fortunately, Marlin users have contributed dozens of tested configurations to get you started. Visit the MarlinFirmware/Configurations repository to find the right configuration for your hardware.

Building Marlin 2.1

To build and upload Marlin you will use one of these tools:

Marlin is optimized to build with the PlatformIO IDE extension for Visual Studio Code. You can still build Marlin with Arduino IDE, and we hope to improve the Arduino build experience, but at this time PlatformIO is the better choice.

8-Bit AVR Boards

We intend to continue supporting 8-bit AVR boards in perpetuity, maintaining a single codebase that can apply to all machines. We want casual hobbyists and tinkerers and owners of older machines to benefit from the community's innovations just as much as those with fancier machines. Plus, those old AVR-based machines are often the best for your testing and feedback!

Hardware Abstraction Layer (HAL)

Marlin includes an abstraction layer to provide a common API for all the platforms it targets. This allows Marlin code to address the details of motion and user interface tasks at the lowest and highest levels with no system overhead, tying all events directly to the hardware clock.

Every new HAL opens up a world of hardware. At this time we need HALs for RP2040 and the Duet3D family of boards. A HAL that wraps an RTOS is an interesting concept that could be explored. Did you know that Marlin includes a Simulator that can run on Windows, macOS, and Linux? Join the Discord to help move these sub-projects forward!

Supported Platforms

PlatformMCUExample Boards
Arduino AVRATmegaRAMPS, Melzi, RAMBo
Teensy++ 2.0AT90USB1286Printrboard
Arduino DueSAM3X8ERAMPS-FD, RADDS, RAMPS4DUE
ESP32ESP32FYSETC E4, E4d@BOX, MRR
LPC1768ARM® Cortex-M3MKS SBASE, Re-ARM, Selena Compact
LPC1769ARM® Cortex-M3Smoothieboard, Azteeg X5 mini, TH3D EZBoard
STM32F103ARM® Cortex-M3Malyan M200, GTM32 Pro, MKS Robin, BTT SKR Mini
STM32F401ARM® Cortex-M4ARMED, Rumba32, SKR Pro, Lerdge, FYSETC S6, Artillery Ruby
STM32F7x6ARM® Cortex-M7The Borg, RemRam V1
STM32G0B1RET6ARM® Cortex-M0+BigTreeTech SKR mini E3 V3.0
STM32H743xIT6ARM® Cortex-M7BigTreeTech SKR V3.0, SKR EZ V3.0, SKR SE BX V2.0/V3.0
SAMD51P20AARM® Cortex-M4Adafruit Grand Central M4
Teensy 3.5ARM® Cortex-M4
Teensy 3.6ARM® Cortex-M4
Teensy 4.0ARM® Cortex-M7
Teensy 4.1ARM® Cortex-M7
Linux Nativex86/ARM/etc.Raspberry Pi
All supported boardsAll platformsAll boards

Marlin Support

The Issue Queue is reserved for Bug Reports and Feature Requests. Please use the following resources for help with configuration and troubleshooting:

Contributing Patches

You can contribute patches by submitting a Pull Request to the (bugfix-2.1.x) branch.

Contributors

Marlin is constantly improving thanks to a huge number of contributors from all over the world bringing their specialties and talents. Huge thanks are due to all the contributors who regularly patch up bugs, help direct traffic, and basically keep Marlin from falling apart. Marlin's continued existence would not be possible without them.

Marlin Firmware original logo design by Ahmet Cem TURAN @ahmetcemturan.

Project Leadership

NameRoleLinkDonate
🇺🇸 Scott LahteineProject Lead[@thinkyhead]💸 Donate
🇺🇸 Roxanne NeufeldAdmin[@Roxy-3D]
🇺🇸 Keith BennettAdmin[@thisiskeithb]💸 Donate
🇺🇸 Jason SmithAdmin[@sjasonsmith]
🇧🇷 Victor OliveiraAdmin[@rhapsodyv]
🇬🇧 Chris PepperAdmin[@p3p]
🇳🇿 Peter EllensAdmin[@ellensp]💸 Donate
🇺🇸 Bob KuhnAdmin[@Bob-the-Kuhn]
🇳🇱 Erik van der ZalmFounder[@ErikZalm]

Star History

<a id="starchart" href="https://star-history.com/#MarlinFirmware/Marlin&Date"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=MarlinFirmware/Marlin&type=Date&theme=dark" /> <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=MarlinFirmware/Marlin&type=Date" /> <img alt="Star History Chart" src="https://api.star-history.com/svg?repos=MarlinFirmware/Marlin&type=Date" /> </picture> </a>

License

Marlin is published under the GPL license because we believe in open development. The GPL comes with both rights and obligations. Whether you use Marlin firmware as the driver for your open or closed-source product, you must keep Marlin open, and you must provide your compatible Marlin source code to end users upon request. The most straightforward way to comply with the Marlin license is to make a fork of Marlin on Github, perform your modifications, and direct users to your modified fork.