Просмотр исходного кода

Expose DISABLE_M503 option as a test option

Scott Lahteine 8 лет назад
Родитель
Сommit
dcec7178d1
34 измененных файлов: 78 добавлений и 73 удалений
  1. 2
    2
      Marlin/Configuration.h
  2. 14
    9
      Marlin/Marlin_main.cpp
  3. 1
    1
      Marlin/configuration_store.cpp
  4. 1
    1
      Marlin/configuration_store.h
  5. 2
    2
      Marlin/example_configurations/Anet/A6/Configuration.h
  6. 2
    2
      Marlin/example_configurations/Anet/A8/Configuration.h
  7. 2
    2
      Marlin/example_configurations/CL-260/Configuration.h
  8. 2
    2
      Marlin/example_configurations/Cartesio/Configuration.h
  9. 2
    2
      Marlin/example_configurations/Felix/Configuration.h
  10. 2
    2
      Marlin/example_configurations/Felix/DUAL/Configuration.h
  11. 2
    2
      Marlin/example_configurations/FolgerTech-i3-2020/Configuration.h
  12. 2
    2
      Marlin/example_configurations/Hephestos/Configuration.h
  13. 2
    2
      Marlin/example_configurations/Hephestos_2/Configuration.h
  14. 2
    2
      Marlin/example_configurations/K8200/Configuration.h
  15. 2
    2
      Marlin/example_configurations/K8400/Configuration.h
  16. 2
    2
      Marlin/example_configurations/K8400/Dual-head/Configuration.h
  17. 2
    2
      Marlin/example_configurations/M150/Configuration.h
  18. 2
    2
      Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h
  19. 2
    2
      Marlin/example_configurations/RigidBot/Configuration.h
  20. 2
    2
      Marlin/example_configurations/SCARA/Configuration.h
  21. 2
    2
      Marlin/example_configurations/TAZ4/Configuration.h
  22. 2
    2
      Marlin/example_configurations/TinyBoy2/Configuration.h
  23. 2
    2
      Marlin/example_configurations/WITBOX/Configuration.h
  24. 2
    2
      Marlin/example_configurations/adafruit/ST7565/Configuration.h
  25. 2
    2
      Marlin/example_configurations/delta/FLSUN/auto_calibrate/Configuration.h
  26. 2
    2
      Marlin/example_configurations/delta/FLSUN/kossel_mini/Configuration.h
  27. 2
    2
      Marlin/example_configurations/delta/generic/Configuration.h
  28. 2
    2
      Marlin/example_configurations/delta/kossel_mini/Configuration.h
  29. 2
    2
      Marlin/example_configurations/delta/kossel_pro/Configuration.h
  30. 2
    2
      Marlin/example_configurations/delta/kossel_xl/Configuration.h
  31. 2
    2
      Marlin/example_configurations/gCreate_gMax1.5+/Configuration.h
  32. 2
    2
      Marlin/example_configurations/makibox/Configuration.h
  33. 2
    2
      Marlin/example_configurations/tvrrug/Round2/Configuration.h
  34. 2
    2
      Marlin/example_configurations/wt150/Configuration.h

+ 2
- 2
Marlin/Configuration.h Просмотреть файл

992
 //#define EEPROM_SETTINGS
992
 //#define EEPROM_SETTINGS
993
 
993
 
994
 #if ENABLED(EEPROM_SETTINGS)
994
 #if ENABLED(EEPROM_SETTINGS)
995
-  // To disable EEPROM Serial responses and decrease program space by ~1700 byte: comment this out:
996
-  #define EEPROM_CHITCHAT // Please keep turned on if you can.
995
+  //#define DISABLE_M503  // Saves ~2700 bytes of PROGMEM. Disable for release!
996
+  #define EEPROM_CHITCHAT // Print a report on M500. Please keep turned on.
997
 #endif
997
 #endif
998
 
998
 
999
 //
999
 //

+ 14
- 9
Marlin/Marlin_main.cpp Просмотреть файл

