Option to Auto-Initialize EEPROM (#13935)
This commit is contained in:
		
				
					committed by
					
						 Scott Lahteine
						Scott Lahteine
					
				
			
			
				
	
			
			
			
						parent
						
							a504366138
						
					
				
				
					commit
					5dcb25664f
				
			| @@ -1482,17 +1482,21 @@ | ||||
|  | ||||
| // @section extras | ||||
|  | ||||
| // | ||||
| // 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. | ||||
| /** | ||||
|  * EEPROM | ||||
|  * | ||||
|  * Persistent storage to preserve configurable settings across reboots. | ||||
|  * | ||||
|  *   M500 - Store settings to EEPROM. | ||||
|  *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes) | ||||
|  *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.) | ||||
|  */ | ||||
| #define EEPROM_SETTINGS       // Persistent storage with M500 and M501 | ||||
| //#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release! | ||||
| #define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM. | ||||
| #if ENABLED(EEPROM_SETTINGS) | ||||
|   //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors. | ||||
| #endif | ||||
|  | ||||
| // | ||||
| // Host Keepalive | ||||
|   | ||||
		Reference in New Issue
	
	Block a user