# Marlin

> Firmware for RepRap 3D printers optimized for both 8 and 32 bit microcontrollers

Source: https://talira.ai/catalog/marlin-3x5xy6a2
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Firmware
- Categories: [manufacturing / 3d printing / firmware](https://talira.ai/categories/manufacturing/3d-printing/firmware)
- Licence: GPL-3.0-or-later[^2][^3]
- Pricing: Free and open source[^1]
- Pricing notes: Free and open source.
- Free tier: yes[^1]
- Runs on: AVR (ATmega), Microchip SAM3, ESP32, GigaDevice GD32, HDSC HC32, NXP LPC, STM32, Microchip SAM D, SAM C and SAM E5x, NXP Kinetis, NXP i.MX RT, Artery AT32[^1][^4]
- Flashed with: SD card, USB serial[^5]
- Configured with: Source code, commands[^5][^6]
- Devices: [Supported devices](https://marlinfw.org/docs/hardware/boards.html)[^1]
- Backed by: [Marlin Firmware](https://talira.ai/orgs/marlin-firmware.md)

Marlin is open source firmware for 3D printers that runs on the printer's control board, from 8-bit AVR boards to 32-bit ARM boards, and also drives CNC machines, lasers and spindles. Many commercial printers ship with it. It's configured by editing `Configuration.h` and `Configuration_adv.h` and building for the board with PlatformIO (the Auto Build Marlin extension for VS Code) or the online build service, and is controlled with G-code from a host or the printer's display. Pre-built firmware for popular printers installs by copying it to the SD card and restarting. A hardware abstraction layer supports AVR, STM32, ESP32, LPC176x, SAM3X (Arduino Due), SAMD, GD32, HC32, AT32 and Teensy boards, with an RP2040 HAL in beta.

## Links

- Website: https://marlinfw.org/
- GitHub: https://github.com/MarlinFirmware/Marlin
- Docs: https://marlinfw.org/docs/basics/introduction.html

## Problems it solves

- replace the stock firmware on my Ender 3 to get bed leveling and newer features
- my 3D printer's firmware doesn't support the BLTouch probe I just installed
- build custom firmware for the control board in my DIY 3D printer
- add input shaping and linear advance to my printer without buying a new mainboard
- turn on thermal runaway protection on an old printer
- upgrade my printer to a 32-bit board and need firmware that runs on it
- my printer lost power mid-print and I want it to resume where it stopped
- configure a printer with two extruders or a tool changer
- run a laser engraver or spindle from the same firmware as my printer

## Features

- runs on 8-bit AVR and 32-bit ARM boards from a single code base
- up to 9 coordinated axes and up to 8 extruders
- automatic, unified and mesh bed leveling
- input shaping, linear advance and fixed-time motion
- thermal protection, PID and model predictive temperature control
- power-loss recovery, filament runout sensors and filament change
- Cartesian, CoreXY, delta, SCARA and polar printers
- laser and spindle control for CNC
- pre-built firmware binaries for many popular printers
- Auto Build Marlin extension for VS Code and an online build service

## Trust

Overall: 0.27 out of 1.
Signals: backing 0.30, extensibility 0.00.

- backed by Marlin Firmware

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [Prusa Firmware Buddy](https://talira.ai/catalog/prusa-firmware-buddy-8357dpzd.md): Firmware for Prusa's 32-bit 3D printers
- [RepRapFirmware](https://talira.ai/catalog/reprapfirmware-tgjthjmn.md): Motion control firmware for 3D printers, CNC and laser machines on 32-bit ARM processors
- [Klipper](https://talira.ai/catalog/klipper-s038p6a4.md): Klipper is a 3d-printer firmware
- [Kalico](https://talira.ai/catalog/kalico-5qqfw0vx.md): Klipper, but Limitless

## Sources

[^1]: https://github.com/MarlinFirmware/Marlin/blob/bugfix-2.1.x/README.md (checked 23 Nov 2026)
[^2]: https://github.com/MarlinFirmware/Marlin/blob/bugfix-2.1.x/LICENSE (checked 23 Nov 2026)
[^3]: https://github.com/MarlinFirmware/Marlin/blob/bugfix-2.1.x/Marlin/src/MarlinCore.cpp (checked 23 Nov 2026)
[^4]: https://github.com/MarlinFirmware/Marlin/blob/bugfix-2.1.x/Marlin/src/core/boards.h (checked 23 Nov 2026)
[^5]: https://marlinfw.org/docs/basics/install.html (checked 23 Nov 2026)
[^6]: https://marlinfw.org/ (checked 23 Nov 2026)