9279
   (void)settings.reset();
9279
   (void)settings.reset();
9280
 }
9280
 }
9281
 
9281
 
9282
-/**
9283
- * M503: print settings currently in memory
9284
- */
9285
-inline void gcode_M503() {
9286
-  (void)settings.report(!parser.boolval('S', true));
9287
-}
9282
+#if DISABLED(DISABLE_M503)
9283
+  /**
9284
+   * M503: print settings currently in memory
9285
+   */
9286
+  inline void gcode_M503() {
9287
+    (void)settings.report(!parser.boolval('S', true));
9288
+  }
9289
+#endif
9288
 
9290
 
9289
 #if ENABLED(ABORT_ON_ENDSTOP_HIT_FEATURE_ENABLED)
9291
 #if ENABLED(ABORT_ON_ENDSTOP_HIT_FEATURE_ENABLED)
9290
 
9292
 
11022
       case 502: // M502: Revert to default settings
11024
       case 502: // M502: Revert to default settings
11023
         gcode_M502();
11025
         gcode_M502();
11024
         break;
11026
         break;
11025
-      case 503: // M503: print settings currently in memory
11026
-        gcode_M503();
11027
-        break;
11027
+
11028
+      #if DISABLED(DISABLE_M503)
11029
+        case 503: // M503: print settings currently in memory
11030
+          gcode_M503();
11031
+          break;
11032
+      #endif
11028
 
11033
 
11029
       #if ENABLED(ABORT_ON_ENDSTOP_HIT_FEATURE_ENABLED)
11034
       #if ENABLED(ABORT_ON_ENDSTOP_HIT_FEATURE_ENABLED)
11030
         case 540: // M540: Set abort on endstop hit for SD printing
11035
         case 540: // M540: Set abort on endstop hit for SD printing

+ 1
- 1
Marlin/configuration_store.cpp Просмотреть файл

1051
       #endif
1051
       #endif
1052
     }
1052
     }
1053
 
1053
 
1054
-    #if ENABLED(EEPROM_CHITCHAT)
1054
+    #if ENABLED(EEPROM_CHITCHAT) && DISABLED(DISABLE_M503)
1055
       report();
1055
       report();
1056
     #endif
1056
     #endif
1057
 
1057
 

+ 1
- 1
Marlin/configuration_store.h Просмотреть файл

55
       static void report(bool forReplay=false);
55
       static void report(bool forReplay=false);
56
     #else
56
     #else
57
       FORCE_INLINE
57
       FORCE_INLINE
58
-      static void report(bool forReplay=false) { }
58
+      static void report(bool forReplay=false) { UNUSED(forReplay); }
59
     #endif
59
     #endif
60
 
60
 
61
   private:
61
   private:

+ 2
- 2
Marlin/example_configurations/Anet/A6/Configuration.h Просмотреть файл

1148
 #define EEPROM_SETTINGS
1148
 #define EEPROM_SETTINGS
1149
 
1149
 
1150
 #if ENABLED(EEPROM_SETTINGS)
1150
 #if ENABLED(EEPROM_SETTINGS)
1151
-  // To disable EEPROM Serial responses and decrease program space by ~1700 byte: comment this out:
1152
-  #define EEPROM_CHITCHAT // Please keep turned on if you can.
1151
+  //#define DISABLE_M503  // Saves ~2700 bytes of PROGMEM. Disable for release!
1152
+  #define EEPROM_CHITCHAT // Print a report on M500. Please keep turned on.
1153
 #endif
1153
 #endif
1154
 
1154
 
1155
 //
1155
 //

+ 2
- 2
Marlin/example_configurations/Anet/A8/Configuration.h Просмотреть файл

998
 #define EEPROM_SETTINGS
998
 #define EEPROM_SETTINGS
999
 
999
 
1000
 #if ENABLED(EEPROM_SETTINGS)
1000
 #if ENABLED(EEPROM_SETTINGS)
