

To get your core Configuration.h settings right you’ll need to know the following things about your printer: If you’ve never configured and calibrated a 3D Printer before, here are some good resources: They provide good descriptions of each option, and are themselves the source for most of the information presented here. The most authoritative source on configuration details will always be the configuration files themselves. #define THIS_IS_DISABLED // this switch is disabled #define OPTION_VALUE 22 // this setting is "22" #define THIS_IS_ENABLED // this switch is enabled Settings can be enabled, disabled, and assigned values using C preprocessor syntax like so: A build of Marlin can range from 50K to over 230K in size. This results in the smallest possible binary.
#Carrera track planner mac code#
This allows Marlin to leverage the C++ preprocessor and include only the code and data needed for the enabled options. Marlin is configured using C++ compiler directives. Tools like Winmerge make it much easier to compare configurations and copy settings into a new configuration.

As part of the build process, the Sanit圜heck.h will print helpful error messages explaining what needs to be changed. To use configurations from an earlier version of Marlin, try dropping them into the newer Marlin and building. A variety of pre-built configurations are included in the Configurations repository to get you started. Simply edit or replace these files before building and uploading Marlin to the board. These two files contain all of Marlin’s build-time configuration options. Configuration_adv.h serves up more detailed customization options, add-ons, experimental features, and other esoterica.Configuration.h contains the core settings for the hardware, language and controller selection, and settings for the most common features and components.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:
