In order to be able to use commands like M500, M501 and M503 in Marlin you have to modify configuration.h
file and enable EEPROM settings.
-
Open
Configuration.h
file -
Find this section
// // EEPROM // // The microcontroller can store settings in the EEPROM, e.g. max velocity... // M500 - stores parameters in EEPROM // M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily). // M502 - reverts to the default "factory settings". You still need to store them in EEPROM afterwards if you want to. // //#define EEPROM_SETTINGS // Enable for M500 and M501 commands //#define DISABLE_M503 // Saves ~2700 bytes of PROGMEM. Disable for release! #define EEPROM_CHITCHAT // Give feedback on EEPROM commands. Disable to save PROGMEM.
-
Uncomment
#define EEPROM_SETTING
and#define DISABLE_M503
if you want to use M503 commandAfter changes:
// // EEPROM // // The microcontroller can store settings in the EEPROM, e.g. max velocity... // M500 - stores parameters in EEPROM // M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily). // M502 - reverts to the default "factory settings". You still need to store them in EEPROM afterwards if you want to. // #define EEPROM_SETTINGS // Enable for M500 and M501 commands #define DISABLE_M503 // Saves ~2700 bytes of PROGMEM. Disable for release! #define EEPROM_CHITCHAT // Give feedback on EEPROM commands. Disable to save PROGMEM.
-
Recompile and upload changes into printer's memory