Selaa lähdekoodia

Option to Auto-Initialize EEPROM (#13935)

InsanityAutomation 5 vuotta sitten
vanhempi
commit
5dcb25664f
98 muutettua tiedostoa jossa 1450 lisäystä ja 1059 poistoa
  1. 15
    11
      Marlin/Configuration.h
  2. 9
    1
      Marlin/src/Marlin.cpp
  3. 1
    2
      Marlin/src/module/configuration_store.cpp
  4. 15
    11
      config/default/Configuration.h
  5. 15
    11
      config/examples/3DFabXYZ/Migbot/Configuration.h
  6. 15
    11
      config/examples/AlephObjects/TAZ4/Configuration.h
  7. 15
    11
      config/examples/AliExpress/CL-260/Configuration.h
  8. 15
    11
      config/examples/AliExpress/UM2pExt/Configuration.h
  9. 15
    11
      config/examples/Anet/A2/Configuration.h
  10. 15
    11
      config/examples/Anet/A2plus/Configuration.h
  11. 15
    11
      config/examples/Anet/A6/Configuration.h
  12. 15
    11
      config/examples/Anet/A8/Configuration.h
  13. 15
    11
      config/examples/AnyCubic/i3/Configuration.h
  14. 15
    11
      config/examples/ArmEd/Configuration.h
  15. 15
    11
      config/examples/Azteeg/X5GT/Configuration.h
  16. 15
    11
      config/examples/BIBO/TouchX/cyclops/Configuration.h
  17. 15
    11
      config/examples/BIBO/TouchX/default/Configuration.h
  18. 15
    11
      config/examples/BQ/Hephestos/Configuration.h
  19. 15
    11
      config/examples/BQ/Hephestos_2/Configuration.h
  20. 15
    11
      config/examples/BQ/WITBOX/Configuration.h
  21. 15
    11
      config/examples/Cartesio/Configuration.h
  22. 15
    11
      config/examples/Creality/CR-10/Configuration.h
  23. 15
    11
      config/examples/Creality/CR-10S/Configuration.h
  24. 15
    11
      config/examples/Creality/CR-10_5S/Configuration.h
  25. 15
    11
      config/examples/Creality/CR-10mini/Configuration.h
  26. 15
    11
      config/examples/Creality/CR-8/Configuration.h
  27. 15
    11
      config/examples/Creality/Ender-2/Configuration.h
  28. 15
    11
      config/examples/Creality/Ender-3/Configuration.h
  29. 15
    11
      config/examples/Creality/Ender-4/Configuration.h
  30. 15
    11
      config/examples/Einstart-S/Configuration.h
  31. 15
    11
      config/examples/Felix/Configuration.h
  32. 15
    11
      config/examples/Felix/DUAL/Configuration.h
  33. 15
    11
      config/examples/FlashForge/CreatorPro/Configuration.h
  34. 15
    11
      config/examples/FolgerTech/i3-2020/Configuration.h
  35. 15
    11
      config/examples/Formbot/Raptor/Configuration.h
  36. 15
    11
      config/examples/Formbot/T_Rex_2+/Configuration.h
  37. 15
    11
      config/examples/Formbot/T_Rex_3/Configuration.h
  38. 15
    11
      config/examples/Geeetech/A10M/Configuration.h
  39. 15
    11
      config/examples/Geeetech/A20M/Configuration.h
  40. 15
    11
      config/examples/Geeetech/GT2560/Configuration.h
  41. 15
    11
      config/examples/Geeetech/I3_Pro_X-GT2560/Configuration.h
  42. 15
    11
      config/examples/Geeetech/MeCreator2/Configuration.h
  43. 15
    11
      config/examples/Geeetech/Prusa i3 Pro B/bltouch/Configuration.h
  44. 15
    11
      config/examples/Geeetech/Prusa i3 Pro B/noprobe/Configuration.h
  45. 15
    11
      config/examples/Geeetech/Prusa i3 Pro C/Configuration.h
  46. 15
    11
      config/examples/Geeetech/Prusa i3 Pro W/Configuration.h
  47. 15
    11
      config/examples/Infitary/i3-M508/Configuration.h
  48. 15
    11
      config/examples/JGAurora/A5/Configuration.h
  49. 15
    11
      config/examples/MakerParts/Configuration.h
  50. 15
    11
      config/examples/Malyan/M150/Configuration.h
  51. 15
    11
      config/examples/Malyan/M200/Configuration.h
  52. 15
    11
      config/examples/Micromake/C1/basic/Configuration.h
  53. 15
    11
      config/examples/Micromake/C1/enhanced/Configuration.h
  54. 15
    11
      config/examples/Mks/Robin/Configuration.h
  55. 15
    11
      config/examples/Mks/Sbase/Configuration.h
  56. 15
    11
      config/examples/Printrbot/PrintrboardG2/Configuration.h
  57. 15
    11
      config/examples/RapideLite/RL200/Configuration.h
  58. 15
    11
      config/examples/RepRapPro/Huxley/Configuration.h
  59. 15
    11
      config/examples/RepRapWorld/Megatronics/Configuration.h
  60. 15
    11
      config/examples/RigidBot/Configuration.h
  61. 15
    11
      config/examples/SCARA/Configuration.h
  62. 15
    11
      config/examples/STM32/Black_STM32F407VET6/Configuration.h
  63. 15
    11
      config/examples/STM32/STM32F10/Configuration.h
  64. 15
    11
      config/examples/STM32/STM32F4/Configuration.h
  65. 15
    11
      config/examples/STM32/stm32f103ret6/Configuration.h
  66. 15
    11
      config/examples/Sanguinololu/Configuration.h
  67. 15
    11
      config/examples/TheBorg/Configuration.h
  68. 15
    11
      config/examples/TinyBoy2/Configuration.h
  69. 15
    11
      config/examples/Tronxy/X1/Configuration.h
  70. 15
    11
      config/examples/Tronxy/X3A/Configuration.h
  71. 15
    11
      config/examples/Tronxy/X5S-2E/Configuration.h
  72. 15
    11
      config/examples/Tronxy/X5S/Configuration.h
  73. 15
    11
      config/examples/Tronxy/XY100/Configuration.h
  74. 15
    11
      config/examples/UltiMachine/Archim1/Configuration.h
  75. 15
    11
      config/examples/UltiMachine/Archim2/Configuration.h
  76. 15
    11
      config/examples/VORONDesign/Configuration.h
  77. 15
    11
      config/examples/Velleman/K8200/Configuration.h
  78. 15
    11
      config/examples/Velleman/K8400/Configuration.h
  79. 15
    11
      config/examples/Velleman/K8400/Dual-head/Configuration.h
  80. 15
    11
      config/examples/WASP/PowerWASP/Configuration.h
  81. 15
    11
      config/examples/Wanhao/Duplicator 6/Configuration.h
  82. 15
    11
      config/examples/adafruit/ST7565/Configuration.h
  83. 15
    11
      config/examples/delta/Anycubic/Kossel/Configuration.h
  84. 15
    11
      config/examples/delta/FLSUN/auto_calibrate/Configuration.h
  85. 15
    11
      config/examples/delta/FLSUN/kossel/Configuration.h
  86. 15
    11
      config/examples/delta/FLSUN/kossel_mini/Configuration.h
  87. 15
    11
      config/examples/delta/Geeetech/Rostock 301/Configuration.h
  88. 15
    11
      config/examples/delta/Hatchbox_Alpha/Configuration.h
  89. 15
    11
      config/examples/delta/MKS/SBASE/Configuration.h
  90. 15
    11
      config/examples/delta/Tevo Little Monster/Configuration.h
  91. 15
    11
      config/examples/delta/generic/Configuration.h
  92. 15
    11
      config/examples/delta/kossel_mini/Configuration.h
  93. 15
    11
      config/examples/delta/kossel_pro/Configuration.h
  94. 15
    11
      config/examples/delta/kossel_xl/Configuration.h
  95. 15
    11
      config/examples/gCreate/gMax1.5+/Configuration.h
  96. 15
    11
      config/examples/makibox/Configuration.h
  97. 15
    11
      config/examples/tvrrug/Round2/Configuration.h
  98. 15
    11
      config/examples/wt150/Configuration.h

+ 15
- 11
Marlin/Configuration.h Näytä tiedosto

@@ -1364,17 +1364,21 @@
1364 1364
 
1365 1365
 // @section extras
1366 1366
 
1367
-//
1368
-// EEPROM
1369
-//
1370
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1371
-// M500 - stores parameters in EEPROM
1372
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1373
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1374
-//
1375
-//#define EEPROM_SETTINGS // Enable for M500 and M501 commands
1376
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1377
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1367
+/**
1368
+ * EEPROM
1369
+ *
1370
+ * Persistent storage to preserve configurable settings across reboots.
1371
+ *
1372
+ *   M500 - Store settings to EEPROM.
1373
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1374
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1375
+ */
1376
+//#define EEPROM_SETTINGS     // Persistent storage with M500 and M501
1377
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1378
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1379
+#if ENABLED(EEPROM_SETTINGS)
1380
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1381
+#endif
1378 1382
 
1379 1383
 //
1380 1384
 // Host Keepalive

+ 9
- 1
Marlin/src/Marlin.cpp Näytä tiedosto

@@ -955,7 +955,15 @@ void setup() {
955 955
 
956 956
   // Load data from EEPROM if available (or use defaults)
957 957
   // This also updates variables in the planner, elsewhere
958
-  (void)settings.load();
958
+  #if ENABLED(EEPROM_AUTO_INIT)
959
+    if (!settings.load()) {
960
+      (void)settings.reset();
961
+      (void)settings.save();
962
+      SERIAL_ECHO_MSG("EEPROM Initialized");
963
+    }
964
+  #else
965
+    (void)settings.load();
966
+  #endif
959 967
 
960 968
   #if HAS_M206_COMMAND
961 969
     // Initialize current position based on home_offset

+ 1
- 2
Marlin/src/module/configuration_store.cpp Näytä tiedosto

@@ -401,9 +401,8 @@ void MarlinSettings::postprocess() {
401 401
     report_current_position();
402 402
 }
403 403
 
404
-#if ENABLED(PRINTCOUNTER) && ENABLED(EEPROM_SETTINGS)
404
+#if BOTH(PRINTCOUNTER, EEPROM_SETTINGS)
405 405
   #include "printcounter.h"
406
-
407 406
   static_assert(
408 407
     !WITHIN(STATS_EEPROM_ADDRESS, EEPROM_OFFSET, EEPROM_OFFSET + sizeof(SettingsData)) &&
409 408
     !WITHIN(STATS_EEPROM_ADDRESS + sizeof(printStatistics), EEPROM_OFFSET, EEPROM_OFFSET + sizeof(SettingsData)),

+ 15
- 11
config/default/Configuration.h Näytä tiedosto

@@ -1364,17 +1364,21 @@
1364 1364
 
1365 1365
 // @section extras
1366 1366
 
1367
-//
1368
-// EEPROM
1369
-//
1370
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1371
-// M500 - stores parameters in EEPROM
1372
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1373
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1374
-//
1375
-//#define EEPROM_SETTINGS // Enable for M500 and M501 commands
1376
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1377
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1367
+/**
1368
+ * EEPROM
1369
+ *
1370
+ * Persistent storage to preserve configurable settings across reboots.
1371
+ *
1372
+ *   M500 - Store settings to EEPROM.
1373
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1374
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1375
+ */
1376
+//#define EEPROM_SETTINGS     // Persistent storage with M500 and M501
1377
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1378
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1379
+#if ENABLED(EEPROM_SETTINGS)
1380
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1381
+#endif
1378 1382
 
1379 1383
 //
1380 1384
 // Host Keepalive

+ 15
- 11
config/examples/3DFabXYZ/Migbot/Configuration.h Näytä tiedosto

@@ -1370,17 +1370,21 @@
1370 1370
 
1371 1371
 // @section extras
1372 1372
 
1373
-//
1374
-// EEPROM
1375
-//
1376
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1377
-// M500 - stores parameters in EEPROM
1378
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1379
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1380
-//
1381
-#define EEPROM_SETTINGS // Enable for M500 and M501 commands
1382
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1383
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1373
+/**
1374
+ * EEPROM
1375
+ *
1376
+ * Persistent storage to preserve configurable settings across reboots.
1377
+ *
1378
+ *   M500 - Store settings to EEPROM.
1379
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1380
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1381
+ */
1382
+//#define EEPROM_SETTINGS     // Persistent storage with M500 and M501
1383
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1384
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1385
+#if ENABLED(EEPROM_SETTINGS)
1386
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1387
+#endif
1384 1388
 
1385 1389
 //
1386 1390
 // Host Keepalive

+ 15
- 11
config/examples/AlephObjects/TAZ4/Configuration.h Näytä tiedosto

@@ -1384,17 +1384,21 @@
1384 1384
 
1385 1385
 // @section extras
1386 1386
 
1387
-//
1388
-// EEPROM
1389
-//
1390
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1391
-// M500 - stores parameters in EEPROM
1392
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1393
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1394
-//
1395
-#define EEPROM_SETTINGS   // Enable for M500 and M501 commands
1396
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1397
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1387
+/**
1388
+ * EEPROM
1389
+ *
1390
+ * Persistent storage to preserve configurable settings across reboots.
1391
+ *
1392
+ *   M500 - Store settings to EEPROM.
1393
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1394
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1395
+ */
1396
+//#define EEPROM_SETTINGS     // Persistent storage with M500 and M501
1397
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1398
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1399
+#if ENABLED(EEPROM_SETTINGS)
1400
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1401
+#endif
1398 1402
 
1399 1403
 //
1400 1404
 // Host Keepalive

+ 15
- 11
config/examples/AliExpress/CL-260/Configuration.h Näytä tiedosto

@@ -1364,17 +1364,21 @@
1364 1364
 
1365 1365
 // @section extras
1366 1366
 
1367
-//
1368
-// EEPROM
1369
-//
1370
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1371
-// M500 - stores parameters in EEPROM
1372
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1373
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1374
-//
1375
-//#define EEPROM_SETTINGS // Enable for M500 and M501 commands
1376
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1377
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1367
+/**
1368
+ * EEPROM
1369
+ *
1370
+ * Persistent storage to preserve configurable settings across reboots.
1371
+ *
1372
+ *   M500 - Store settings to EEPROM.
1373
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1374
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1375
+ */
1376
+//#define EEPROM_SETTINGS     // Persistent storage with M500 and M501
1377
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1378
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1379
+#if ENABLED(EEPROM_SETTINGS)
1380
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1381
+#endif
1378 1382
 
1379 1383
 //
1380 1384
 // Host Keepalive

+ 15
- 11
config/examples/AliExpress/UM2pExt/Configuration.h Näytä tiedosto

@@ -1375,17 +1375,21 @@
1375 1375
 
1376 1376
 // @section extras
1377 1377
 
1378
-//
1379
-// EEPROM
1380
-//
1381
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1382
-// M500 - stores parameters in EEPROM
1383
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1384
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1385
-//
1386
-#define EEPROM_SETTINGS // Enable for M500 and M501 commands
1387
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1388
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1378
+/**
1379
+ * EEPROM
1380
+ *
1381
+ * Persistent storage to preserve configurable settings across reboots.
1382
+ *
1383
+ *   M500 - Store settings to EEPROM.
1384
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1385
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1386
+ */
1387
+//#define EEPROM_SETTINGS     // Persistent storage with M500 and M501
1388
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1389
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1390
+#if ENABLED(EEPROM_SETTINGS)
1391
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1392
+#endif
1389 1393
 
1390 1394
 //
1391 1395
 // Host Keepalive

+ 15
- 11
config/examples/Anet/A2/Configuration.h Näytä tiedosto

@@ -1364,17 +1364,21 @@
1364 1364
 
1365 1365
 // @section extras
1366 1366
 
1367
-//
1368
-// EEPROM
1369
-//
1370
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1371
-// M500 - stores parameters in EEPROM
1372
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1373
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1374
-//
1375
-#define EEPROM_SETTINGS // Enable for M500 and M501 commands
1376
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1377
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1367
+/**
1368
+ * EEPROM
1369
+ *
1370
+ * Persistent storage to preserve configurable settings across reboots.
1371
+ *
1372
+ *   M500 - Store settings to EEPROM.
1373
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1374
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1375
+ */
1376
+#define EEPROM_SETTINGS       // Persistent storage with M500 and M501
1377
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1378
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1379
+#if ENABLED(EEPROM_SETTINGS)
1380
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1381
+#endif
1378 1382
 
1379 1383
 //
1380 1384
 // Host Keepalive

+ 15
- 11
config/examples/Anet/A2plus/Configuration.h Näytä tiedosto

@@ -1364,17 +1364,21 @@
1364 1364
 
1365 1365
 // @section extras
1366 1366
 
1367
-//
1368
-// EEPROM
1369
-//
1370
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1371
-// M500 - stores parameters in EEPROM
1372
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1373
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1374
-//
1375
-#define EEPROM_SETTINGS // Enable for M500 and M501 commands
1376
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1377
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1367
+/**
1368
+ * EEPROM
1369
+ *
1370
+ * Persistent storage to preserve configurable settings across reboots.
1371
+ *
1372
+ *   M500 - Store settings to EEPROM.
1373
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1374
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1375
+ */
1376
+#define EEPROM_SETTINGS       // Persistent storage with M500 and M501
1377
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1378
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1379
+#if ENABLED(EEPROM_SETTINGS)
1380
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1381
+#endif
1378 1382
 
1379 1383
 //
1380 1384
 // Host Keepalive

+ 15
- 11
config/examples/Anet/A6/Configuration.h Näytä tiedosto

@@ -1516,17 +1516,21 @@
1516 1516
 
1517 1517
 // @section extras
1518 1518
 
1519
-//
1520
-// EEPROM
1521
-//
1522
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1523
-// M500 - stores parameters in EEPROM
1524
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1525
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1526
-//
1527
-#define EEPROM_SETTINGS   // Enable for M500 and M501 commands
1528
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1529
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1519
+/**
1520
+ * EEPROM
1521
+ *
1522
+ * Persistent storage to preserve configurable settings across reboots.
1523
+ *
1524
+ *   M500 - Store settings to EEPROM.
1525
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1526
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1527
+ */
1528
+#define EEPROM_SETTINGS       // Persistent storage with M500 and M501
1529
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1530
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1531
+#if ENABLED(EEPROM_SETTINGS)
1532
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1533
+#endif
1530 1534
 
1531 1535
 //
1532 1536
 // Host Keepalive

+ 15
- 11
config/examples/Anet/A8/Configuration.h Näytä tiedosto

@@ -1377,17 +1377,21 @@
1377 1377
 
1378 1378
 // @section extras
1379 1379
 
1380
-//
1381
-// EEPROM
1382
-//
1383
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1384
-// M500 - stores parameters in EEPROM
1385
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1386
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1387
-//
1388
-#define EEPROM_SETTINGS   // Enable for M500 and M501 commands
1389
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1390
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1380
+/**
1381
+ * EEPROM
1382
+ *
1383
+ * Persistent storage to preserve configurable settings across reboots.
1384
+ *
1385
+ *   M500 - Store settings to EEPROM.
1386
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1387
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1388
+ */
1389
+#define EEPROM_SETTINGS       // Persistent storage with M500 and M501
1390
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1391
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1392
+#if ENABLED(EEPROM_SETTINGS)
1393
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1394
+#endif
1391 1395
 
1392 1396
 //
1393 1397
 // Host Keepalive

+ 15
- 11
config/examples/AnyCubic/i3/Configuration.h Näytä tiedosto

@@ -1374,17 +1374,21 @@
1374 1374
 
1375 1375
 // @section extras
1376 1376
 
1377
-//
1378
-// EEPROM
1379
-//
1380
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1381
-// M500 - stores parameters in EEPROM
1382
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1383
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1384
-//
1385
-#define EEPROM_SETTINGS // Enable for M500 and M501 commands
1386
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1387
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1377
+/**
1378
+ * EEPROM
1379
+ *
1380
+ * Persistent storage to preserve configurable settings across reboots.
1381
+ *
1382
+ *   M500 - Store settings to EEPROM.
1383
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1384
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1385
+ */
1386
+#define EEPROM_SETTINGS       // Persistent storage with M500 and M501
1387
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1388
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1389
+#if ENABLED(EEPROM_SETTINGS)
1390
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1391
+#endif
1388 1392
 
1389 1393
 //
1390 1394
 // Host Keepalive

+ 15
- 11
config/examples/ArmEd/Configuration.h Näytä tiedosto

@@ -1365,17 +1365,21 @@
1365 1365
 
1366 1366
 // @section extras
1367 1367
 
1368
-//
1369
-// EEPROM
1370
-//
1371
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1372
-// M500 - stores parameters in EEPROM
1373
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1374
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1375
-//
1376
-//#define EEPROM_SETTINGS // Enable for M500 and M501 commands
1377
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1378
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1368
+/**
1369
+ * EEPROM
1370
+ *
1371
+ * Persistent storage to preserve configurable settings across reboots.
1372
+ *
1373
+ *   M500 - Store settings to EEPROM.
1374
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1375
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1376
+ */
1377
+//#define EEPROM_SETTINGS     // Persistent storage with M500 and M501
1378
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1379
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1380
+#if ENABLED(EEPROM_SETTINGS)
1381
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1382
+#endif
1379 1383
 
1380 1384
 //
1381 1385
 // Host Keepalive

+ 15
- 11
config/examples/Azteeg/X5GT/Configuration.h Näytä tiedosto

@@ -1364,17 +1364,21 @@
1364 1364
 
1365 1365
 // @section extras
1366 1366
 
1367
-//
1368
-// EEPROM
1369
-//
1370
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1371
-// M500 - stores parameters in EEPROM
1372
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1373
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1374
-//
1375
-#define EEPROM_SETTINGS // Enable for M500 and M501 commands
1376
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1377
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1367
+/**
1368
+ * EEPROM
1369
+ *
1370
+ * Persistent storage to preserve configurable settings across reboots.
1371
+ *
1372
+ *   M500 - Store settings to EEPROM.
1373
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1374
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1375
+ */
1376
+#define EEPROM_SETTINGS       // Persistent storage with M500 and M501
1377
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1378
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1379
+#if ENABLED(EEPROM_SETTINGS)
1380
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1381
+#endif
1378 1382
 
1379 1383
 //
1380 1384
 // Host Keepalive

+ 15
- 11
config/examples/BIBO/TouchX/cyclops/Configuration.h Näytä tiedosto

@@ -1364,17 +1364,21 @@
1364 1364
 
1365 1365
 // @section extras
1366 1366
 
1367
-//
1368
-// EEPROM
1369
-//
1370
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1371
-// M500 - stores parameters in EEPROM
1372
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1373
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1374
-//
1375
-#define EEPROM_SETTINGS // Enable for M500 and M501 commands
1376
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1377
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1367
+/**
1368
+ * EEPROM
1369
+ *
1370
+ * Persistent storage to preserve configurable settings across reboots.
1371
+ *
1372
+ *   M500 - Store settings to EEPROM.
1373
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1374
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1375
+ */
1376
+#define EEPROM_SETTINGS       // Persistent storage with M500 and M501
1377
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1378
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1379
+#if ENABLED(EEPROM_SETTINGS)
1380
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1381
+#endif
1378 1382
 
1379 1383
 //
1380 1384
 // Host Keepalive

+ 15
- 11
config/examples/BIBO/TouchX/default/Configuration.h Näytä tiedosto

@@ -1364,17 +1364,21 @@
1364 1364
 
1365 1365
 // @section extras
1366 1366
 
1367
-//
1368
-// EEPROM
1369
-//
1370
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1371
-// M500 - stores parameters in EEPROM
1372
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1373
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1374
-//
1375
-#define EEPROM_SETTINGS // Enable for M500 and M501 commands
1376
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1377
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1367
+/**
1368
+ * EEPROM
1369
+ *
1370
+ * Persistent storage to preserve configurable settings across reboots.
1371
+ *
1372
+ *   M500 - Store settings to EEPROM.
1373
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1374
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1375
+ */
1376
+#define EEPROM_SETTINGS       // Persistent storage with M500 and M501
1377
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1378
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1379
+#if ENABLED(EEPROM_SETTINGS)
1380
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1381
+#endif
1378 1382
 
1379 1383
 //
1380 1384
 // Host Keepalive

+ 15
- 11
config/examples/BQ/Hephestos/Configuration.h Näytä tiedosto

@@ -1352,17 +1352,21 @@
1352 1352
 
1353 1353
 // @section extras
1354 1354
 
1355
-//
1356
-// EEPROM
1357
-//
1358
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1359
-// M500 - stores parameters in EEPROM
1360
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1361
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1362
-//
1363
-//#define EEPROM_SETTINGS // Enable for M500 and M501 commands
1364
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1365
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1355
+/**
1356
+ * EEPROM
1357
+ *
1358
+ * Persistent storage to preserve configurable settings across reboots.
1359
+ *
1360
+ *   M500 - Store settings to EEPROM.
1361
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1362
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1363
+ */
1364
+//#define EEPROM_SETTINGS     // Persistent storage with M500 and M501
1365
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1366
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1367
+#if ENABLED(EEPROM_SETTINGS)
1368
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1369
+#endif
1366 1370
 
1367 1371
 //
1368 1372
 // Host Keepalive

+ 15
- 11
config/examples/BQ/Hephestos_2/Configuration.h Näytä tiedosto

@@ -1364,17 +1364,21 @@
1364 1364
 
1365 1365
 // @section extras
1366 1366
 
1367
-//
1368
-// EEPROM
1369
-//
1370
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1371
-// M500 - stores parameters in EEPROM
1372
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1373
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1374
-//
1375
-#define EEPROM_SETTINGS   // Enable for M500 and M501 commands
1376
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1377
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1367
+/**
1368
+ * EEPROM
1369
+ *
1370
+ * Persistent storage to preserve configurable settings across reboots.
1371
+ *
1372
+ *   M500 - Store settings to EEPROM.
1373
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1374
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1375
+ */
1376
+#define EEPROM_SETTINGS       // Persistent storage with M500 and M501
1377
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1378
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1379
+#if ENABLED(EEPROM_SETTINGS)
1380
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1381
+#endif
1378 1382
 
1379 1383
 //
1380 1384
 // Host Keepalive

+ 15
- 11
config/examples/BQ/WITBOX/Configuration.h Näytä tiedosto

@@ -1352,17 +1352,21 @@
1352 1352
 
1353 1353
 // @section extras
1354 1354
 
1355
-//
1356
-// EEPROM
1357
-//
1358
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1359
-// M500 - stores parameters in EEPROM
1360
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1361
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1362
-//
1363
-//#define EEPROM_SETTINGS // Enable for M500 and M501 commands
1364
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1365
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1355
+/**
1356
+ * EEPROM
1357
+ *
1358
+ * Persistent storage to preserve configurable settings across reboots.
1359
+ *
1360
+ *   M500 - Store settings to EEPROM.
1361
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1362
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1363
+ */
1364
+//#define EEPROM_SETTINGS     // Persistent storage with M500 and M501
1365
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1366
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1367
+#if ENABLED(EEPROM_SETTINGS)
1368
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1369
+#endif
1366 1370
 
1367 1371
 //
1368 1372
 // Host Keepalive

+ 15
- 11
config/examples/Cartesio/Configuration.h Näytä tiedosto

@@ -1363,17 +1363,21 @@
1363 1363
 
1364 1364
 // @section extras
1365 1365
 
1366
-//
1367
-// EEPROM
1368
-//
1369
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1370
-// M500 - stores parameters in EEPROM
1371
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1372
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1373
-//
1374
-//#define EEPROM_SETTINGS // Enable for M500 and M501 commands
1375
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1376
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1366
+/**
1367
+ * EEPROM
1368
+ *
1369
+ * Persistent storage to preserve configurable settings across reboots.
1370
+ *
1371
+ *   M500 - Store settings to EEPROM.
1372
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1373
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1374
+ */
1375
+//#define EEPROM_SETTINGS     // Persistent storage with M500 and M501
1376
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1377
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1378
+#if ENABLED(EEPROM_SETTINGS)
1379
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1380
+#endif
1377 1381
 
1378 1382
 //
1379 1383
 // Host Keepalive

+ 15
- 11
config/examples/Creality/CR-10/Configuration.h Näytä tiedosto

@@ -1374,17 +1374,21 @@
1374 1374
 
1375 1375
 // @section extras
1376 1376
 
1377
-//
1378
-// EEPROM
1379
-//
1380
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1381
-// M500 - stores parameters in EEPROM
1382
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1383
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1384
-//
1385
-#define EEPROM_SETTINGS // Enable for M500 and M501 commands
1386
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1387
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1377
+/**
1378
+ * EEPROM
1379
+ *
1380
+ * Persistent storage to preserve configurable settings across reboots.
1381
+ *
1382
+ *   M500 - Store settings to EEPROM.
1383
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1384
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1385
+ */
1386
+#define EEPROM_SETTINGS       // Persistent storage with M500 and M501
1387
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1388
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1389
+#if ENABLED(EEPROM_SETTINGS)
1390
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1391
+#endif
1388 1392
 
1389 1393
 //
1390 1394
 // Host Keepalive

+ 15
- 11
config/examples/Creality/CR-10S/Configuration.h Näytä tiedosto

@@ -1365,17 +1365,21 @@
1365 1365
 
1366 1366
 // @section extras
1367 1367
 
1368
-//
1369
-// EEPROM
1370
-//
1371
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1372
-// M500 - stores parameters in EEPROM
1373
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1374
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1375
-//
1376
-#define EEPROM_SETTINGS   // Enable for M500 and M501 commands
1377
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1378
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1368
+/**
1369
+ * EEPROM
1370
+ *
1371
+ * Persistent storage to preserve configurable settings across reboots.
1372
+ *
1373
+ *   M500 - Store settings to EEPROM.
1374
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1375
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1376
+ */
1377
+#define EEPROM_SETTINGS       // Persistent storage with M500 and M501
1378
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1379
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1380
+#if ENABLED(EEPROM_SETTINGS)
1381
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1382
+#endif
1379 1383
 
1380 1384
 //
1381 1385
 // Host Keepalive

+ 15
- 11
config/examples/Creality/CR-10_5S/Configuration.h Näytä tiedosto

@@ -1367,17 +1367,21 @@
1367 1367
 
1368 1368
 // @section extras
1369 1369
 
1370
-//
1371
-// EEPROM
1372
-//
1373
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1374
-// M500 - stores parameters in EEPROM
1375
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1376
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1377
-//
1378
-#define EEPROM_SETTINGS   // Enable for M500 and M501 commands
1379
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1380
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1370
+/**
1371
+ * EEPROM
1372
+ *
1373
+ * Persistent storage to preserve configurable settings across reboots.
1374
+ *
1375
+ *   M500 - Store settings to EEPROM.
1376
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1377
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1378
+ */
1379
+#define EEPROM_SETTINGS       // Persistent storage with M500 and M501
1380
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1381
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1382
+#if ENABLED(EEPROM_SETTINGS)
1383
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1384
+#endif
1381 1385
 
1382 1386
 //
1383 1387
 // Host Keepalive

+ 15
- 11
config/examples/Creality/CR-10mini/Configuration.h Näytä tiedosto

@@ -1383,17 +1383,21 @@
1383 1383
 
1384 1384
 // @section extras
1385 1385
 
1386
-//
1387
-// EEPROM
1388
-//
1389
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1390
-// M500 - stores parameters in EEPROM
1391
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1392
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1393
-//
1394
-#define EEPROM_SETTINGS // Enable for M500 and M501 commands
1395
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1396
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1386
+/**
1387
+ * EEPROM
1388
+ *
1389
+ * Persistent storage to preserve configurable settings across reboots.
1390
+ *
1391
+ *   M500 - Store settings to EEPROM.
1392
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1393
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1394
+ */
1395
+#define EEPROM_SETTINGS       // Persistent storage with M500 and M501
1396
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1397
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1398
+#if ENABLED(EEPROM_SETTINGS)
1399
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1400
+#endif
1397 1401
 
1398 1402
 //
1399 1403
 // Host Keepalive

+ 15
- 11
config/examples/Creality/CR-8/Configuration.h Näytä tiedosto

@@ -1374,17 +1374,21 @@
1374 1374
 
1375 1375
 // @section extras
1376 1376
 
1377
-//
1378
-// EEPROM
1379
-//
1380
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1381
-// M500 - stores parameters in EEPROM
1382
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1383
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1384
-//
1385
-#define EEPROM_SETTINGS   // Enable for M500 and M501 commands
1386
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1387
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1377
+/**
1378
+ * EEPROM
1379
+ *
1380
+ * Persistent storage to preserve configurable settings across reboots.
1381
+ *
1382
+ *   M500 - Store settings to EEPROM.
1383
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1384
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1385
+ */
1386
+#define EEPROM_SETTINGS       // Persistent storage with M500 and M501
1387
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1388
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1389
+#if ENABLED(EEPROM_SETTINGS)
1390
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1391
+#endif
1388 1392
 
1389 1393
 //
1390 1394
 // Host Keepalive

+ 15
- 11
config/examples/Creality/Ender-2/Configuration.h Näytä tiedosto

@@ -1368,17 +1368,21 @@
1368 1368
 
1369 1369
 // @section extras
1370 1370
 
1371
-//
1372
-// EEPROM
1373
-//
1374
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1375
-// M500 - stores parameters in EEPROM
1376
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1377
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1378
-//
1379
-//#define EEPROM_SETTINGS // Enable for M500 and M501 commands
1380
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1381
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1371
+/**
1372
+ * EEPROM
1373
+ *
1374
+ * Persistent storage to preserve configurable settings across reboots.
1375
+ *
1376
+ *   M500 - Store settings to EEPROM.
1377
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1378
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1379
+ */
1380
+//#define EEPROM_SETTINGS     // Persistent storage with M500 and M501
1381
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1382
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1383
+#if ENABLED(EEPROM_SETTINGS)
1384
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1385
+#endif
1382 1386
 
1383 1387
 //
1384 1388
 // Host Keepalive

+ 15
- 11
config/examples/Creality/Ender-3/Configuration.h Näytä tiedosto

@@ -1368,17 +1368,21 @@
1368 1368
 
1369 1369
 // @section extras
1370 1370
 
1371
-//
1372
-// EEPROM
1373
-//
1374
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1375
-// M500 - stores parameters in EEPROM
1376
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1377
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1378
-//
1379
-#define EEPROM_SETTINGS // Enable for M500 and M501 commands
1380
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1381
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1371
+/**
1372
+ * EEPROM
1373
+ *
1374
+ * Persistent storage to preserve configurable settings across reboots.
1375
+ *
1376
+ *   M500 - Store settings to EEPROM.
1377
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1378
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1379
+ */
1380
+#define EEPROM_SETTINGS       // Persistent storage with M500 and M501
1381
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1382
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1383
+#if ENABLED(EEPROM_SETTINGS)
1384
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1385
+#endif
1382 1386
 
1383 1387
 //
1384 1388
 // Host Keepalive

+ 15
- 11
config/examples/Creality/Ender-4/Configuration.h Näytä tiedosto

@@ -1374,17 +1374,21 @@
1374 1374
 
1375 1375
 // @section extras
1376 1376
 
1377
-//
1378
-// EEPROM
1379
-//
1380
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1381
-// M500 - stores parameters in EEPROM
1382
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1383
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1384
-//
1385
-#define EEPROM_SETTINGS   // Enable for M500 and M501 commands
1386
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1387
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1377
+/**
1378
+ * EEPROM
1379
+ *
1380
+ * Persistent storage to preserve configurable settings across reboots.
1381
+ *
1382
+ *   M500 - Store settings to EEPROM.
1383
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1384
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1385
+ */
1386
+#define EEPROM_SETTINGS       // Persistent storage with M500 and M501
1387
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1388
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1389
+#if ENABLED(EEPROM_SETTINGS)
1390
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1391
+#endif
1388 1392
 
1389 1393
 //
1390 1394
 // Host Keepalive

+ 15
- 11
config/examples/Einstart-S/Configuration.h Näytä tiedosto

@@ -1372,17 +1372,21 @@
1372 1372
 
1373 1373
 // @section extras
1374 1374
 
1375
-//
1376
-// EEPROM
1377
-//
1378
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1379
-// M500 - stores parameters in EEPROM
1380
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1381
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1382
-//
1383
-#define EEPROM_SETTINGS // Enable for M500 and M501 commands
1384
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1385
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1375
+/**
1376
+ * EEPROM
1377
+ *
1378
+ * Persistent storage to preserve configurable settings across reboots.
1379
+ *
1380
+ *   M500 - Store settings to EEPROM.
1381
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1382
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1383
+ */
1384
+#define EEPROM_SETTINGS       // Persistent storage with M500 and M501
1385
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1386
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1387
+#if ENABLED(EEPROM_SETTINGS)
1388
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1389
+#endif
1386 1390
 
1387 1391
 //
1388 1392
 // Host Keepalive

+ 15
- 11
config/examples/Felix/Configuration.h Näytä tiedosto

@@ -1346,17 +1346,21 @@
1346 1346
 
1347 1347
 // @section extras
1348 1348
 
1349
-//
1350
-// EEPROM
1351
-//
1352
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1353
-// M500 - stores parameters in EEPROM
1354
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1355
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1356
-//
1357
-//#define EEPROM_SETTINGS // Enable for M500 and M501 commands
1358
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1359
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1349
+/**
1350
+ * EEPROM
1351
+ *
1352
+ * Persistent storage to preserve configurable settings across reboots.
1353
+ *
1354
+ *   M500 - Store settings to EEPROM.
1355
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1356
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1357
+ */
1358
+//#define EEPROM_SETTINGS     // Persistent storage with M500 and M501
1359
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1360
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1361
+#if ENABLED(EEPROM_SETTINGS)
1362
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1363
+#endif
1360 1364
 
1361 1365
 //
1362 1366
 // Host Keepalive

+ 15
- 11
config/examples/Felix/DUAL/Configuration.h Näytä tiedosto

@@ -1346,17 +1346,21 @@
1346 1346
 
1347 1347
 // @section extras
1348 1348
 
1349
-//
1350
-// EEPROM
1351
-//
1352
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1353
-// M500 - stores parameters in EEPROM
1354
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1355
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1356
-//
1357
-//#define EEPROM_SETTINGS // Enable for M500 and M501 commands
1358
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1359
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1349
+/**
1350
+ * EEPROM
1351
+ *
1352
+ * Persistent storage to preserve configurable settings across reboots.
1353
+ *
1354
+ *   M500 - Store settings to EEPROM.
1355
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1356
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1357
+ */
1358
+//#define EEPROM_SETTINGS     // Persistent storage with M500 and M501
1359
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1360
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1361
+#if ENABLED(EEPROM_SETTINGS)
1362
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1363
+#endif
1360 1364
 
1361 1365
 //
1362 1366
 // Host Keepalive

+ 15
- 11
config/examples/FlashForge/CreatorPro/Configuration.h Näytä tiedosto

@@ -1355,17 +1355,21 @@
1355 1355
 
1356 1356
 // @section extras
1357 1357
 
1358
-//
1359
-// EEPROM
1360
-//
1361
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1362
-// M500 - stores parameters in EEPROM
1363
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1364
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1365
-//
1366
-//#define EEPROM_SETTINGS // Enable for M500 and M501 commands
1367
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1368
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1358
+/**
1359
+ * EEPROM
1360
+ *
1361
+ * Persistent storage to preserve configurable settings across reboots.
1362
+ *
1363
+ *   M500 - Store settings to EEPROM.
1364
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1365
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1366
+ */
1367
+//#define EEPROM_SETTINGS     // Persistent storage with M500 and M501
1368
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1369
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1370
+#if ENABLED(EEPROM_SETTINGS)
1371
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1372
+#endif
1369 1373
 
1370 1374
 //
1371 1375
 // Host Keepalive

+ 15
- 11
config/examples/FolgerTech/i3-2020/Configuration.h Näytä tiedosto

@@ -1370,17 +1370,21 @@
1370 1370
 
1371 1371
 // @section extras
1372 1372
 
1373
-//
1374
-// EEPROM
1375
-//
1376
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1377
-// M500 - stores parameters in EEPROM
1378
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1379
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1380
-//
1381
-#define EEPROM_SETTINGS   // Enable for M500 and M501 commands
1382
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1383
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1373
+/**
1374
+ * EEPROM
1375
+ *
1376
+ * Persistent storage to preserve configurable settings across reboots.
1377
+ *
1378
+ *   M500 - Store settings to EEPROM.
1379
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1380
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1381
+ */
1382
+#define EEPROM_SETTINGS       // Persistent storage with M500 and M501
1383
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1384
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1385
+#if ENABLED(EEPROM_SETTINGS)
1386
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1387
+#endif
1384 1388
 
1385 1389
 //
1386 1390
 // Host Keepalive

+ 15
- 11
config/examples/Formbot/Raptor/Configuration.h Näytä tiedosto

@@ -1469,17 +1469,21 @@
1469 1469
 
1470 1470
 // @section extras
1471 1471
 
1472
-//
1473
-// EEPROM
1474
-//
1475
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1476
-// M500 - stores parameters in EEPROM
1477
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1478
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1479
-//
1480
-#define EEPROM_SETTINGS   // Enable for M500 and M501 commands
1481
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1482
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1472
+/**
1473
+ * EEPROM
1474
+ *
1475
+ * Persistent storage to preserve configurable settings across reboots.
1476
+ *
1477
+ *   M500 - Store settings to EEPROM.
1478
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1479
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1480
+ */
1481
+#define EEPROM_SETTINGS       // Persistent storage with M500 and M501
1482
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1483
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1484
+#if ENABLED(EEPROM_SETTINGS)
1485
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1486
+#endif
1483 1487
 
1484 1488
 //
1485 1489
 // Host Keepalive

+ 15
- 11
config/examples/Formbot/T_Rex_2+/Configuration.h Näytä tiedosto

@@ -1399,17 +1399,21 @@
1399 1399
 
1400 1400
 // @section extras
1401 1401
 
1402
-//
1403
-// EEPROM
1404
-//
1405
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1406
-// M500 - stores parameters in EEPROM
1407
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1408
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1409
-//
1410
-#define EEPROM_SETTINGS   // Enable for M500 and M501 commands
1411
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1412
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1402
+/**
1403
+ * EEPROM
1404
+ *
1405
+ * Persistent storage to preserve configurable settings across reboots.
1406
+ *
1407
+ *   M500 - Store settings to EEPROM.
1408
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1409
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1410
+ */
1411
+#define EEPROM_SETTINGS       // Persistent storage with M500 and M501
1412
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1413
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1414
+#if ENABLED(EEPROM_SETTINGS)
1415
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1416
+#endif
1413 1417
 
1414 1418
 //
1415 1419
 // Host Keepalive

+ 15
- 11
config/examples/Formbot/T_Rex_3/Configuration.h Näytä tiedosto

@@ -1389,17 +1389,21 @@
1389 1389
 
1390 1390
 // @section extras
1391 1391
 
1392
-//
1393
-// EEPROM
1394
-//
1395
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1396
-// M500 - stores parameters in EEPROM
1397
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1398
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1399
-//
1400
-#define EEPROM_SETTINGS   // Enable for M500 and M501 commands
1401
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1402
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1392
+/**
1393
+ * EEPROM
1394
+ *
1395
+ * Persistent storage to preserve configurable settings across reboots.
1396
+ *
1397
+ *   M500 - Store settings to EEPROM.
1398
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1399
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1400
+ */
1401
+#define EEPROM_SETTINGS       // Persistent storage with M500 and M501
1402
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1403
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1404
+#if ENABLED(EEPROM_SETTINGS)
1405
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1406
+#endif
1403 1407
 
1404 1408
 //
1405 1409
 // Host Keepalive

+ 15
- 11
config/examples/Geeetech/A10M/Configuration.h Näytä tiedosto

@@ -1349,17 +1349,21 @@
1349 1349
 
1350 1350
 // @section extras
1351 1351
 
1352
-//
1353
-// EEPROM
1354
-//
1355
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1356
-// M500 - stores parameters in EEPROM
1357
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1358
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1359
-//
1360
-#define EEPROM_SETTINGS   // Enable for M500 and M501 commands
1361
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1362
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1352
+/**
1353
+ * EEPROM
1354
+ *
1355
+ * Persistent storage to preserve configurable settings across reboots.
1356
+ *
1357
+ *   M500 - Store settings to EEPROM.
1358
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1359
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1360
+ */
1361
+#define EEPROM_SETTINGS       // Persistent storage with M500 and M501
1362
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1363
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1364
+#if ENABLED(EEPROM_SETTINGS)
1365
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1366
+#endif
1363 1367
 
1364 1368
 //
1365 1369
 // Host Keepalive

+ 15
- 11
config/examples/Geeetech/A20M/Configuration.h Näytä tiedosto

@@ -1349,17 +1349,21 @@
1349 1349
 
1350 1350
 // @section extras
1351 1351
 
1352
-//
1353
-// EEPROM
1354
-//
1355
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1356
-// M500 - stores parameters in EEPROM
1357
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1358
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1359
-//
1360
-#define EEPROM_SETTINGS   // Enable for M500 and M501 commands
1361
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1362
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1352
+/**
1353
+ * EEPROM
1354
+ *
1355
+ * Persistent storage to preserve configurable settings across reboots.
1356
+ *
1357
+ *   M500 - Store settings to EEPROM.
1358
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1359
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1360
+ */
1361
+#define EEPROM_SETTINGS       // Persistent storage with M500 and M501
1362
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1363
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1364
+#if ENABLED(EEPROM_SETTINGS)
1365
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1366
+#endif
1363 1367
 
1364 1368
 //
1365 1369
 // Host Keepalive

+ 15
- 11
config/examples/Geeetech/GT2560/Configuration.h Näytä tiedosto

@@ -1379,17 +1379,21 @@
1379 1379
 
1380 1380
 // @section extras
1381 1381
 
1382
-//
1383
-// EEPROM
1384
-//
1385
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1386
-// M500 - stores parameters in EEPROM
1387
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1388
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1389
-//
1390
-#define EEPROM_SETTINGS   // Enable for M500 and M501 commands
1391
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1392
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1382
+/**
1383
+ * EEPROM
1384
+ *
1385
+ * Persistent storage to preserve configurable settings across reboots.
1386
+ *
1387
+ *   M500 - Store settings to EEPROM.
1388
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1389
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1390
+ */
1391
+#define EEPROM_SETTINGS       // Persistent storage with M500 and M501
1392
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1393
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1394
+#if ENABLED(EEPROM_SETTINGS)
1395
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1396
+#endif
1393 1397
 
1394 1398
 //
1395 1399
 // Host Keepalive

+ 15
- 11
config/examples/Geeetech/I3_Pro_X-GT2560/Configuration.h Näytä tiedosto

@@ -1353,17 +1353,21 @@
1353 1353
 
1354 1354
 // @section extras
1355 1355
 
1356
-//
1357
-// EEPROM
1358
-//
1359
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1360
-// M500 - stores parameters in EEPROM
1361
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1362
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1363
-//
1364
-#define EEPROM_SETTINGS // Enable for M500 and M501 commands
1365
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1366
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1356
+/**
1357
+ * EEPROM
1358
+ *
1359
+ * Persistent storage to preserve configurable settings across reboots.
1360
+ *
1361
+ *   M500 - Store settings to EEPROM.
1362
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1363
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1364
+ */
1365
+#define EEPROM_SETTINGS       // Persistent storage with M500 and M501
1366
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1367
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1368
+#if ENABLED(EEPROM_SETTINGS)
1369
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1370
+#endif
1367 1371
 
1368 1372
 //
1369 1373
 // Host Keepalive

+ 15
- 11
config/examples/Geeetech/MeCreator2/Configuration.h Näytä tiedosto

@@ -1371,17 +1371,21 @@
1371 1371
 
1372 1372
 // @section extras
1373 1373
 
1374
-//
1375
-// EEPROM
1376
-//
1377
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1378
-// M500 - stores parameters in EEPROM
1379
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1380
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1381
-//
1382
-#define EEPROM_SETTINGS // Enable for M500 and M501 commands
1383
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1384
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1374
+/**
1375
+ * EEPROM
1376
+ *
1377
+ * Persistent storage to preserve configurable settings across reboots.
1378
+ *
1379
+ *   M500 - Store settings to EEPROM.
1380
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1381
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1382
+ */
1383
+#define EEPROM_SETTINGS       // Persistent storage with M500 and M501
1384
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1385
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1386
+#if ENABLED(EEPROM_SETTINGS)
1387
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1388
+#endif
1385 1389
 
1386 1390
 //
1387 1391
 // Host Keepalive

+ 15
- 11
config/examples/Geeetech/Prusa i3 Pro B/bltouch/Configuration.h Näytä tiedosto

@@ -1384,17 +1384,21 @@
1384 1384
 
1385 1385
 // @section extras
1386 1386
 
1387
-//
1388
-// EEPROM
1389
-//
1390
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1391
-// M500 - stores parameters in EEPROM
1392
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1393
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1394
-//
1395
-#define EEPROM_SETTINGS // Enable for M500 and M501 commands
1396
-#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1397
-#define EEPROM_CHITCHAT // Give feedback on EEPROM commands. Disable to save PROGMEM.
1387
+/**
1388
+ * EEPROM
1389
+ *
1390
+ * Persistent storage to preserve configurable settings across reboots.
1391
+ *
1392
+ *   M500 - Store settings to EEPROM.
1393
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1394
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1395
+ */
1396
+#define EEPROM_SETTINGS       // Persistent storage with M500 and M501
1397
+#define DISABLE_M503          // Saves ~2700 bytes of PROGMEM. Disable for release!
1398
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1399
+#if ENABLED(EEPROM_SETTINGS)
1400
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1401
+#endif
1398 1402
 
1399 1403
 //
1400 1404
 // Host Keepalive

+ 15
- 11
config/examples/Geeetech/Prusa i3 Pro B/noprobe/Configuration.h Näytä tiedosto

@@ -1384,17 +1384,21 @@
1384 1384
 
1385 1385
 // @section extras
1386 1386
 
1387
-//
1388
-// EEPROM
1389
-//
1390
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1391
-// M500 - stores parameters in EEPROM
1392
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1393
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1394
-//
1395
-#define EEPROM_SETTINGS // Enable for M500 and M501 commands
1396
-#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1397
-#define EEPROM_CHITCHAT // Give feedback on EEPROM commands. Disable to save PROGMEM.
1387
+/**
1388
+ * EEPROM
1389
+ *
1390
+ * Persistent storage to preserve configurable settings across reboots.
1391
+ *
1392
+ *   M500 - Store settings to EEPROM.
1393
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1394
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1395
+ */
1396
+#define EEPROM_SETTINGS       // Persistent storage with M500 and M501
1397
+#define DISABLE_M503          // Saves ~2700 bytes of PROGMEM. Disable for release!
1398
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1399
+#if ENABLED(EEPROM_SETTINGS)
1400
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1401
+#endif
1398 1402
 
1399 1403
 //
1400 1404
 // Host Keepalive

+ 15
- 11
config/examples/Geeetech/Prusa i3 Pro C/Configuration.h Näytä tiedosto

@@ -1364,17 +1364,21 @@
1364 1364
 
1365 1365
 // @section extras
1366 1366
 
1367
-//
1368
-// EEPROM
1369
-//
1370
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1371
-// M500 - stores parameters in EEPROM
1372
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1373
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1374
-//
1375
-#define EEPROM_SETTINGS // Enable for M500 and M501 commands
1376
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1377
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1367
+/**
1368
+ * EEPROM
1369
+ *
1370
+ * Persistent storage to preserve configurable settings across reboots.
1371
+ *
1372
+ *   M500 - Store settings to EEPROM.
1373
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1374
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1375
+ */
1376
+#define EEPROM_SETTINGS       // Persistent storage with M500 and M501
1377
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1378
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1379
+#if ENABLED(EEPROM_SETTINGS)
1380
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1381
+#endif
1378 1382
 
1379 1383
 //
1380 1384
 // Host Keepalive

+ 15
- 11
config/examples/Geeetech/Prusa i3 Pro W/Configuration.h Näytä tiedosto

@@ -1364,17 +1364,21 @@
1364 1364
 
1365 1365
 // @section extras
1366 1366
 
1367
-//
1368
-// EEPROM
1369
-//
1370
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1371
-// M500 - stores parameters in EEPROM
1372
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1373
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1374
-//
1375
-#define EEPROM_SETTINGS // Enable for M500 and M501 commands
1376
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1377
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1367
+/**
1368
+ * EEPROM
1369
+ *
1370
+ * Persistent storage to preserve configurable settings across reboots.
1371
+ *
1372
+ *   M500 - Store settings to EEPROM.
1373
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1374
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1375
+ */
1376
+#define EEPROM_SETTINGS       // Persistent storage with M500 and M501
1377
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1378
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1379
+#if ENABLED(EEPROM_SETTINGS)
1380
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1381
+#endif
1378 1382
 
1379 1383
 //
1380 1384
 // Host Keepalive

+ 15
- 11
config/examples/Infitary/i3-M508/Configuration.h Näytä tiedosto

@@ -1368,17 +1368,21 @@
1368 1368
 
1369 1369
 // @section extras
1370 1370
 
1371
-//
1372
-// EEPROM
1373
-//
1374
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1375
-// M500 - stores parameters in EEPROM
1376
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1377
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1378
-//
1379
-//#define EEPROM_SETTINGS // Enable for M500 and M501 commands
1380
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1381
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1371
+/**
1372
+ * EEPROM
1373
+ *
1374
+ * Persistent storage to preserve configurable settings across reboots.
1375
+ *
1376
+ *   M500 - Store settings to EEPROM.
1377
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1378
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1379
+ */
1380
+//#define EEPROM_SETTINGS     // Persistent storage with M500 and M501
1381
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1382
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1383
+#if ENABLED(EEPROM_SETTINGS)
1384
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1385
+#endif
1382 1386
 
1383 1387
 //
1384 1388
 // Host Keepalive

+ 15
- 11
config/examples/JGAurora/A5/Configuration.h Näytä tiedosto

@@ -1376,17 +1376,21 @@
1376 1376
 
1377 1377
 // @section extras
1378 1378
 
1379
-//
1380
-// EEPROM
1381
-//
1382
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1383
-// M500 - stores parameters in EEPROM
1384
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1385
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1386
-//
1387
-#define EEPROM_SETTINGS // Enable for M500 and M501 commands
1388
-#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1389
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1379
+/**
1380
+ * EEPROM
1381
+ *
1382
+ * Persistent storage to preserve configurable settings across reboots.
1383
+ *
1384
+ *   M500 - Store settings to EEPROM.
1385
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1386
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1387
+ */
1388
+#define EEPROM_SETTINGS       // Persistent storage with M500 and M501
1389
+#define DISABLE_M503          // Saves ~2700 bytes of PROGMEM. Disable for release!
1390
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1391
+#if ENABLED(EEPROM_SETTINGS)
1392
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1393
+#endif
1390 1394
 
1391 1395
 //
1392 1396
 // Host Keepalive

+ 15
- 11
config/examples/MakerParts/Configuration.h Näytä tiedosto

@@ -1384,17 +1384,21 @@
1384 1384
 
1385 1385
 // @section extras
1386 1386
 
1387
-//
1388
-// EEPROM
1389
-//
1390
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1391
-// M500 - stores parameters in EEPROM
1392
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1393
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1394
-//
1395
-#define EEPROM_SETTINGS // Enable for M500 and M501 commands
1396
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1397
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1387
+/**
1388
+ * EEPROM
1389
+ *
1390
+ * Persistent storage to preserve configurable settings across reboots.
1391
+ *
1392
+ *   M500 - Store settings to EEPROM.
1393
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1394
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1395
+ */
1396
+#define EEPROM_SETTINGS       // Persistent storage with M500 and M501
1397
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1398
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1399
+#if ENABLED(EEPROM_SETTINGS)
1400
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1401
+#endif
1398 1402
 
1399 1403
 //
1400 1404
 // Host Keepalive

+ 15
- 11
config/examples/Malyan/M150/Configuration.h Näytä tiedosto

@@ -1392,17 +1392,21 @@
1392 1392
 
1393 1393
 // @section extras
1394 1394
 
1395
-//
1396
-// EEPROM
1397
-//
1398
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1399
-// M500 - stores parameters in EEPROM
1400
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1401
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1402
-//
1403
-#define EEPROM_SETTINGS   // Enable for M500 and M501 commands
1404
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1405
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1395
+/**
1396
+ * EEPROM
1397
+ *
1398
+ * Persistent storage to preserve configurable settings across reboots.
1399
+ *
1400
+ *   M500 - Store settings to EEPROM.
1401
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1402
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1403
+ */
1404
+#define EEPROM_SETTINGS       // Persistent storage with M500 and M501
1405
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1406
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1407
+#if ENABLED(EEPROM_SETTINGS)
1408
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1409
+#endif
1406 1410
 
1407 1411
 //
1408 1412
 // Host Keepalive

+ 15
- 11
config/examples/Malyan/M200/Configuration.h Näytä tiedosto

@@ -1363,17 +1363,21 @@
1363 1363
 
1364 1364
 // @section extras
1365 1365
 
1366
-//
1367
-// EEPROM
1368
-//
1369
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1370
-// M500 - stores parameters in EEPROM
1371
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1372
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1373
-//
1374
-//#define EEPROM_SETTINGS // Enable for M500 and M501 commands
1375
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1376
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1366
+/**
1367
+ * EEPROM
1368
+ *
1369
+ * Persistent storage to preserve configurable settings across reboots.
1370
+ *
1371
+ *   M500 - Store settings to EEPROM.
1372
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1373
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1374
+ */
1375
+//#define EEPROM_SETTINGS     // Persistent storage with M500 and M501
1376
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1377
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1378
+#if ENABLED(EEPROM_SETTINGS)
1379
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1380
+#endif
1377 1381
 
1378 1382
 //
1379 1383
 // Host Keepalive

+ 15
- 11
config/examples/Micromake/C1/basic/Configuration.h Näytä tiedosto

@@ -1368,17 +1368,21 @@
1368 1368
 
1369 1369
 // @section extras
1370 1370
 
1371
-//
1372
-// EEPROM
1373
-//
1374
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1375
-// M500 - stores parameters in EEPROM
1376
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1377
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1378
-//
1379
-#define EEPROM_SETTINGS // Enable for M500 and M501 commands
1380
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1381
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1371
+/**
1372
+ * EEPROM
1373
+ *
1374
+ * Persistent storage to preserve configurable settings across reboots.
1375
+ *
1376
+ *   M500 - Store settings to EEPROM.
1377
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1378
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1379
+ */
1380
+#define EEPROM_SETTINGS       // Persistent storage with M500 and M501
1381
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1382
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1383
+#if ENABLED(EEPROM_SETTINGS)
1384
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1385
+#endif
1382 1386
 
1383 1387
 //
1384 1388
 // Host Keepalive

+ 15
- 11
config/examples/Micromake/C1/enhanced/Configuration.h Näytä tiedosto

@@ -1368,17 +1368,21 @@
1368 1368
 
1369 1369
 // @section extras
1370 1370
 
1371
-//
1372
-// EEPROM
1373
-//
1374
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1375
-// M500 - stores parameters in EEPROM
1376
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1377
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1378
-//
1379
-#define EEPROM_SETTINGS // Enable for M500 and M501 commands
1380
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1381
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1371
+/**
1372
+ * EEPROM
1373
+ *
1374
+ * Persistent storage to preserve configurable settings across reboots.
1375
+ *
1376
+ *   M500 - Store settings to EEPROM.
1377
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1378
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1379
+ */
1380
+#define EEPROM_SETTINGS       // Persistent storage with M500 and M501
1381
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1382
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1383
+#if ENABLED(EEPROM_SETTINGS)
1384
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1385
+#endif
1382 1386
 
1383 1387
 //
1384 1388
 // Host Keepalive

+ 15
- 11
config/examples/Mks/Robin/Configuration.h Näytä tiedosto

@@ -1365,17 +1365,21 @@
1365 1365
 
1366 1366
 // @section extras
1367 1367
 
1368
-//
1369
-// EEPROM
1370
-//
1371
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1372
-// M500 - stores parameters in EEPROM
1373
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1374
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1375
-//
1376
-//#define EEPROM_SETTINGS // Enable for M500 and M501 commands
1377
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1378
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1368
+/**
1369
+ * EEPROM
1370
+ *
1371
+ * Persistent storage to preserve configurable settings across reboots.
1372
+ *
1373
+ *   M500 - Store settings to EEPROM.
1374
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1375
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1376
+ */
1377
+//#define EEPROM_SETTINGS     // Persistent storage with M500 and M501
1378
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1379
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1380
+#if ENABLED(EEPROM_SETTINGS)
1381
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1382
+#endif
1379 1383
 
1380 1384
 //
1381 1385
 // Host Keepalive

+ 15
- 11
config/examples/Mks/Sbase/Configuration.h Näytä tiedosto

@@ -1364,17 +1364,21 @@
1364 1364
 
1365 1365
 // @section extras
1366 1366
 
1367
-//
1368
-// EEPROM
1369
-//
1370
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1371
-// M500 - stores parameters in EEPROM
1372
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1373
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1374
-//
1375
-//#define EEPROM_SETTINGS // Enable for M500 and M501 commands
1376
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1377
-//#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1367
+/**
1368
+ * EEPROM
1369
+ *
1370
+ * Persistent storage to preserve configurable settings across reboots.
1371
+ *
1372
+ *   M500 - Store settings to EEPROM.
1373
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1374
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1375
+ */
1376
+//#define EEPROM_SETTINGS     // Persistent storage with M500 and M501
1377
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1378
+//#define EEPROM_CHITCHAT     // Give feedback on EEPROM commands. Disable to save PROGMEM.
1379
+#if ENABLED(EEPROM_SETTINGS)
1380
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1381
+#endif
1378 1382
 
1379 1383
 //
1380 1384
 // Host Keepalive

+ 15
- 11
config/examples/Printrbot/PrintrboardG2/Configuration.h Näytä tiedosto

@@ -1372,17 +1372,21 @@
1372 1372
 
1373 1373
 // @section extras
1374 1374
 
1375
-//
1376
-// EEPROM
1377
-//
1378
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1379
-// M500 - stores parameters in EEPROM
1380
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1381
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1382
-//
1383
-//#define EEPROM_SETTINGS // Enable for M500 and M501 commands
1384
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1385
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1375
+/**
1376
+ * EEPROM
1377
+ *
1378
+ * Persistent storage to preserve configurable settings across reboots.
1379
+ *
1380
+ *   M500 - Store settings to EEPROM.
1381
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1382
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1383
+ */
1384
+//#define EEPROM_SETTINGS     // Persistent storage with M500 and M501
1385
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1386
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1387
+#if ENABLED(EEPROM_SETTINGS)
1388
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1389
+#endif
1386 1390
 
1387 1391
 //
1388 1392
 // Host Keepalive

+ 15
- 11
config/examples/RapideLite/RL200/Configuration.h Näytä tiedosto

@@ -1364,17 +1364,21 @@
1364 1364
 
1365 1365
 // @section extras
1366 1366
 
1367
-//
1368
-// EEPROM
1369
-//
1370
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1371
-// M500 - stores parameters in EEPROM
1372
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1373
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1374
-//
1375
-#define EEPROM_SETTINGS // Enable for M500 and M501 commands
1376
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1377
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1367
+/**
1368
+ * EEPROM
1369
+ *
1370
+ * Persistent storage to preserve configurable settings across reboots.
1371
+ *
1372
+ *   M500 - Store settings to EEPROM.
1373
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1374
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1375
+ */
1376
+#define EEPROM_SETTINGS       // Persistent storage with M500 and M501
1377
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1378
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1379
+#if ENABLED(EEPROM_SETTINGS)
1380
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1381
+#endif
1378 1382
 
1379 1383
 //
1380 1384
 // Host Keepalive

+ 15
- 11
config/examples/RepRapPro/Huxley/Configuration.h Näytä tiedosto

@@ -1413,17 +1413,21 @@ Black rubber belt(MXL), 18 - tooth aluminium pulley : 87.489 step per mm (Huxley
1413 1413
 
1414 1414
 // @section extras
1415 1415
 
1416
-//
1417
-// EEPROM
1418
-//
1419
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1420
-// M500 - stores parameters in EEPROM
1421
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1422
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1423
-//
1424
-#define EEPROM_SETTINGS   // Enable for M500 and M501 commands
1425
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1426
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1416
+/**
1417
+ * EEPROM
1418
+ *
1419
+ * Persistent storage to preserve configurable settings across reboots.
1420
+ *
1421
+ *   M500 - Store settings to EEPROM.
1422
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1423
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1424
+ */
1425
+#define EEPROM_SETTINGS       // Persistent storage with M500 and M501
1426
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1427
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1428
+#if ENABLED(EEPROM_SETTINGS)
1429
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1430
+#endif
1427 1431
 
1428 1432
 //
1429 1433
 // Host Keepalive

+ 15
- 11
config/examples/RepRapWorld/Megatronics/Configuration.h Näytä tiedosto

@@ -1364,17 +1364,21 @@
1364 1364
 
1365 1365
 // @section extras
1366 1366
 
1367
-//
1368
-// EEPROM
1369
-//
1370
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1371
-// M500 - stores parameters in EEPROM
1372
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1373
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1374
-//
1375
-//#define EEPROM_SETTINGS // Enable for M500 and M501 commands
1376
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1377
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1367
+/**
1368
+ * EEPROM
1369
+ *
1370
+ * Persistent storage to preserve configurable settings across reboots.
1371
+ *
1372
+ *   M500 - Store settings to EEPROM.
1373
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1374
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1375
+ */
1376
+//#define EEPROM_SETTINGS     // Persistent storage with M500 and M501
1377
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1378
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1379
+#if ENABLED(EEPROM_SETTINGS)
1380
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1381
+#endif
1378 1382
 
1379 1383
 //
1380 1384
 // Host Keepalive

+ 15
- 11
config/examples/RigidBot/Configuration.h Näytä tiedosto

@@ -1362,17 +1362,21 @@
1362 1362
 
1363 1363
 // @section extras
1364 1364
 
1365
-//
1366
-// EEPROM
1367
-//
1368
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1369
-// M500 - stores parameters in EEPROM
1370
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1371
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1372
-//
1373
-#define EEPROM_SETTINGS   // Enable for M500 and M501 commands
1374
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1375
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1365
+/**
1366
+ * EEPROM
1367
+ *
1368
+ * Persistent storage to preserve configurable settings across reboots.
1369
+ *
1370
+ *   M500 - Store settings to EEPROM.
1371
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1372
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1373
+ */
1374
+#define EEPROM_SETTINGS       // Persistent storage with M500 and M501
1375
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1376
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1377
+#if ENABLED(EEPROM_SETTINGS)
1378
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1379
+#endif
1376 1380
 
1377 1381
 //
1378 1382
 // Host Keepalive

+ 15
- 11
config/examples/SCARA/Configuration.h Näytä tiedosto

@@ -1377,17 +1377,21 @@
1377 1377
 
1378 1378
 // @section extras
1379 1379
 
1380
-//
1381
-// EEPROM
1382
-//
1383
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1384
-// M500 - stores parameters in EEPROM
1385
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1386
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1387
-//
1388
-//#define EEPROM_SETTINGS // Enable for M500 and M501 commands
1389
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1390
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1380
+/**
1381
+ * EEPROM
1382
+ *
1383
+ * Persistent storage to preserve configurable settings across reboots.
1384
+ *
1385
+ *   M500 - Store settings to EEPROM.
1386
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1387
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1388
+ */
1389
+//#define EEPROM_SETTINGS     // Persistent storage with M500 and M501
1390
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1391
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1392
+#if ENABLED(EEPROM_SETTINGS)
1393
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1394
+#endif
1391 1395
 
1392 1396
 //
1393 1397
 // Host Keepalive

+ 15
- 11
config/examples/STM32/Black_STM32F407VET6/Configuration.h Näytä tiedosto

@@ -1364,17 +1364,21 @@
1364 1364
 
1365 1365
 // @section extras
1366 1366
 
1367
-//
1368
-// EEPROM
1369
-//
1370
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1371
-// M500 - stores parameters in EEPROM
1372
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1373
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1374
-//
1375
-#define EEPROM_SETTINGS // Enable for M500 and M501 commands
1376
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1377
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1367
+/**
1368
+ * EEPROM
1369
+ *
1370
+ * Persistent storage to preserve configurable settings across reboots.
1371
+ *
1372
+ *   M500 - Store settings to EEPROM.
1373
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1374
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1375
+ */
1376
+#define EEPROM_SETTINGS       // Persistent storage with M500 and M501
1377
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1378
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1379
+#if ENABLED(EEPROM_SETTINGS)
1380
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1381
+#endif
1378 1382
 
1379 1383
 //
1380 1384
 // Host Keepalive

+ 15
- 11
config/examples/STM32/STM32F10/Configuration.h Näytä tiedosto

@@ -1366,17 +1366,21 @@
1366 1366
 
1367 1367
 // @section extras
1368 1368
 
1369
-//
1370
-// EEPROM
1371
-//
1372
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1373
-// M500 - stores parameters in EEPROM
1374
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1375
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1376
-//
1377
-#define EEPROM_SETTINGS // Enable for M500 and M501 commands
1378
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1379
-//#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1369
+/**
1370
+ * EEPROM
1371
+ *
1372
+ * Persistent storage to preserve configurable settings across reboots.
1373
+ *
1374
+ *   M500 - Store settings to EEPROM.
1375
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1376
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1377
+ */
1378
+#define EEPROM_SETTINGS       // Persistent storage with M500 and M501
1379
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1380
+//#define EEPROM_CHITCHAT     // Give feedback on EEPROM commands. Disable to save PROGMEM.
1381
+#if ENABLED(EEPROM_SETTINGS)
1382
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1383
+#endif
1380 1384
 
1381 1385
 //
1382 1386
 // Host Keepalive

+ 15
- 11
config/examples/STM32/STM32F4/Configuration.h Näytä tiedosto

@@ -1364,17 +1364,21 @@
1364 1364
 
1365 1365
 // @section extras
1366 1366
 
1367
-//
1368
-// EEPROM
1369
-//
1370
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1371
-// M500 - stores parameters in EEPROM
1372
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1373
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1374
-//
1375
-//#define EEPROM_SETTINGS // Enable for M500 and M501 commands
1376
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1377
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1367
+/**
1368
+ * EEPROM
1369
+ *
1370
+ * Persistent storage to preserve configurable settings across reboots.
1371
+ *
1372
+ *   M500 - Store settings to EEPROM.
1373
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1374
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1375
+ */
1376
+//#define EEPROM_SETTINGS     // Persistent storage with M500 and M501
1377
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1378
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1379
+#if ENABLED(EEPROM_SETTINGS)
1380
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1381
+#endif
1378 1382
 
1379 1383
 //
1380 1384
 // Host Keepalive

+ 15
- 11
config/examples/STM32/stm32f103ret6/Configuration.h Näytä tiedosto

@@ -1366,17 +1366,21 @@
1366 1366
 
1367 1367
 // @section extras
1368 1368
 
1369
-//
1370
-// EEPROM
1371
-//
1372
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1373
-// M500 - stores parameters in EEPROM
1374
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1375
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1376
-//
1377
-//#define EEPROM_SETTINGS // Enable for M500 and M501 commands
1378
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1379
-//#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1369
+/**
1370
+ * EEPROM
1371
+ *
1372
+ * Persistent storage to preserve configurable settings across reboots.
1373
+ *
1374
+ *   M500 - Store settings to EEPROM.
1375
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1376
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1377
+ */
1378
+//#define EEPROM_SETTINGS     // Persistent storage with M500 and M501
1379
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1380
+//#define EEPROM_CHITCHAT     // Give feedback on EEPROM commands. Disable to save PROGMEM.
1381
+#if ENABLED(EEPROM_SETTINGS)
1382
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1383
+#endif
1380 1384
 
1381 1385
 //
1382 1386
 // Host Keepalive

+ 15
- 11
config/examples/Sanguinololu/Configuration.h Näytä tiedosto

@@ -1395,17 +1395,21 @@
1395 1395
 
1396 1396
 // @section extras
1397 1397
 
1398
-//
1399
-// EEPROM
1400
-//
1401
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1402
-// M500 - stores parameters in EEPROM
1403
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1404
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1405
-//
1406
-#define EEPROM_SETTINGS   // Enable for M500 and M501 commands
1407
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1408
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1398
+/**
1399
+ * EEPROM
1400
+ *
1401
+ * Persistent storage to preserve configurable settings across reboots.
1402
+ *
1403
+ *   M500 - Store settings to EEPROM.
1404
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1405
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1406
+ */
1407
+#define EEPROM_SETTINGS       // Persistent storage with M500 and M501
1408
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1409
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1410
+#if ENABLED(EEPROM_SETTINGS)
1411
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1412
+#endif
1409 1413
 
1410 1414
 //
1411 1415
 // Host Keepalive

+ 15
- 11
config/examples/TheBorg/Configuration.h Näytä tiedosto

@@ -1364,17 +1364,21 @@
1364 1364
 
1365 1365
 // @section extras
1366 1366
 
1367
-//
1368
-// EEPROM
1369
-//
1370
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1371
-// M500 - stores parameters in EEPROM
1372
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1373
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1374
-//
1375
-//#define EEPROM_SETTINGS // Enable for M500 and M501 commands
1376
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1377
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1367
+/**
1368
+ * EEPROM
1369
+ *
1370
+ * Persistent storage to preserve configurable settings across reboots.
1371
+ *
1372
+ *   M500 - Store settings to EEPROM.
1373
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1374
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1375
+ */
1376
+//#define EEPROM_SETTINGS     // Persistent storage with M500 and M501
1377
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1378
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1379
+#if ENABLED(EEPROM_SETTINGS)
1380
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1381
+#endif
1378 1382
 
1379 1383
 //
1380 1384
 // Host Keepalive

+ 15
- 11
config/examples/TinyBoy2/Configuration.h Näytä tiedosto

@@ -1420,17 +1420,21 @@
1420 1420
 
1421 1421
 // @section extras
1422 1422
 
1423
-//
1424
-// EEPROM
1425
-//
1426
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1427
-// M500 - stores parameters in EEPROM
1428
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1429
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1430
-//
1431
-#define EEPROM_SETTINGS   // Enable for M500 and M501 commands
1432
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1433
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1423
+/**
1424
+ * EEPROM
1425
+ *
1426
+ * Persistent storage to preserve configurable settings across reboots.
1427
+ *
1428
+ *   M500 - Store settings to EEPROM.
1429
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1430
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1431
+ */
1432
+#define EEPROM_SETTINGS       // Persistent storage with M500 and M501
1433
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1434
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1435
+#if ENABLED(EEPROM_SETTINGS)
1436
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1437
+#endif
1434 1438
 
1435 1439
 //
1436 1440
 // Host Keepalive

+ 15
- 11
config/examples/Tronxy/X1/Configuration.h Näytä tiedosto

@@ -1364,17 +1364,21 @@
1364 1364
 
1365 1365
 // @section extras
1366 1366
 
1367
-//
1368
-// EEPROM
1369
-//
1370
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1371
-// M500 - stores parameters in EEPROM
1372
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1373
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1374
-//
1375
-#define EEPROM_SETTINGS // Enable for M500 and M501 commands
1376
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1377
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1367
+/**
1368
+ * EEPROM
1369
+ *
1370
+ * Persistent storage to preserve configurable settings across reboots.
1371
+ *
1372
+ *   M500 - Store settings to EEPROM.
1373
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1374
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1375
+ */
1376
+#define EEPROM_SETTINGS       // Persistent storage with M500 and M501
1377
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1378
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1379
+#if ENABLED(EEPROM_SETTINGS)
1380
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1381
+#endif
1378 1382
 
1379 1383
 //
1380 1384
 // Host Keepalive

+ 15
- 11
config/examples/Tronxy/X3A/Configuration.h Näytä tiedosto

@@ -1368,17 +1368,21 @@
1368 1368
 
1369 1369
 // @section extras
1370 1370
 
1371
-//
1372
-// EEPROM
1373
-//
1374
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1375
-// M500 - stores parameters in EEPROM
1376
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1377
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1378
-//
1379
-#define EEPROM_SETTINGS // Enable for M500 and M501 commands
1380
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1381
-//#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1371
+/**
1372
+ * EEPROM
1373
+ *
1374
+ * Persistent storage to preserve configurable settings across reboots.
1375
+ *
1376
+ *   M500 - Store settings to EEPROM.
1377
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1378
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1379
+ */
1380
+#define EEPROM_SETTINGS       // Persistent storage with M500 and M501
1381
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1382
+//#define EEPROM_CHITCHAT     // Give feedback on EEPROM commands. Disable to save PROGMEM.
1383
+#if ENABLED(EEPROM_SETTINGS)
1384
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1385
+#endif
1382 1386
 
1383 1387
 //
1384 1388
 // Host Keepalive

+ 15
- 11
config/examples/Tronxy/X5S-2E/Configuration.h Näytä tiedosto

@@ -1385,17 +1385,21 @@
1385 1385
 
1386 1386
 // @section extras
1387 1387
 
1388
-//
1389
-// EEPROM
1390
-//
1391
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1392
-// M500 - stores parameters in EEPROM
1393
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1394
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1395
-//
1396
-#define EEPROM_SETTINGS // Enable for M500 and M501 commands
1397
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1398
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1388
+/**
1389
+ * EEPROM
1390
+ *
1391
+ * Persistent storage to preserve configurable settings across reboots.
1392
+ *
1393
+ *   M500 - Store settings to EEPROM.
1394
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1395
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1396
+ */
1397
+#define EEPROM_SETTINGS       // Persistent storage with M500 and M501
1398
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1399
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1400
+#if ENABLED(EEPROM_SETTINGS)
1401
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1402
+#endif
1399 1403
 
1400 1404
 //
1401 1405
 // Host Keepalive

+ 15
- 11
config/examples/Tronxy/X5S/Configuration.h Näytä tiedosto

@@ -1363,17 +1363,21 @@
1363 1363
 
1364 1364
 // @section extras
1365 1365
 
1366
-//
1367
-// EEPROM
1368
-//
1369
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1370
-// M500 - stores parameters in EEPROM
1371
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1372
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1373
-//
1374
-#define EEPROM_SETTINGS // Enable for M500 and M501 commands
1375
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1376
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1366
+/**
1367
+ * EEPROM
1368
+ *
1369
+ * Persistent storage to preserve configurable settings across reboots.
1370
+ *
1371
+ *   M500 - Store settings to EEPROM.
1372
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1373
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1374
+ */
1375
+#define EEPROM_SETTINGS       // Persistent storage with M500 and M501
1376
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1377
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1378
+#if ENABLED(EEPROM_SETTINGS)
1379
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1380
+#endif
1377 1381
 
1378 1382
 //
1379 1383
 // Host Keepalive

+ 15
- 11
config/examples/Tronxy/XY100/Configuration.h Näytä tiedosto

@@ -1375,17 +1375,21 @@
1375 1375
 
1376 1376
 // @section extras
1377 1377
 
1378
-//
1379
-// EEPROM
1380
-//
1381
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1382
-// M500 - stores parameters in EEPROM
1383
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1384
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1385
-//
1386
-//#define EEPROM_SETTINGS // Enable for M500 and M501 commands
1387
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1388
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1378
+/**
1379
+ * EEPROM
1380
+ *
1381
+ * Persistent storage to preserve configurable settings across reboots.
1382
+ *
1383
+ *   M500 - Store settings to EEPROM.
1384
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1385
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1386
+ */
1387
+//#define EEPROM_SETTINGS     // Persistent storage with M500 and M501
1388
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1389
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1390
+#if ENABLED(EEPROM_SETTINGS)
1391
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1392
+#endif
1389 1393
 
1390 1394
 //
1391 1395
 // Host Keepalive

+ 15
- 11
config/examples/UltiMachine/Archim1/Configuration.h Näytä tiedosto

@@ -1364,17 +1364,21 @@
1364 1364
 
1365 1365
 // @section extras
1366 1366
 
1367
-//
1368
-// EEPROM
1369
-//
1370
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1371
-// M500 - stores parameters in EEPROM
1372
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1373
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1374
-//
1375
-//#define EEPROM_SETTINGS // Enable for M500 and M501 commands
1376
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1377
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1367
+/**
1368
+ * EEPROM
1369
+ *
1370
+ * Persistent storage to preserve configurable settings across reboots.
1371
+ *
1372
+ *   M500 - Store settings to EEPROM.
1373
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1374
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1375
+ */
1376
+//#define EEPROM_SETTINGS     // Persistent storage with M500 and M501
1377
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1378
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1379
+#if ENABLED(EEPROM_SETTINGS)
1380
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1381
+#endif
1378 1382
 
1379 1383
 //
1380 1384
 // Host Keepalive

+ 15
- 11
config/examples/UltiMachine/Archim2/Configuration.h Näytä tiedosto

@@ -1364,17 +1364,21 @@
1364 1364
 
1365 1365
 // @section extras
1366 1366
 
1367
-//
1368
-// EEPROM
1369
-//
1370
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1371
-// M500 - stores parameters in EEPROM
1372
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1373
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1374
-//
1375
-//#define EEPROM_SETTINGS // Enable for M500 and M501 commands
1376
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1377
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1367
+/**
1368
+ * EEPROM
1369
+ *
1370
+ * Persistent storage to preserve configurable settings across reboots.
1371
+ *
1372
+ *   M500 - Store settings to EEPROM.
1373
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1374
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1375
+ */
1376
+//#define EEPROM_SETTINGS     // Persistent storage with M500 and M501
1377
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1378
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1379
+#if ENABLED(EEPROM_SETTINGS)
1380
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1381
+#endif
1378 1382
 
1379 1383
 //
1380 1384
 // Host Keepalive

+ 15
- 11
config/examples/VORONDesign/Configuration.h Näytä tiedosto

@@ -1373,17 +1373,21 @@
1373 1373
 
1374 1374
 // @section extras
1375 1375
 
1376
-//
1377
-// EEPROM
1378
-//
1379
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1380
-// M500 - stores parameters in EEPROM
1381
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1382
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1383
-//
1384
-#define EEPROM_SETTINGS // Enable for M500 and M501 commands
1385
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1386
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1376
+/**
1377
+ * EEPROM
1378
+ *
1379
+ * Persistent storage to preserve configurable settings across reboots.
1380
+ *
1381
+ *   M500 - Store settings to EEPROM.
1382
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1383
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1384
+ */
1385
+#define EEPROM_SETTINGS       // Persistent storage with M500 and M501
1386
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1387
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1388
+#if ENABLED(EEPROM_SETTINGS)
1389
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1390
+#endif
1387 1391
 
1388 1392
 //
1389 1393
 // Host Keepalive

+ 15
- 11
config/examples/Velleman/K8200/Configuration.h Näytä tiedosto

@@ -1394,17 +1394,21 @@
1394 1394
 
1395 1395
 // @section extras
1396 1396
 
1397
-//
1398
-// EEPROM
1399
-//
1400
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1401
-// M500 - stores parameters in EEPROM
1402
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1403
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1404
-//
1405
-#define EEPROM_SETTINGS   // Enable for M500 and M501 commands
1406
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1407
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1397
+/**
1398
+ * EEPROM
1399
+ *
1400
+ * Persistent storage to preserve configurable settings across reboots.
1401
+ *
1402
+ *   M500 - Store settings to EEPROM.
1403
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1404
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1405
+ */
1406
+#define EEPROM_SETTINGS       // Persistent storage with M500 and M501
1407
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1408
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1409
+#if ENABLED(EEPROM_SETTINGS)
1410
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1411
+#endif
1408 1412
 
1409 1413
 //
1410 1414
 // Host Keepalive

+ 15
- 11
config/examples/Velleman/K8400/Configuration.h Näytä tiedosto

@@ -1364,17 +1364,21 @@
1364 1364
 
1365 1365
 // @section extras
1366 1366
 
1367
-//
1368
-// EEPROM
1369
-//
1370
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1371
-// M500 - stores parameters in EEPROM
1372
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1373
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1374
-//
1375
-#define EEPROM_SETTINGS   // Enable for M500 and M501 commands
1376
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1377
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1367
+/**
1368
+ * EEPROM
1369
+ *
1370
+ * Persistent storage to preserve configurable settings across reboots.
1371
+ *
1372
+ *   M500 - Store settings to EEPROM.
1373
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1374
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1375
+ */
1376
+#define EEPROM_SETTINGS       // Persistent storage with M500 and M501
1377
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1378
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1379
+#if ENABLED(EEPROM_SETTINGS)
1380
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1381
+#endif
1378 1382
 
1379 1383
 //
1380 1384
 // Host Keepalive

+ 15
- 11
config/examples/Velleman/K8400/Dual-head/Configuration.h Näytä tiedosto

@@ -1364,17 +1364,21 @@
1364 1364
 
1365 1365
 // @section extras
1366 1366
 
1367
-//
1368
-// EEPROM
1369
-//
1370
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1371
-// M500 - stores parameters in EEPROM
1372
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1373
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1374
-//
1375
-#define EEPROM_SETTINGS   // Enable for M500 and M501 commands
1376
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1377
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1367
+/**
1368
+ * EEPROM
1369
+ *
1370
+ * Persistent storage to preserve configurable settings across reboots.
1371
+ *
1372
+ *   M500 - Store settings to EEPROM.
1373
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1374
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1375
+ */
1376
+#define EEPROM_SETTINGS       // Persistent storage with M500 and M501
1377
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1378
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1379
+#if ENABLED(EEPROM_SETTINGS)
1380
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1381
+#endif
1378 1382
 
1379 1383
 //
1380 1384
 // Host Keepalive

+ 15
- 11
config/examples/WASP/PowerWASP/Configuration.h Näytä tiedosto

@@ -1383,17 +1383,21 @@
1383 1383
 
1384 1384
 // @section extras
1385 1385
 
1386
-//
1387
-// EEPROM
1388
-//
1389
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1390
-// M500 - stores parameters in EEPROM
1391
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1392
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1393
-//
1394
-#define EEPROM_SETTINGS // Enable for M500 and M501 commands
1395
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1396
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1386
+/**
1387
+ * EEPROM
1388
+ *
1389
+ * Persistent storage to preserve configurable settings across reboots.
1390
+ *
1391
+ *   M500 - Store settings to EEPROM.
1392
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1393
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1394
+ */
1395
+#define EEPROM_SETTINGS       // Persistent storage with M500 and M501
1396
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1397
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1398
+#if ENABLED(EEPROM_SETTINGS)
1399
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1400
+#endif
1397 1401
 
1398 1402
 //
1399 1403
 // Host Keepalive

+ 15
- 11
config/examples/Wanhao/Duplicator 6/Configuration.h Näytä tiedosto

@@ -1374,17 +1374,21 @@
1374 1374
 
1375 1375
 // @section extras
1376 1376
 
1377
-//
1378
-// EEPROM
1379
-//
1380
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1381
-// M500 - stores parameters in EEPROM
1382
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1383
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1384
-//
1385
-#define EEPROM_SETTINGS // Enable for M500 and M501 commands
1386
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1387
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1377
+/**
1378
+ * EEPROM
1379
+ *
1380
+ * Persistent storage to preserve configurable settings across reboots.
1381
+ *
1382
+ *   M500 - Store settings to EEPROM.
1383
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1384
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1385
+ */
1386
+#define EEPROM_SETTINGS       // Persistent storage with M500 and M501
1387
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1388
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1389
+#if ENABLED(EEPROM_SETTINGS)
1390
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1391
+#endif
1388 1392
 
1389 1393
 //
1390 1394
 // Host Keepalive

+ 15
- 11
config/examples/adafruit/ST7565/Configuration.h Näytä tiedosto

@@ -1364,17 +1364,21 @@
1364 1364
 
1365 1365
 // @section extras
1366 1366
 
1367
-//
1368
-// EEPROM
1369
-//
1370
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1371
-// M500 - stores parameters in EEPROM
1372
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1373
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1374
-//
1375
-//#define EEPROM_SETTINGS // Enable for M500 and M501 commands
1376
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1377
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1367
+/**
1368
+ * EEPROM
1369
+ *
1370
+ * Persistent storage to preserve configurable settings across reboots.
1371
+ *
1372
+ *   M500 - Store settings to EEPROM.
1373
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1374
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1375
+ */
1376
+//#define EEPROM_SETTINGS     // Persistent storage with M500 and M501
1377
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1378
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1379
+#if ENABLED(EEPROM_SETTINGS)
1380
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1381
+#endif
1378 1382
 
1379 1383
 //
1380 1384
 // Host Keepalive

+ 15
- 11
config/examples/delta/Anycubic/Kossel/Configuration.h Näytä tiedosto

@@ -1551,17 +1551,21 @@
1551 1551
 
1552 1552
 // @section extras
1553 1553
 
1554
-//
1555
-// EEPROM
1556
-//
1557
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1558
-// M500 - stores parameters in EEPROM
1559
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1560
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1561
-//
1562
-#define EEPROM_SETTINGS // Enable for M500 and M501 commands
1563
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1564
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1554
+/**
1555
+ * EEPROM
1556
+ *
1557
+ * Persistent storage to preserve configurable settings across reboots.
1558
+ *
1559
+ *   M500 - Store settings to EEPROM.
1560
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1561
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1562
+ */
1563
+#define EEPROM_SETTINGS       // Persistent storage with M500 and M501
1564
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1565
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1566
+#if ENABLED(EEPROM_SETTINGS)
1567
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1568
+#endif
1565 1569
 
1566 1570
 //
1567 1571
 // Host Keepalive

+ 15
- 11
config/examples/delta/FLSUN/auto_calibrate/Configuration.h Näytä tiedosto

@@ -1492,17 +1492,21 @@
1492 1492
 
1493 1493
 // @section extras
1494 1494
 
1495
-//
1496
-// EEPROM
1497
-//
1498
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1499
-// M500 - stores parameters in EEPROM
1500
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1501
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1502
-//
1503
-#define EEPROM_SETTINGS   // Enable for M500 and M501 commands
1504
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1505
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1495
+/**
1496
+ * EEPROM
1497
+ *
1498
+ * Persistent storage to preserve configurable settings across reboots.
1499
+ *
1500
+ *   M500 - Store settings to EEPROM.
1501
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1502
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1503
+ */
1504
+#define EEPROM_SETTINGS       // Persistent storage with M500 and M501
1505
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1506
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1507
+#if ENABLED(EEPROM_SETTINGS)
1508
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1509
+#endif
1506 1510
 
1507 1511
 //
1508 1512
 // Host Keepalive

+ 15
- 11
config/examples/delta/FLSUN/kossel/Configuration.h Näytä tiedosto

@@ -1491,17 +1491,21 @@
1491 1491
 
1492 1492
 // @section extras
1493 1493
 
1494
-//
1495
-// EEPROM
1496
-//
1497
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1498
-// M500 - stores parameters in EEPROM
1499
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1500
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1501
-//
1502
-#define EEPROM_SETTINGS   // Enable for M500 and M501 commands
1503
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1504
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1494
+/**
1495
+ * EEPROM
1496
+ *
1497
+ * Persistent storage to preserve configurable settings across reboots.
1498
+ *
1499
+ *   M500 - Store settings to EEPROM.
1500
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1501
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1502
+ */
1503
+#define EEPROM_SETTINGS       // Persistent storage with M500 and M501
1504
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1505
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1506
+#if ENABLED(EEPROM_SETTINGS)
1507
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1508
+#endif
1505 1509
 
1506 1510
 //
1507 1511
 // Host Keepalive

+ 15
- 11
config/examples/delta/FLSUN/kossel_mini/Configuration.h Näytä tiedosto

@@ -1491,17 +1491,21 @@
1491 1491
 
1492 1492
 // @section extras
1493 1493
 
1494
-//
1495
-// EEPROM
1496
-//
1497
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1498
-// M500 - stores parameters in EEPROM
1499
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1500
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1501
-//
1502
-#define EEPROM_SETTINGS   // Enable for M500 and M501 commands
1503
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1504
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1494
+/**
1495
+ * EEPROM
1496
+ *
1497
+ * Persistent storage to preserve configurable settings across reboots.
1498
+ *
1499
+ *   M500 - Store settings to EEPROM.
1500
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1501
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1502
+ */
1503
+#define EEPROM_SETTINGS       // Persistent storage with M500 and M501
1504
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1505
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1506
+#if ENABLED(EEPROM_SETTINGS)
1507
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1508
+#endif
1505 1509
 
1506 1510
 //
1507 1511
 // Host Keepalive

+ 15
- 11
config/examples/delta/Geeetech/Rostock 301/Configuration.h Näytä tiedosto

@@ -1479,17 +1479,21 @@
1479 1479
 
1480 1480
 // @section extras
1481 1481
 
1482
-//
1483
-// EEPROM
1484
-//
1485
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1486
-// M500 - stores parameters in EEPROM
1487
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1488
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1489
-//
1490
-#define EEPROM_SETTINGS // Enable for M500 and M501 commands
1491
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1492
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1482
+/**
1483
+ * EEPROM
1484
+ *
1485
+ * Persistent storage to preserve configurable settings across reboots.
1486
+ *
1487
+ *   M500 - Store settings to EEPROM.
1488
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1489
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1490
+ */
1491
+#define EEPROM_SETTINGS       // Persistent storage with M500 and M501
1492
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1493
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1494
+#if ENABLED(EEPROM_SETTINGS)
1495
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1496
+#endif
1493 1497
 
1494 1498
 //
1495 1499
 // Host Keepalive

+ 15
- 11
config/examples/delta/Hatchbox_Alpha/Configuration.h Näytä tiedosto

@@ -1494,17 +1494,21 @@
1494 1494
 
1495 1495
 // @section extras
1496 1496
 
1497
-//
1498
-// EEPROM
1499
-//
1500
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1501
-// M500 - stores parameters in EEPROM
1502
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1503
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1504
-//
1505
-#define EEPROM_SETTINGS // Enable for M500 and M501 commands
1506
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1507
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1497
+/**
1498
+ * EEPROM
1499
+ *
1500
+ * Persistent storage to preserve configurable settings across reboots.
1501
+ *
1502
+ *   M500 - Store settings to EEPROM.
1503
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1504
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1505
+ */
1506
+#define EEPROM_SETTINGS       // Persistent storage with M500 and M501
1507
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1508
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1509
+#if ENABLED(EEPROM_SETTINGS)
1510
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1511
+#endif
1508 1512
 
1509 1513
 //
1510 1514
 // Host Keepalive

+ 15
- 11
config/examples/delta/MKS/SBASE/Configuration.h Näytä tiedosto

@@ -1479,17 +1479,21 @@
1479 1479
 
1480 1480
 // @section extras
1481 1481
 
1482
-//
1483
-// EEPROM
1484
-//
1485
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1486
-// M500 - stores parameters in EEPROM
1487
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1488
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1489
-//
1490
-//#define EEPROM_SETTINGS // Enable for M500 and M501 commands
1491
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1492
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1482
+/**
1483
+ * EEPROM
1484
+ *
1485
+ * Persistent storage to preserve configurable settings across reboots.
1486
+ *
1487
+ *   M500 - Store settings to EEPROM.
1488
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1489
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1490
+ */
1491
+//#define EEPROM_SETTINGS     // Persistent storage with M500 and M501
1492
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1493
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1494
+#if ENABLED(EEPROM_SETTINGS)
1495
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1496
+#endif
1493 1497
 
1494 1498
 //
1495 1499
 // Host Keepalive

+ 15
- 11
config/examples/delta/Tevo Little Monster/Configuration.h Näytä tiedosto

@@ -1472,17 +1472,21 @@
1472 1472
 
1473 1473
 // @section extras
1474 1474
 
1475
-//
1476
-// EEPROM
1477
-//
1478
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1479
-// M500 - stores parameters in EEPROM
1480
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1481
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1482
-//
1483
-#define EEPROM_SETTINGS // Enable for M500 and M501 commands
1484
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1485
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1475
+/**
1476
+ * EEPROM
1477
+ *
1478
+ * Persistent storage to preserve configurable settings across reboots.
1479
+ *
1480
+ *   M500 - Store settings to EEPROM.
1481
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1482
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1483
+ */
1484
+#define EEPROM_SETTINGS       // Persistent storage with M500 and M501
1485
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1486
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1487
+#if ENABLED(EEPROM_SETTINGS)
1488
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1489
+#endif
1486 1490
 
1487 1491
 //
1488 1492
 // Host Keepalive

+ 15
- 11
config/examples/delta/generic/Configuration.h Näytä tiedosto

@@ -1479,17 +1479,21 @@
1479 1479
 
1480 1480
 // @section extras
1481 1481
 
1482
-//
1483
-// EEPROM
1484
-//
1485
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1486
-// M500 - stores parameters in EEPROM
1487
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1488
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1489
-//
1490
-//#define EEPROM_SETTINGS // Enable for M500 and M501 commands
1491
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1492
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1482
+/**
1483
+ * EEPROM
1484
+ *
1485
+ * Persistent storage to preserve configurable settings across reboots.
1486
+ *
1487
+ *   M500 - Store settings to EEPROM.
1488
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1489
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1490
+ */
1491
+//#define EEPROM_SETTINGS     // Persistent storage with M500 and M501
1492
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1493
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1494
+#if ENABLED(EEPROM_SETTINGS)
1495
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1496
+#endif
1493 1497
 
1494 1498
 //
1495 1499
 // Host Keepalive

+ 15
- 11
config/examples/delta/kossel_mini/Configuration.h Näytä tiedosto

@@ -1481,17 +1481,21 @@
1481 1481
 
1482 1482
 // @section extras
1483 1483
 
1484
-//
1485
-// EEPROM
1486
-//
1487
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1488
-// M500 - stores parameters in EEPROM
1489
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1490
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1491
-//
1492
-//#define EEPROM_SETTINGS // Enable for M500 and M501 commands
1493
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1494
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1484
+/**
1485
+ * EEPROM
1486
+ *
1487
+ * Persistent storage to preserve configurable settings across reboots.
1488
+ *
1489
+ *   M500 - Store settings to EEPROM.
1490
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1491
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1492
+ */
1493
+//#define EEPROM_SETTINGS     // Persistent storage with M500 and M501
1494
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1495
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1496
+#if ENABLED(EEPROM_SETTINGS)
1497
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1498
+#endif
1495 1499
 
1496 1500
 //
1497 1501
 // Host Keepalive

+ 15
- 11
config/examples/delta/kossel_pro/Configuration.h Näytä tiedosto

@@ -1482,17 +1482,21 @@
1482 1482
 
1483 1483
 // @section extras
1484 1484
 
1485
-//
1486
-// EEPROM
1487
-//
1488
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1489
-// M500 - stores parameters in EEPROM
1490
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1491
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1492
-//
1493
-//#define EEPROM_SETTINGS // Enable for M500 and M501 commands
1494
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1495
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1485
+/**
1486
+ * EEPROM
1487
+ *
1488
+ * Persistent storage to preserve configurable settings across reboots.
1489
+ *
1490
+ *   M500 - Store settings to EEPROM.
1491
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1492
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1493
+ */
1494
+//#define EEPROM_SETTINGS     // Persistent storage with M500 and M501
1495
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1496
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1497
+#if ENABLED(EEPROM_SETTINGS)
1498
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1499
+#endif
1496 1500
 
1497 1501
 //
1498 1502
 // Host Keepalive

+ 15
- 11
config/examples/delta/kossel_xl/Configuration.h Näytä tiedosto

@@ -1482,17 +1482,21 @@
1482 1482
 
1483 1483
 // @section extras
1484 1484
 
1485
-//
1486
-// EEPROM
1487
-//
1488
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1489
-// M500 - stores parameters in EEPROM
1490
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1491
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1492
-//
1493
-#define EEPROM_SETTINGS   // Enable for M500 and M501 commands
1494
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1495
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1485
+/**
1486
+ * EEPROM
1487
+ *
1488
+ * Persistent storage to preserve configurable settings across reboots.
1489
+ *
1490
+ *   M500 - Store settings to EEPROM.
1491
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1492
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1493
+ */
1494
+#define EEPROM_SETTINGS       // Persistent storage with M500 and M501
1495
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1496
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1497
+#if ENABLED(EEPROM_SETTINGS)
1498
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1499
+#endif
1496 1500
 
1497 1501
 //
1498 1502
 // Host Keepalive

+ 15
- 11
config/examples/gCreate/gMax1.5+/Configuration.h Näytä tiedosto

@@ -1367,17 +1367,21 @@
1367 1367
 
1368 1368
 // @section extras
1369 1369
 
1370
-//
1371
-// EEPROM
1372
-//
1373
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1374
-// M500 - stores parameters in EEPROM
1375
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1376
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1377
-//
1378
-#define EEPROM_SETTINGS   // Enable for M500 and M501 commands
1379
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1380
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1370
+/**
1371
+ * EEPROM
1372
+ *
1373
+ * Persistent storage to preserve configurable settings across reboots.
1374
+ *
1375
+ *   M500 - Store settings to EEPROM.
1376
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1377
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1378
+ */
1379
+#define EEPROM_SETTINGS       // Persistent storage with M500 and M501
1380
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1381
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1382
+#if ENABLED(EEPROM_SETTINGS)
1383
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1384
+#endif
1381 1385
 
1382 1386
 //
1383 1387
 // Host Keepalive

+ 15
- 11
config/examples/makibox/Configuration.h Näytä tiedosto

@@ -1367,17 +1367,21 @@
1367 1367
 
1368 1368
 // @section extras
1369 1369
 
1370
-//
1371
-// EEPROM
1372
-//
1373
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1374
-// M500 - stores parameters in EEPROM
1375
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1376
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1377
-//
1378
-#define EEPROM_SETTINGS   // Enable for M500 and M501 commands
1379
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1380
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1370
+/**
1371
+ * EEPROM
1372
+ *
1373
+ * Persistent storage to preserve configurable settings across reboots.
1374
+ *
1375
+ *   M500 - Store settings to EEPROM.
1376
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1377
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1378
+ */
1379
+#define EEPROM_SETTINGS       // Persistent storage with M500 and M501
1380
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1381
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1382
+#if ENABLED(EEPROM_SETTINGS)
1383
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1384
+#endif
1381 1385
 
1382 1386
 //
1383 1387
 // Host Keepalive

+ 15
- 11
config/examples/tvrrug/Round2/Configuration.h Näytä tiedosto

@@ -1359,17 +1359,21 @@
1359 1359
 
1360 1360
 // @section extras
1361 1361
 
1362
-//
1363
-// EEPROM
1364
-//
1365
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1366
-// M500 - stores parameters in EEPROM
1367
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1368
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1369
-//
1370
-//#define EEPROM_SETTINGS // Enable for M500 and M501 commands
1371
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1372
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1362
+/**
1363
+ * EEPROM
1364
+ *
1365
+ * Persistent storage to preserve configurable settings across reboots.
1366
+ *
1367
+ *   M500 - Store settings to EEPROM.
1368
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1369
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1370
+ */
1371
+//#define EEPROM_SETTINGS     // Persistent storage with M500 and M501
1372
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1373
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1374
+#if ENABLED(EEPROM_SETTINGS)
1375
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1376
+#endif
1373 1377
 
1374 1378
 //
1375 1379
 // Host Keepalive

+ 15
- 11
config/examples/wt150/Configuration.h Näytä tiedosto

@@ -1369,17 +1369,21 @@
1369 1369
 
1370 1370
 // @section extras
1371 1371
 
1372
-//
1373
-// EEPROM
1374
-//
1375
-// The microcontroller can store settings in the EEPROM, e.g. max velocity...
1376
-// M500 - stores parameters in EEPROM
1377
-// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1378
-// M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1379
-//
1380
-#define EEPROM_SETTINGS   // Enable for M500 and M501 commands
1381
-//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1382
-#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1372
+/**
1373
+ * EEPROM
1374
+ *
1375
+ * Persistent storage to preserve configurable settings across reboots.
1376
+ *
1377
+ *   M500 - Store settings to EEPROM.
1378
+ *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1379
+ *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1380
+ */
1381
+#define EEPROM_SETTINGS       // Persistent storage with M500 and M501
1382
+//#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1383
+#define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1384
+#if ENABLED(EEPROM_SETTINGS)
1385
+  //#define EEPROM_AUTO_INIT  // Init EEPROM automatically on any errors.
1386
+#endif
1383 1387
 
1384 1388
 //
1385 1389
 // Host Keepalive

Loading…
Peruuta
Tallenna