From 95ccb8e605057c29f2f4fc7516c420e89adfcaf0 Mon Sep 17 00:00:00 2001 From: Miguel Risco-Castillo Date: Mon, 7 Aug 2023 10:40:53 -0500 Subject: [PATCH] Decrease SDSORT_LIMIT for F4 boards --- 2Pro.py | 10 ---------- Ender3S1-F4-LA/Configuration_adv.h | 2 +- Ender3S1-F4-MM/Configuration_adv.h | 2 +- Ender3S1-F4-T13/Configuration_adv.h | 2 +- Ender3S1-F4-UBL/Configuration_adv.h | 4 ++-- Ender3S1-F4/Configuration_adv.h | 2 +- Ender3V2-422-MM-T5-MPC/Configuration.h | 2 +- Ender3V2-422-MM-T5-MPC/Version.h | 2 +- Ender3V2-427-MM-T5-MPC/Configuration.h | 2 +- Ender3V2-427-MM-T5-MPC/Version.h | 2 +- _boards/301F4.json | 5 +++++ 11 files changed, 15 insertions(+), 20 deletions(-) delete mode 100644 2Pro.py diff --git a/2Pro.py b/2Pro.py deleted file mode 100644 index 43e629b..0000000 --- a/2Pro.py +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/env python3 - -# ------------------------------------------------------------------------------ -# Ender-2 Pro Configurations generator script for the Professional Firmware -# Author: Miguel A. Risco Castillo -# URL: https://github.com/mriscoc/Marlin_Configurations -# ------------------------------------------------------------------------------ -import CreateConfigs - -CreateConfigs.Generate('Ender2Pro-ManualMesh', ['Ender2Pro','423','MM']) diff --git a/Ender3S1-F4-LA/Configuration_adv.h b/Ender3S1-F4-LA/Configuration_adv.h index 82d3e11..151634c 100644 --- a/Ender3S1-F4-LA/Configuration_adv.h +++ b/Ender3S1-F4-LA/Configuration_adv.h @@ -1750,7 +1750,7 @@ // SD Card Sorting options #if ENABLED(SDCARD_SORT_ALPHA) - #define SDSORT_LIMIT 50 // Maximum number of sorted items (10-256). Costs 27 bytes each. // MRiscoC Increase number of sorted items + #define SDSORT_LIMIT 40 // Maximum number of sorted items (10-256). Costs 27 bytes each. // MRiscoC Increase number of sorted items #define FOLDER_SORTING -1 // -1=above 0=none 1=below #define SDSORT_GCODE true // Allow turning sorting on/off with LCD and M34 G-code. // MRiscoC Allows disable file sort by M34 g-code #define SDSORT_USES_RAM true // Pre-allocate a static array for faster pre-sorting. // Ender Configs diff --git a/Ender3S1-F4-MM/Configuration_adv.h b/Ender3S1-F4-MM/Configuration_adv.h index 34903cb..9074cc1 100644 --- a/Ender3S1-F4-MM/Configuration_adv.h +++ b/Ender3S1-F4-MM/Configuration_adv.h @@ -1750,7 +1750,7 @@ // SD Card Sorting options #if ENABLED(SDCARD_SORT_ALPHA) - #define SDSORT_LIMIT 50 // Maximum number of sorted items (10-256). Costs 27 bytes each. // MRiscoC Increase number of sorted items + #define SDSORT_LIMIT 40 // Maximum number of sorted items (10-256). Costs 27 bytes each. // MRiscoC Increase number of sorted items #define FOLDER_SORTING -1 // -1=above 0=none 1=below #define SDSORT_GCODE true // Allow turning sorting on/off with LCD and M34 G-code. // MRiscoC Allows disable file sort by M34 g-code #define SDSORT_USES_RAM true // Pre-allocate a static array for faster pre-sorting. // Ender Configs diff --git a/Ender3S1-F4-T13/Configuration_adv.h b/Ender3S1-F4-T13/Configuration_adv.h index 3d45212..cdc7a54 100644 --- a/Ender3S1-F4-T13/Configuration_adv.h +++ b/Ender3S1-F4-T13/Configuration_adv.h @@ -1750,7 +1750,7 @@ // SD Card Sorting options #if ENABLED(SDCARD_SORT_ALPHA) - #define SDSORT_LIMIT 50 // Maximum number of sorted items (10-256). Costs 27 bytes each. // MRiscoC Increase number of sorted items + #define SDSORT_LIMIT 40 // Maximum number of sorted items (10-256). Costs 27 bytes each. // MRiscoC Increase number of sorted items #define FOLDER_SORTING -1 // -1=above 0=none 1=below #define SDSORT_GCODE true // Allow turning sorting on/off with LCD and M34 G-code. // MRiscoC Allows disable file sort by M34 g-code #define SDSORT_USES_RAM true // Pre-allocate a static array for faster pre-sorting. // Ender Configs diff --git a/Ender3S1-F4-UBL/Configuration_adv.h b/Ender3S1-F4-UBL/Configuration_adv.h index 068088d..5f5679d 100644 --- a/Ender3S1-F4-UBL/Configuration_adv.h +++ b/Ender3S1-F4-UBL/Configuration_adv.h @@ -1573,7 +1573,7 @@ #define STATUS_MESSAGE_SCROLLING // MRiscoC, Allows scrolling of large status messages // Apply a timeout to low-priority status messages - #define STATUS_MESSAGE_TIMEOUT_SEC 30 // (seconds) // MRiscoC Enable Status Message Timeout + //#define STATUS_MESSAGE_TIMEOUT_SEC 30 // (seconds) // MRiscoC Enable Status Message Timeout // On the Info Screen, display XY with one decimal place when possible //#define LCD_DECIMAL_SMALL_XY @@ -1750,7 +1750,7 @@ // SD Card Sorting options #if ENABLED(SDCARD_SORT_ALPHA) - #define SDSORT_LIMIT 50 // Maximum number of sorted items (10-256). Costs 27 bytes each. // MRiscoC Increase number of sorted items + #define SDSORT_LIMIT 40 // Maximum number of sorted items (10-256). Costs 27 bytes each. // MRiscoC Increase number of sorted items #define FOLDER_SORTING -1 // -1=above 0=none 1=below #define SDSORT_GCODE true // Allow turning sorting on/off with LCD and M34 G-code. // MRiscoC Allows disable file sort by M34 g-code #define SDSORT_USES_RAM true // Pre-allocate a static array for faster pre-sorting. // Ender Configs diff --git a/Ender3S1-F4/Configuration_adv.h b/Ender3S1-F4/Configuration_adv.h index 3d45212..cdc7a54 100644 --- a/Ender3S1-F4/Configuration_adv.h +++ b/Ender3S1-F4/Configuration_adv.h @@ -1750,7 +1750,7 @@ // SD Card Sorting options #if ENABLED(SDCARD_SORT_ALPHA) - #define SDSORT_LIMIT 50 // Maximum number of sorted items (10-256). Costs 27 bytes each. // MRiscoC Increase number of sorted items + #define SDSORT_LIMIT 40 // Maximum number of sorted items (10-256). Costs 27 bytes each. // MRiscoC Increase number of sorted items #define FOLDER_SORTING -1 // -1=above 0=none 1=below #define SDSORT_GCODE true // Allow turning sorting on/off with LCD and M34 G-code. // MRiscoC Allows disable file sort by M34 g-code #define SDSORT_USES_RAM true // Pre-allocate a static array for faster pre-sorting. // Ender Configs diff --git a/Ender3V2-422-MM-T5-MPC/Configuration.h b/Ender3V2-422-MM-T5-MPC/Configuration.h index afc2f0a..21f8061 100644 --- a/Ender3V2-422-MM-T5-MPC/Configuration.h +++ b/Ender3V2-422-MM-T5-MPC/Configuration.h @@ -120,7 +120,7 @@ //#define BLUETOOTH // Name displayed in the LCD "Ready" message and Info menu -#define CUSTOM_MACHINE_NAME "Ender3V2-422-MM-T5-MPC" +#define CUSTOM_MACHINE_NAME "Ender3V2 422 MM T5 MPC" // Printer's unique ID, used by some programs to differentiate between machines. // Choose your own or use a service like https://www.uuidgenerator.net/version4 diff --git a/Ender3V2-422-MM-T5-MPC/Version.h b/Ender3V2-422-MM-T5-MPC/Version.h index 7b11c54..8cb37aa 100644 --- a/Ender3V2-422-MM-T5-MPC/Version.h +++ b/Ender3V2-422-MM-T5-MPC/Version.h @@ -34,7 +34,7 @@ * Verbose version identifier which should contain a reference to the location * from where the binary was downloaded or the source code was compiled. */ -#define DETAILED_BUILD_VERSION SHORT_BUILD_VERSION " Ender3V2-422-MM-T5-MPC, based on bugfix-2.1.x" +#define DETAILED_BUILD_VERSION SHORT_BUILD_VERSION " Ender3V2 422 MM T5 MPC, based on bugfix-2.1.x" /** * The STRING_DISTRIBUTION_DATE represents when the binary file was built, diff --git a/Ender3V2-427-MM-T5-MPC/Configuration.h b/Ender3V2-427-MM-T5-MPC/Configuration.h index 8db8ac2..06ddc54 100644 --- a/Ender3V2-427-MM-T5-MPC/Configuration.h +++ b/Ender3V2-427-MM-T5-MPC/Configuration.h @@ -120,7 +120,7 @@ //#define BLUETOOTH // Name displayed in the LCD "Ready" message and Info menu -#define CUSTOM_MACHINE_NAME "Ender3V2-427-MM-T5-MPC" +#define CUSTOM_MACHINE_NAME "Ender3V2 427 MM T5 MPC" // Printer's unique ID, used by some programs to differentiate between machines. // Choose your own or use a service like https://www.uuidgenerator.net/version4 diff --git a/Ender3V2-427-MM-T5-MPC/Version.h b/Ender3V2-427-MM-T5-MPC/Version.h index e319116..84da053 100644 --- a/Ender3V2-427-MM-T5-MPC/Version.h +++ b/Ender3V2-427-MM-T5-MPC/Version.h @@ -34,7 +34,7 @@ * Verbose version identifier which should contain a reference to the location * from where the binary was downloaded or the source code was compiled. */ -#define DETAILED_BUILD_VERSION SHORT_BUILD_VERSION " Ender3V2-427-MM-T5-MPC, based on bugfix-2.1.x" +#define DETAILED_BUILD_VERSION SHORT_BUILD_VERSION " Ender3V2 427 MM T5 MPC, based on bugfix-2.1.x" /** * The STRING_DISTRIBUTION_DATE represents when the binary file was built, diff --git a/_boards/301F4.json b/_boards/301F4.json index 5383b4b..ee4f233 100644 --- a/_boards/301F4.json +++ b/_boards/301F4.json @@ -120,6 +120,11 @@ "op": "Disable", "searchfor": "BINARY_FILE_TRANSFER" }, + { + "op": "CustomVal", + "searchfor": "SDSORT_LIMIT", + "value": "40" + }, { "op": "CustomVal", "searchfor": "CHOPPER_TIMING",