Skip to content

Commit 17d0a29

Browse files
committed
Disabled some features in S1-F4 devices to save program memory:
- EEPROM_INIT_NOW - PRINTCOUNTER - INDIVIDUAL_AXIS_HOMING_SUBMENU - HAS_CUSTOM_COLORS_MENU - HAS_LOCKSCREEN - POWER_LOSS_RECOVERY - PLR_TUNE_ITEM - SDCARD_READONLY - LONG_FILENAME_HOST_SUPPORT - LONG_FILENAME_WRITE_SUPPORT - BINARY_FILE_TRANSFER - CANCEL_OBJECTS
1 parent 5457a95 commit 17d0a29

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

configurations/Ender3S1-F4/Configuration.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2437,7 +2437,7 @@
24372437
#define EEPROM_BOOT_SILENT // Keep M503 quiet and only give errors during first load
24382438
#if ENABLED(EEPROM_SETTINGS)
24392439
#define EEPROM_AUTO_INIT // Init EEPROM automatically on any errors. // Ender Configs
2440-
#define EEPROM_INIT_NOW // Init EEPROM on first boot after a new build. // MRiscoC Reset EEPROM on first boot
2440+
//#define EEPROM_INIT_NOW // Init EEPROM on first boot after a new build. // MRiscoC Reset EEPROM on first boot
24412441
#endif
24422442

24432443
// @section host
@@ -2640,7 +2640,7 @@
26402640
*
26412641
* View the current statistics with M78.
26422642
*/
2643-
#define PRINTCOUNTER // MRiscoC Enable Print Statistics
2643+
//#define PRINTCOUNTER // MRiscoC Enable Print Statistics
26442644
#if ENABLED(PRINTCOUNTER)
26452645
#define PRINTCOUNTER_SAVE_INTERVAL 60 // (minutes) EEPROM save interval during print. A value of 0 will save stats at end of print.
26462646
#endif
@@ -2814,7 +2814,7 @@
28142814
// Add individual axis homing items (Home X, Home Y, and Home Z) to the LCD menu.
28152815
//
28162816
//#define INDIVIDUAL_AXIS_HOMING_MENU
2817-
#define INDIVIDUAL_AXIS_HOMING_SUBMENU
2817+
//#define INDIVIDUAL_AXIS_HOMING_SUBMENU
28182818

28192819
//
28202820
// SPEAKER/BUZZER
@@ -3518,16 +3518,16 @@
35183518
#define HAS_TOOLBAR 1
35193519
#endif
35203520
#define HAS_CUSTOM_COLORS 1
3521-
#define HAS_CUSTOM_COLORS_MENU 1
3521+
//#define HAS_CUSTOM_COLORS_MENU 1
35223522
#define HAS_PLOT 1
35233523
#define HAS_ESDIAG 1
3524-
#define HAS_LOCKSCREEN 1
3524+
//#define HAS_LOCKSCREEN 1
35253525
#define MESH_EDIT_MENU
35263526
//#define PREVIEW_MENU_ITEM // Allows enable/disable Thumbnail preview via menu and C250
35273527
#define SHOW_REAL_POS // Display the real axes position in cartesian printers
35283528
//#define ACTIVATE_MESH_ITEM // Allows temporary enabling of mesh leveling
35293529
#define RUNOUT_TUNE_ITEM // Allows enable/disable the run out filament sensor while printing
3530-
#define PLR_TUNE_ITEM // Allows enable/disable the power lost recovery while printing
3530+
//#define PLR_TUNE_ITEM // Allows enable/disable the power lost recovery while printing
35313531
//#define JD_TUNE_ITEM // Enable only if Juntion Deviation is enabled
35323532
//#define ADVK_TUNE_ITEM // Enable only if Linear Advance is enabled
35333533
//#define MEDIASORT_MENU_ITEM // Allows enable/disable file list sorting

configurations/Ender3S1-F4/Configuration_adv.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1730,7 +1730,7 @@
17301730
//#define SD_DETECT_STATE HIGH
17311731

17321732
//#define SD_IGNORE_AT_STARTUP // Don't mount the SD card when starting up
1733-
//#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
1733+
#define SDCARD_READONLY // Read-only SD card (to save over 2K of flash)
17341734