1001
-  // To disable EEPROM Serial responses and decrease program space by ~1700 byte: comment this out:
1002
-  #define EEPROM_CHITCHAT // Please keep turned on if you can.
1001
+  //#define DISABLE_M503  // Saves ~2700 bytes of PROGMEM. Disable for release!
1002
+  #define EEPROM_CHITCHAT // Print a report on M500. Please keep turned on.
1003
 #endif
1003
 #endif
1004
 
1004
 
1005
 //
1005
 //

+ 2
- 2
Marlin/example_configurations/CL-260/Configuration.h Просмотреть файл

989
 //#define EEPROM_SETTINGS
989
 //#define EEPROM_SETTINGS
990
 
990
 
991
 #if ENABLED(EEPROM_SETTINGS)
991
 #if ENABLED(EEPROM_SETTINGS)
992
-  // To disable EEPROM Serial responses and decrease program space by ~1700 byte: comment this out:
993
-  #define EEPROM_CHITCHAT // Please keep turned on if you can.
992
+  //#define DISABLE_M503  // Saves ~2700 bytes of PROGMEM. Disable for release!
993
+  #define EEPROM_CHITCHAT // Print a report on M500. Please keep turned on.
994
 #endif
994
 #endif
995
 
995
 
996
 //
996
 //

+ 2
- 2
Marlin/example_configurations/Cartesio/Configuration.h Просмотреть файл

986
 //#define EEPROM_SETTINGS
986
 //#define EEPROM_SETTINGS
987
 
987
 
988
 #if ENABLED(EEPROM_SETTINGS)
988
 #if ENABLED(EEPROM_SETTINGS)
989
-  // To disable EEPROM Serial responses and decrease program space by ~1700 byte: comment this out:
990
-  #define EEPROM_CHITCHAT // Please keep turned on if you can.
989
+  //#define DISABLE_M503  // Saves ~2700 bytes of PROGMEM. Disable for release!
990
+  #define EEPROM_CHITCHAT // Print a report on M500. Please keep turned on.
991
 #endif
991
 #endif
992
 
992
 
993
 //
993
 //

+ 2
- 2
Marlin/example_configurations/Felix/Configuration.h Просмотреть файл

970
 //#define EEPROM_SETTINGS
970
 //#define EEPROM_SETTINGS
971
 
971
 
972
 #if ENABLED(EEPROM_SETTINGS)
972
 #if ENABLED(EEPROM_SETTINGS)
973
-  // To disable EEPROM Serial responses and decrease program space by ~1700 byte: comment this out:
974
-  #define EEPROM_CHITCHAT // Please keep turned on if you can.
973
+  //#define DISABLE_M503  // Saves ~2700 bytes of PROGMEM. Disable for release!
974
+  #define EEPROM_CHITCHAT // Print a report on M500. Please keep turned on.
975
 #endif
975
 #endif
976
 
976
 
977
 //
977
 //

+ 2
- 2
Marlin/example_configurations/Felix/DUAL/Configuration.h Просмотреть файл

970
 //#define EEPROM_SETTINGS
970
 //#define EEPROM_SETTINGS
971
 
971
 
972
 #if ENABLED(EEPROM_SETTINGS)
972
 #if ENABLED(EEPROM_SETTINGS)
973
-  // To disable EEPROM Serial responses and decrease program space by ~1700 byte: comment this out:
974
-  #define EEPROM_CHITCHAT // Please keep turned on if you can.
973
+  //#define DISABLE_M503  // Saves ~2700 bytes of PROGMEM. Disable for release!
974
+  #define EEPROM_CHITCHAT // Print a report on M500. Please keep turned on.
975
 #endif
975
 #endif
976
 
976
 
977
 //
977
 //

+ 2
- 2
Marlin/example_configurations/FolgerTech-i3-2020/Configuration.h Просмотреть файл

992
 #define EEPROM_SETTINGS
992
 #define EEPROM_SETTINGS
993
 
993
 
