본문 바로가기
3D프린팅

Configuring Marlin

by YJHTPII 2022. 5. 26.
반응형

https://marlinfw.org/docs/configuration/configuration.html

 

Configuring Marlin

Complete guide to Marlin configuration options.

marlinfw.org

 

Configuring Marlin

Marlin is a huge C++ program composed of many files, but here we’ll only be talking about the two files that contain all of Marlin’s compile-time configuration options:

  • Configuration.h contains the core settings for the hardware, language and controller selection, and settings for the most common features and components.
  • Configuration_adv.h serves up more detailed customization options, add-ons, experimental features, and other esoterica.

These two files contain all of Marlin’s build-time configuration options. Simply edit or replace these files before building and uploading Marlin to the board. A variety of pre-built configurations are included in the Configurations repository to get you started.

To use configurations from an earlier version of Marlin, try dropping them into the newer Marlin and building. As part of the build process, the SanityCheck.h will print helpful error messages explaining what needs to be changed.

Tools like Winmerge make it much easier to compare configurations and copy settings into a new configuration.

Compiler Directives

Marlin is configured using C++ compiler directives. This allows Marlin to leverage the C++ preprocessor and include only the code and data needed for the enabled options. This results in the smallest possible binary. A build of Marlin can range from 50K to over 230K in size.

Settings can be enabled, disabled, and assigned values using C preprocessor syntax like so:

#define THIS_IS_ENABLED    // this switch is enabled
//#define THIS_IS_DISABLED // this switch is disabled
#define OPTION_VALUE 22    // this setting is "22"

Sources of Documentation

The most authoritative source on configuration details will always be the configuration files themselves. They provide good descriptions of each option, and are themselves the source for most of the information presented here.

If you’ve never configured and calibrated a 3D Printer before, here are some good resources:

Before You Begin

To get your core Configuration.h settings right you’ll need to know the following things about your printer:

  • Printer style, such as Cartesian, Delta, CoreXY, or SCARA
  • Driver board, such as RAMPS, RUMBA, Teensy, etc.
  • Number of extruders
  • Steps-per-mm for XYZ axes and extruders (can be tuned later)
  • Endstop positions
  • Thermistors and/or thermocouples
  • Probes and probing settings
  • LCD controller brand and model
  • Add-ons and custom components

 

 

 

===============================================

<Filament Change>

/**/#define ADVANCED_PAUSE_FEATHRE

/**/#define NOZZLE_PARK_FEATURE

C:\Users\~~~\Marlin-bugfix-2.0.x\Marlin\_bootscreen.h

#define SHOW_CUSTOM_BOOTSCREEN

 

반응형

'3D프린팅' 카테고리의 다른 글

marlin _bootscreen 설정 방법  (0) 2022.05.26
RTTTL Ringtone Downloads  (0) 2022.05.26
심플리파이3D 설정탭 FFF Settings  (0) 2022.05.26
How to Use a 3D Printer as a Pen Plotter  (0) 2022.05.25
2D Image to STL Converter (Windows)  (0) 2022.05.25

댓글