17351735
//#define GCODE_REPEAT_MARKERS // Enable G-code M808 to set repeat markers and do looping
17361736

@@ -1767,7 +1767,7 @@
17671767
* an option on the LCD screen to continue the print from the last-known
17681768
* point in the file.
17691769
*/
1770-
#define POWER_LOSS_RECOVERY // Ender Configs
1770+
//#define POWER_LOSS_RECOVERY // Ender Configs
17711771
#if ENABLED(POWER_LOSS_RECOVERY)
17721772
#define PLR_ENABLED_DEFAULT false // Power-Loss Recovery enabled by default. (Set with 'M413 Sn' & M500)
17731773
//#define PLR_BED_THRESHOLD BED_MAXTEMP // (°C) Skip user confirmation at or above this bed temperature (0 to disable)
@@ -1824,7 +1824,7 @@
18241824
// SD Card Sorting options
18251825
#if ENABLED(SDCARD_SORT_ALPHA)
18261826
#define SDSORT_REVERSE false // Default to sorting file names in reverse order.
1827-
#define SDSORT_LIMIT 50 // Maximum number of sorted items (10-256). Costs 27 bytes each. // MRiscoC Increase number of sorted items
1827+
#define SDSORT_LIMIT 40 // Maximum number of sorted items (10-256). Costs 27 bytes each. // MRiscoC Increase number of sorted items
18281828
#define SDSORT_FOLDERS -1 // -1=above 0=none 1=below
18291829
#define SDSORT_GCODE true // Enable G-code M34 to set sorting behaviors: M34 S<-1|0|1> F<-1|0|1> // MRiscoC Allows disable file sort by M34 g-code
18301830
#define SDSORT_USES_RAM true // Pre-allocate a static array for faster pre-sorting. // Ender Configs
@@ -1839,8 +1839,8 @@
18391839
// LCD's font must contain the characters. Check your selected LCD language.
18401840
//#define UTF_FILENAME_SUPPORT
18411841

1842-
#define LONG_FILENAME_HOST_SUPPORT // Get the long filename of a file/folder with 'M33 <dosname>' and list long filenames with 'M20 L' // MRiscoC Enabled
1843-
#define LONG_FILENAME_WRITE_SUPPORT // Create / delete files with long filenames via M28, M30, and Binary Transfer Protocol // MRiscoC Enabled
1842+
//#define LONG_FILENAME_HOST_SUPPORT // Get the long filename of a file/folder with 'M33 <dosname>' and list long filenames with 'M20 L' // MRiscoC Enabled
1843+
//#define LONG_FILENAME_WRITE_SUPPORT // Create / delete files with long filenames via M28, M30, and Binary Transfer Protocol // MRiscoC Enabled
18441844
//#define M20_TIMESTAMP_SUPPORT // Include timestamps by adding the 'T' flag to M20 commands
18451845

18461846
#define SCROLL_LONG_FILENAMES // Scroll long filenames in the SD card menu // MRiscoC Enabled
@@ -1928,7 +1928,7 @@
19281928
//#define CONFIGURATION_EMBEDDING
19291929

19301930
// Add an optimized binary file transfer mode, initiated with 'M28 B1'
1931-
#define BINARY_FILE_TRANSFER // MRiscoC Enabled for easy firmware upgrade
1931+
//#define BINARY_FILE_TRANSFER // MRiscoC Enabled for easy firmware upgrade
19321932

19331933
#if ENABLED(BINARY_FILE_TRANSFER)
19341934
// Include extra facilities (e.g., 'M20 F') supporting firmware upload via BINARY_FILE_TRANSFER
@@ -4164,7 +4164,7 @@
41644164
*
41654165
* Implement M486 to allow Marlin to skip objects
41664166
*/
4167-
#define CANCEL_OBJECTS // MRiscoC Enabled M486 to skip objects
4167+
//#define CANCEL_OBJECTS // MRiscoC Enabled M486 to skip objects
41684168
#if ENABLED(CANCEL_OBJECTS)
41694169
#define CANCEL_OBJECTS_REPORTING // Emit the current object as a status message
41704170
#endif

0 commit comments

Comments
 (0)