994
 #if ENABLED(EEPROM_SETTINGS)
994
 #if ENABLED(EEPROM_SETTINGS)
995
-  // To disable EEPROM Serial responses and decrease program space by ~1700 byte: comment this out:
996
-  #define EEPROM_CHITCHAT // Please keep turned on if you can.
995
+  //#define DISABLE_M503  // Saves ~2700 bytes of PROGMEM. Disable for release!
996
+  #define EEPROM_CHITCHAT // Print a report on M500. Please keep turned on.
997
 #endif
997
 #endif
998
 
998
 
999
 //
999
 //

+ 2
- 2
Marlin/example_configurations/Hephestos/Configuration.h Просмотреть файл

978
 //#define EEPROM_SETTINGS
978
 //#define EEPROM_SETTINGS
979
 
979
 
980
 #if ENABLED(EEPROM_SETTINGS)
980
 #if ENABLED(EEPROM_SETTINGS)
981
-  // To disable EEPROM Serial responses and decrease program space by ~1700 byte: comment this out:
982
-  #define EEPROM_CHITCHAT // Please keep turned on if you can.
981
+  //#define DISABLE_M503  // Saves ~2700 bytes of PROGMEM. Disable for release!
982
+  #define EEPROM_CHITCHAT // Print a report on M500. Please keep turned on.
983
 #endif
983
 #endif
984
 
984
 
985
 //
985
 //

+ 2
- 2
Marlin/example_configurations/Hephestos_2/Configuration.h Просмотреть файл

981
 #define EEPROM_SETTINGS
981
 #define EEPROM_SETTINGS
982
 
982
 
983
 #if ENABLED(EEPROM_SETTINGS)
983
 #if ENABLED(EEPROM_SETTINGS)
984
-  // To disable EEPROM Serial responses and decrease program space by ~1700 byte: comment this out:
985
-  #define EEPROM_CHITCHAT // Please keep turned on if you can.
984
+  //#define DISABLE_M503  // Saves ~2700 bytes of PROGMEM. Disable for release!
985
+  #define EEPROM_CHITCHAT // Print a report on M500. Please keep turned on.
986
 #endif
986
 #endif
987
 
987
 
988
 //
988
 //

+ 2
- 2
Marlin/example_configurations/K8200/Configuration.h Просмотреть файл

1017
 #define EEPROM_SETTINGS // K8200: uses EEPROM by default
1017
 #define EEPROM_SETTINGS // K8200: uses EEPROM by default
1018
 
1018
 
1019
 #if ENABLED(EEPROM_SETTINGS)
1019
 #if ENABLED(EEPROM_SETTINGS)
1020
-  // To disable EEPROM Serial responses and decrease program space by ~1700 byte: comment this out:
1021
-  #define EEPROM_CHITCHAT // Please keep turned on if you can.
1020
+  //#define DISABLE_M503  // Saves ~2700 bytes of PROGMEM. Disable for release!
1021
+  #define EEPROM_CHITCHAT // Print a report on M500. Please keep turned on.
1022
 #endif
1022
 #endif
1023
 
1023
 
1024
 //
1024
 //

+ 2
- 2
Marlin/example_configurations/K8400/Configuration.h Просмотреть файл

988
 #define EEPROM_SETTINGS
988
 #define EEPROM_SETTINGS
989
 
989
 
990
 #if ENABLED(EEPROM_SETTINGS)
990
 #if ENABLED(EEPROM_SETTINGS)
991
-  // To disable EEPROM Serial responses and decrease program space by ~1700 byte: comment this out:
992
-  #define EEPROM_CHITCHAT // Please keep turned on if you can.
991
+  //#define DISABLE_M503  // Saves ~2700 bytes of PROGMEM. Disable for release!
992
+  #define EEPROM_CHITCHAT // Print a report on M500. Please keep turned on.
993
 #endif
993
 #endif
994
 
994
 
995
 //
995
 //

