As part of the build process, Marlin will check for outdated options and show error messages that explain exactly what needs to be changed. To use configurations from an earlier version of Marlin, first try dropping them into the newer Marlin, updating CONFIGURATION_H_VERSION and CONFIGURATION_ADV_H_VERSION, and building the firmware. #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. 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. Hundreds of user-donated configurations are posted at the Configurations repository to get you started. Simply edit or replace these files, then build and upload Marlin to the board. h files contain all of Marlin’s build-time configuration options. See the Configuration with INI page for more information.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |