MCPcopy Create free account
hub / github.com/MarlinFirmware/Marlin

github.com/MarlinFirmware/Marlin @2.1.3-b3

Chat with this repo
repository ↗ · DeepWiki ↗ · release 2.1.3-b3 ↗ · + Follow
12,873 symbols 33,863 edges 2,805 files 2,634 documented · 20% updated 8d ago2.1.1.6 · 2026-07-03★ 17,475676 open issues

Browse by type

Functions 11,590 Types & classes 1,283
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

MarlinFirmware's logo

Marlin 3D Printer Firmware

<a href="https://github.com/MarlinFirmware/Marlin/raw/2.1.3-b3/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/raw/2.1.3-b3/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/raw/2.1.3-b3/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/raw/2.1.3-b3/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/MarlinFirmware/Marlin/raw/2.1.3-b3/github.com/sponsors/thinkyhead"><img alt="GitHub Sponsors" src="https://img.shields.io/github/sponsors/thinkyhead?color=db61a2"></a>



<a href="https://github.com/MarlinFirmware/Marlin/raw/2.1.3-b3/bsky.app/profile/marlinfw.org"><img alt="Follow marlinfw.org on Bluesky" src="https://img.shields.io/badge/Follow%20@marlinfw.org-0085ff?logo=bluesky&logoColor=white"></a>
<a href="https://github.com/MarlinFirmware/Marlin/raw/2.1.3-b3/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>

🌍 Translations

Aragonés Български Català Čeština Dansk Deutsch Ελληνικά
English Español Euskara Suomi Français Galego Hrvatski
Magyar Italiano にほんご 한국어 Nederlands Polski Português
Português (Brasil) Română Русский Slovenčina Svenska Türkçe Українська
Tiếng Việt 简体中文 繁體中文

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.3 Beta 3

Not for production use. Use with caution!

This branch is for testing and bug fixes for Marlin 2.1.3. We'll use this time to collect bug reports and patch as many issues as we can. This should help the release version of 2.1.3 to be as robust as we can make it. Are you ready to do some testing?

Configuration Migration

There are a lot of configuration changes in Marlin 2.1.3. We're working on automated tools to migrate configurations, so if you want to help us test those get in touch on the Marlin Discord. If you need help migrating your configurations to Marlin 2.1.3, we'll have a dedicated channel for this purpose. Post your configurations there and we'll send back updated configurations. We can also send a built firmware.bin file if you need it.

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.

Marlin Builds

We now publish builds for all our posted example configurations. See the MarlinBuilds repository for details. This is a new process so bear with us while we work out all the best variants. If you like the way an example configuration works but think it could be better, please submit your suggested improvements in a Pull Request.

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

Platform MCU Example Boards
Arduino AVR ATmega RAMPS, Melzi, RAMBo
Teensy++ 2.0 AT90USB1286 Printrboard
Arduino Due SAM3X8E RAMPS-FD, RADDS, RAMPS4DUE
ESP32 ESP32 FYSETC E4, E4d@BOX, MRR
GD32 GD32 ARM Cortex-M4 Creality MFL GD32 V4.2.2
HC32 HC32 Ender-2 Pro, Voxelab Aquila
LPC1768 ARM® Cortex-M3 MKS SBASE, Re-ARM, Selena Compact
LPC1769 ARM® Cortex-M3 Smoothieboard, Azteeg X5 mini, TH3D EZBoard
Pico RP2040 Dual Cortex M0+ BigTreeTech SKR Pico
STM32F103 ARM® Cortex-M3 Malyan M200, GTM32 Pro, MKS Robin, BTT SKR Mini
STM32F401 ARM® Cortex-M4 ARMED, Rumba32, SKR Pro, Lerdge, FYSETC S6, Artillery Ruby
STM32F7x6 ARM® Cortex-M7 The Borg, RemRam V1
STM32G0B1RET6 ARM® Cortex-M0+ BigTreeTech SKR mini E3 V3.0
STM32H743xIT6 ARM® Cortex-M7 BigTreeTech SKR V3.0, SKR EZ V3.0, SKR SE BX V2.0/V3.0
SAMD21P20A ARM® Cortex-M0+ Adafruit Grand Central M4
SAMD51P20A ARM® Cortex-M4 Adafruit Grand Central M4
Teensy 3.2/3.1 MK20DX256VLH7 ARM® Cortex-M4
Teensy 3.5 MK64FX512-VMD12 ARM® Cortex-M4
Teensy 3.6 MK66FX1MB-VMD18 ARM® Cortex-M4
Teensy 4.0 MIMXRT1062-DVL6B ARM® Cortex-M7
Teensy 4.1 MIMXRT1062-DVJ6B ARM® Cortex-M7
Linux Native x86 / ARM / RISC-V Raspberry Pi GPIO
Simulator Windows, macOS, Linux Desktop OS
All supported boards All platforms All 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.

  • We use branches named with a "bugfix" or "dev" prefix to fix bugs and integrate new features.
  • Follow the Coding Standards to gain points with the maintainers.
  • Please submit Feature Requests and Bug Reports to the Issue Queue. See above for user support.
  • Whenever you add new features, be sure to add one or more build tests to buildroot/tests. Any tests added to a PR will be run within that PR on GitHub servers as soon as they are pushed. To minimize iteration be sure to run your new tests locally, if possible.
  • Local build tests:
    • All: make tests-config-all-local
    • Single: make tests-config-single-local TEST_TARGET=...
  • Local build tests in Docker:
    • All: make tests-config-all-local-docker
    • Single: make tests-config-all-local-docker TEST_TARGET=...
  • To run all unit test suites:
    • Using PIO: platformio run -t test-marlin
    • Using Make: make unit-test-all-local
    • Using Docker + make: maker unit-test-all-local-docker
  • To run a single unit test suite:
    • Using PIO: platformio run -t marlin_<test-suite-name>
    • Using make: make unit-test-single-local TEST_TARGET=<test-suite-name>
    • Using Docker + make: maker unit-test-single-local-docker TEST_TARGET=<test-suite-name>
  • If your feature can be unit tested, add one or more unit tests. For more information see our do

Core symbols most depended-on inside this repo

Shape

Method 6,289
Function 5,301
Class 1,030
Enum 253

Languages

C++92%
TypeScript4%
C2%
Python2%

Modules by API surface

Marlin/src/lcd/e3v2/proui/dwin.cpp403 symbols
buildroot/web-ui/data/www/moment.min.js222 symbols
Marlin/src/lcd/e3v2/creality/dwin.cpp188 symbols
Marlin/src/core/types.h187 symbols
Marlin/src/module/temperature.h183 symbols
Marlin/src/lcd/extui/ui_api.cpp162 symbols
Marlin/src/HAL/AVR/registers.h132 symbols
buildroot/web-ui/data/www/chart.min.js106 symbols
Marlin/src/lcd/extui/anycubic_vyper/dgus_tft.cpp99 symbols
Marlin/src/lcd/marlinui.h87 symbols
Marlin/src/feature/tmc_util.h81 symbols
Marlin/src/lcd/extui/ftdi_eve_touch_ui/ftdi_eve_lib/basic/commands.cpp76 symbols

For agents

$ claude mcp add Marlin \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page