+ 2
- 2
Marlin/example_configurations/K8400/Dual-head/Configuration.h Просмотреть файл

988
 #define EEPROM_SETTINGS
988
 #define EEPROM_SETTINGS
989
 
989
 
990
 #if ENABLED(EEPROM_SETTINGS)
990
 #if ENABLED(EEPROM_SETTINGS)
991
-  // To disable EEPROM Serial responses and decrease program space by ~1700 byte: comment this out:
992
-  #define EEPROM_CHITCHAT // Please keep turned on if you can.
991
+  //#define DISABLE_M503  // Saves ~2700 bytes of PROGMEM. Disable for release!
992
+  #define EEPROM_CHITCHAT // Print a report on M500. Please keep turned on.
993
 #endif
993
 #endif
994
 
994
 
995
 //
995
 //

+ 2
- 2
Marlin/example_configurations/M150/Configuration.h Просмотреть файл

1015
 #define EEPROM_SETTINGS
1015
 #define EEPROM_SETTINGS
1016
 
1016
 
1017
 #if ENABLED(EEPROM_SETTINGS)
1017
 #if ENABLED(EEPROM_SETTINGS)
1018
-  // To disable EEPROM Serial responses and decrease program space by ~1700 byte: comment this out:
1019
-  #define EEPROM_CHITCHAT // Please keep turned on if you can.
1018
+  //#define DISABLE_M503  // Saves ~2700 bytes of PROGMEM. Disable for release!
1019
+  #define EEPROM_CHITCHAT // Print a report on M500. Please keep turned on.
1020
 #endif
1020
 #endif
1021
 
1021
 
1022
 //
1022
 //

+ 2
- 2
Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h Просмотреть файл

988
 //#define EEPROM_SETTINGS
988
 //#define EEPROM_SETTINGS
989
 
989
 
990
 #if ENABLED(EEPROM_SETTINGS)
990
 #if ENABLED(EEPROM_SETTINGS)
991
-  // To disable EEPROM Serial responses and decrease program space by ~1700 byte: comment this out:
992
-  #define EEPROM_CHITCHAT // Please keep turned on if you can.
991
+  //#define DISABLE_M503  // Saves ~2700 bytes of PROGMEM. Disable for release!
992
+  #define EEPROM_CHITCHAT // Print a report on M500. Please keep turned on.
993
 #endif
993
 #endif
994
 
994
 
995
 //
995
 //

+ 2
- 2
Marlin/example_configurations/RigidBot/Configuration.h Просмотреть файл

986
 #define EEPROM_SETTINGS
986
 #define EEPROM_SETTINGS
987
 
987
 
988
 #if ENABLED(EEPROM_SETTINGS)
988
 #if ENABLED(EEPROM_SETTINGS)
989
-  // To disable EEPROM Serial responses and decrease program space by ~1700 byte: comment this out:
990
-  #define EEPROM_CHITCHAT // Please keep turned on if you can.
989
+  //#define DISABLE_M503  // Saves ~2700 bytes of PROGMEM. Disable for release!
990
+  #define EEPROM_CHITCHAT // Print a report on M500. Please keep turned on.
991
 #endif
991
 #endif
992
 
992
 
993
 //
993
 //

+ 2
- 2
Marlin/example_configurations/SCARA/Configuration.h Просмотреть файл

1000
 //#define EEPROM_SETTINGS
1000
 //#define EEPROM_SETTINGS
1001
 
1001
 
1002
 #if ENABLED(EEPROM_SETTINGS)
1002
 #if ENABLED(EEPROM_SETTINGS)
1003
-  // To disable EEPROM Serial responses and decrease program space by ~1700 byte: comment this out:
1004
-  #define EEPROM_CHITCHAT // Please keep turned on if you can.
1003
+  //#define DISABLE_M503  // Saves ~2700 bytes of PROGMEM. Disable for release!
1004
+  #define EEPROM_CHITCHAT // Print a report on M500. Please keep turned on.
1005
 #endif
1005
 #endif
1006
 
1006
 
1007
 //
1007
 //

+ 2
- 2
Marlin/example_configurations/TAZ4/Configuration.h Просмотреть файл

1007
 #define EEPROM_SETTINGS
1007
 #define EEPROM_SETTINGS
1008
 
1008
 
1009
 #if ENABLED(EEPROM_SETTINGS)
1009
 #if ENABLED(EEPROM_SETTINGS)
1010
-  // To disable EEPROM Serial responses and decrease program space by ~1700 byte: comment this out:
1011
-  #define EEPROM_CHITCHAT // Please keep turned on if you can.
1010
+  //#define DISABLE_M503  // Saves ~2700 bytes of PROGMEM. Disable for release!
1011
+  #define EEPROM_CHITCHAT // Print a report on M500. Please keep turned on.
1012
 #endif
1012
 #endif
1013
 
1013
 
1014
 //
1014
 //

+ 2
- 2
Marlin/example_configurations/TinyBoy2/Configuration.h Просмотреть файл

1044
 #define EEPROM_SETTINGS
1044
 #define EEPROM_SETTINGS
1045
 
1045
 
1046
 #if ENABLED(EEPROM_SETTINGS)
1046
 #if ENABLED(EEPROM_SETTINGS)
1047
-  // To disable EEPROM Serial responses and decrease program space by ~1700 byte: comment this out:
1048
-  #define EEPROM_CHITCHAT // Please keep turned on if you can.
1047
+  //#define DISABLE_M503  // Saves ~2700 bytes of PROGMEM. Disable for release!
1048
+  #define EEPROM_CHITCHAT // Print a report on M500. Please keep turned on.
1049
 #endif
1049
 #endif
1050
 
1050
 
1051
 //
1051
 //

+ 2
- 2
Marlin/example_configurations/WITBOX/Configuration.h Просмотреть файл

978
 //#define EEPROM_SETTINGS
978
 //#define EEPROM_SETTINGS
979
 
979
 
980
 #if ENABLED(EEPROM_SETTINGS)
980
 #if ENABLED(EEPROM_SETTINGS)
981
-  // To disable EEPROM Serial responses and decrease program space by ~1700 byte: comment this out:
982
-  #define EEPROM_CHITCHAT // Please keep turned on if you can.
981
+  //#define DISABLE_M503  // Saves ~2700 bytes of PROGMEM. Disable for release!
982
+  #define EEPROM_CHITCHAT // Print a report on M500. Please keep turned on.
983
 #endif
983
 #endif
984
 
984
 
985
 //
985
 //

+ 2
- 2
Marlin/example_configurations/adafruit/ST7565/Configuration.h Просмотреть файл

988
 //#define EEPROM_SETTINGS
988
 //#define EEPROM_SETTINGS
989
 
989
 
990
 #if ENABLED(EEPROM_SETTINGS)
990
 #if ENABLED(EEPROM_SETTINGS)
991
-  // To disable EEPROM Serial responses and decrease program space by ~1700 byte: comment this out:
992
-  #define EEPROM_CHITCHAT // Please keep turned on if you can.
991
+  //#define DISABLE_M503  // Saves ~2700 bytes of PROGMEM. Disable for release!
992
+  #define EEPROM_CHITCHAT // Print a report on M500. Please keep turned on.
993
 #endif
993
 #endif
994
 
994
 
995
 //
995
 //

+ 2
- 2
Marlin/example_configurations/delta/FLSUN/auto_calibrate/Configuration.h Просмотреть файл

1108
 #define EEPROM_SETTINGS
1108
 #define EEPROM_SETTINGS
1109
 
1109
 
1110
 #if ENABLED(EEPROM_SETTINGS)
1110
 #if ENABLED(EEPROM_SETTINGS)
1111
-  // To disable EEPROM Serial responses and decrease program space by ~1700 byte: comment this out:
1112
-  #define EEPROM_CHITCHAT // Please keep turned on if you can.
1111
+  //#define DISABLE_M503  // Saves ~2700 bytes of PROGMEM. Disable for release!
1112
+  #define EEPROM_CHITCHAT // Print a report on M500. Please keep turned on.
1113
 #endif
1113
 #endif
1114
 
1114
 
1115
 //
1115
 //

+ 2
- 2
Marlin/example_configurations/delta/FLSUN/kossel_mini/Configuration.h Просмотреть файл

1110
 #define EEPROM_SETTINGS
1110
 #define EEPROM_SETTINGS
1111
 
1111
 
1112
 #if ENABLED(EEPROM_SETTINGS)
1112
 #if ENABLED(EEPROM_SETTINGS)
1113
-  // To disable EEPROM Serial responses and decrease program space by ~1700 byte: comment this out:
1114
-  #define EEPROM_CHITCHAT // Please keep turned on if you can.
1113
+  //#define DISABLE_M503  // Saves ~2700 bytes of PROGMEM. Disable for release!
1114
+  #define EEPROM_CHITCHAT // Print a report on M500. Please keep turned on.
1115
 #endif
1115
 #endif
1116
 
1116
 
1117
 //
1117
 //

+ 2
- 2
Marlin/example_configurations/delta/generic/Configuration.h Просмотреть файл

1099
 //#define EEPROM_SETTINGS
1099
 //#define EEPROM_SETTINGS
1100
 
1100
 
1101
 #if ENABLED(EEPROM_SETTINGS)
1101
 #if ENABLED(EEPROM_SETTINGS)
1102
-  // To disable EEPROM Serial responses and decrease program space by ~1700 byte: comment this out:
1103
-  #define EEPROM_CHITCHAT // Please keep turned on if you can.
1102
+  //#define DISABLE_M503  // Saves ~2700 bytes of PROGMEM. Disable for release!
1103
+  #define EEPROM_CHITCHAT // Print a report on M500. Please keep turned on.
1104
 #endif
1104
 #endif
1105
 
1105
 
1106
 //
1106
 //

+ 2
- 2
Marlin/example_configurations/delta/kossel_mini/Configuration.h Просмотреть файл

1102
 //#define EEPROM_SETTINGS
1102
 //#define EEPROM_SETTINGS
1103
 
1103
 
1104
 #if ENABLED(EEPROM_SETTINGS)
1104
 #if ENABLED(EEPROM_SETTINGS)
1105
-  // To disable EEPROM Serial responses and decrease program space by ~1700 byte: comment this out:
1106
-  #define EEPROM_CHITCHAT // Please keep turned on if you can.
1105
+  //#define DISABLE_M503  // Saves ~2700 bytes of PROGMEM. Disable for release!
1106
+  #define EEPROM_CHITCHAT // Print a report on M500. Please keep turned on.
1107
 #endif
1107
 #endif
1108
 
1108
 
1109
 //
1109
 //

+ 2
- 2
Marlin/example_configurations/delta/kossel_pro/Configuration.h Просмотреть файл

1107
 //#define EEPROM_SETTINGS
1107
 //#define EEPROM_SETTINGS
1108
 
1108
 
1109
 #if ENABLED(EEPROM_SETTINGS)
1109
 #if ENABLED(EEPROM_SETTINGS)
1110
-  // To disable EEPROM Serial responses and decrease program space by ~1700 byte: comment this out:
1111
-  #define EEPROM_CHITCHAT // Please keep turned on if you can.
1110
+  //#define DISABLE_M503  // Saves ~2700 bytes of PROGMEM. Disable for release!
1111
+  #define EEPROM_CHITCHAT // Print a report on M500. Please keep turned on.
1112
 #endif
1112
 #endif
1113
 
1113
 
1114
 //
1114
 //

+ 2
- 2
Marlin/example_configurations/delta/kossel_xl/Configuration.h Просмотреть файл

1165
 #define EEPROM_SETTINGS
1165
 #define EEPROM_SETTINGS
1166
 
1166
 
1167
 #if ENABLED(EEPROM_SETTINGS)
1167
 #if ENABLED(EEPROM_SETTINGS)
1168
-  // To disable EEPROM Serial responses and decrease program space by ~1700 byte: comment this out:
1169
-  #define EEPROM_CHITCHAT // Please keep turned on if you can.
1168
+  //#define DISABLE_M503  // Saves ~2700 bytes of PROGMEM. Disable for release!
1169
+  #define EEPROM_CHITCHAT // Print a report on M500. Please keep turned on.
1170
 #endif
1170
 #endif
1171
 
1171
 
1172
 //
1172
 //

+ 2
- 2
Marlin/example_configurations/gCreate_gMax1.5+/Configuration.h Просмотреть файл

1004
 #define EEPROM_SETTINGS
1004
 #define EEPROM_SETTINGS
1005
 
1005
 
1006
 #if ENABLED(EEPROM_SETTINGS)
1006
 #if ENABLED(EEPROM_SETTINGS)
1007
-  // To disable EEPROM Serial responses and decrease program space by ~1700 byte: comment this out:
1008
-  #define EEPROM_CHITCHAT // Please keep turned on if you can.
1007
+  //#define DISABLE_M503  // Saves ~2700 bytes of PROGMEM. Disable for release!
1008
+  #define EEPROM_CHITCHAT // Print a report on M500. Please keep turned on.
1009
 #endif
1009
 #endif
1010
 
1010
 
1011
 //
1011
 //

+ 2
- 2
Marlin/example_configurations/makibox/Configuration.h Просмотреть файл

991
 #define EEPROM_SETTINGS
991
 #define EEPROM_SETTINGS
992
 
992
 
993
 #if ENABLED(EEPROM_SETTINGS)
993
 #if ENABLED(EEPROM_SETTINGS)
994
-  // To disable EEPROM Serial responses and decrease program space by ~1700 byte: comment this out:
995
-  #define EEPROM_CHITCHAT // Please keep turned on if you can.
994
+  //#define DISABLE_M503  // Saves ~2700 bytes of PROGMEM. Disable for release!
995
+  #define EEPROM_CHITCHAT // Print a report on M500. Please keep turned on.
996
 #endif
996
 #endif
997
 
997
 
998
 //
998
 //

+ 2
- 2
Marlin/example_configurations/tvrrug/Round2/Configuration.h Просмотреть файл

983
 //#define EEPROM_SETTINGS
983
 //#define EEPROM_SETTINGS
984
 
984
 
985
 #if ENABLED(EEPROM_SETTINGS)
985
 #if ENABLED(EEPROM_SETTINGS)
986
-  // To disable EEPROM Serial responses and decrease program space by ~1700 byte: comment this out:
987
-  #define EEPROM_CHITCHAT // Please keep turned on if you can.
986
+  //#define DISABLE_M503  // Saves ~2700 bytes of PROGMEM. Disable for release!
987
+  #define EEPROM_CHITCHAT // Print a report on M500. Please keep turned on.
988
 #endif
988
 #endif
989
 
989
 
990
 //
990
 //

+ 2
- 2
Marlin/example_configurations/wt150/Configuration.h Просмотреть файл

994
 #define EEPROM_SETTINGS
994
 #define EEPROM_SETTINGS
995
 
995
 
996
 #if ENABLED(EEPROM_SETTINGS)
996
 #if ENABLED(EEPROM_SETTINGS)
997
-  // To disable EEPROM Serial responses and decrease program space by ~1700 byte: comment this out:
998
-  #define EEPROM_CHITCHAT // Please keep turned on if you can.
997
+  //#define DISABLE_M503  // Saves ~2700 bytes of PROGMEM. Disable for release!
998
+  #define EEPROM_CHITCHAT // Print a report on M500. Please keep turned on.
999
 #endif
999
 #endif
1000
 
1000
 
1001
 //
1001
 //

Загрузка…
Отмена
Сохранить