Skip to content

Commit 28d71f0

Browse files
not-not-kevinthinkyheadrhapsodyvEvilGremlinthisiskeithb
authored
Merge changes from MarlinFirmware/Marlin (#7)
* 🔨 Fix Warnings/settings force-recompile * 🔨 PlatformIO "--target upload" == "--target exec" * 🔨 Disable stack protector on macOS simulator (MarlinFirmware#24443) * ♻️ Encapsulate PID in class (MarlinFirmware#24389) * 🔨 Fix OpenBLT encode; no-bootloader envs (MarlinFirmware#24446) * ✨ BigTreeTech SKR SE BX V3.0 (MarlinFirmware#24449) SKR SE BX V3.0 removes the Reverse Driver Protection feature. * ⚡️ Fix and improve Inline Laser Power (MarlinFirmware#22690) * 🐛 Fix MKS TinyBee compile (MarlinFirmware#24454) * 🐛 Fix Sensorless Probing compile (MarlinFirmware#24455) * 🩹 Fix ST7565 LCD contrast init (MarlinFirmware#24457) * 🚸 JyersUI updates (MarlinFirmware#24451) * 📝 Configurations 02010100 (MarlinFirmware#24458) * 🔥 Remove JyersUI (MarlinFirmware#24459) * ✨ MAG_MOUNTED_PROBE (MarlinFirmware#24420) Co-Authored-By: Scott Lahteine <[email protected]> * 🩹 Fix safe homing sanity-check (MarlinFirmware#24462) * 🩹 Fix LCD_BACKLIGHT_TIMEOUT compile (MarlinFirmware#24463) * ⚡️ Optimize G2-G3 Arcs (MarlinFirmware#24366) * 🐛 Fix laser/fan sync (MarlinFirmware#24460) Followup to MarlinFirmware#22690, 307dfb1 * 🔧 Assert Probe Temp Comp requirements (MarlinFirmware#24468) * 🧑‍💻 Add Sim debug with lldb * ✨ MKS Monster8 V2 (MarlinFirmware#24483) * 📌 Ask for PlatformIO 6.1.1 or newer (MarlinFirmware#24435) * 🧑‍💻 Update Mac Sim directions * 🔨 Abort firmware update on transfer error (MarlinFirmware#24472, MarlinFirmware#24499) * 🎨 ANY => EITHER * 🔥 Drop STM L64** drivers, STEVAL_3DP001V1 (MarlinFirmware#24427) * 🩹 Fix MKS UI extruder speed (MarlinFirmware#24476) * 🚸 Fix and update ProUI (MarlinFirmware#24477) * 🩹 Fix ProUI LED compile (MarlinFirmware#24473) * ✨ Creality3D v4.2.5 / CR200B (MarlinFirmware#24491) * 📌 Pin ESP32SSDP to 1.1.1 (MarlinFirmware#24489) * 🔨 Fix and update Makefile Followup to 89fe5f6 Co-authored-by: Scott Lahteine <[email protected]> Co-authored-by: Victor Oliveira <[email protected]> Co-authored-by: EvilGremlin <[email protected]> Co-authored-by: Keith Bennett <[email protected]> Co-authored-by: Mike La Spina <[email protected]> Co-authored-by: Eduard Sukharev <[email protected]> Co-authored-by: Bob Kuhn <[email protected]> Co-authored-by: Christophe Huriaux <[email protected]> Co-authored-by: Meilleur Gars <[email protected]> Co-authored-by: Farva42 <[email protected]> Co-authored-by: Pauli Jokela <[email protected]> Co-authored-by: Jason Smith <[email protected]> Co-authored-by: tombrazier <[email protected]> Co-authored-by: GHGiampy <[email protected]> Co-authored-by: toomuchwonder <[email protected]> Co-authored-by: Miguel Risco-Castillo <[email protected]>
1 parent 3f4c8c3 commit 28d71f0

File tree

148 files changed

+2820
-13242
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

148 files changed

+2820
-13242
lines changed

Marlin/Configuration.h

Lines changed: 191 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
*
3636
* Advanced settings can be found in Configuration_adv.h
3737
*/
38-
#define CONFIGURATION_H_VERSION 02010000
38+
#define CONFIGURATION_H_VERSION 02010100
3939

4040
//===========================================================================
4141
//============================= Getting Started =============================
@@ -57,15 +57,6 @@
5757
* https://www.thingiverse.com/thing:1278865
5858
*/
5959

60-
//===========================================================================
61-
//========================== DELTA / SCARA / TPARA ==========================
62-
//===========================================================================
63-
//
64-
// Download configurations from the link above and customize for your machine.
65-
// Examples are located in config/examples/delta, .../SCARA, and .../TPARA.
66-
//
67-
//===========================================================================
68-
6960
// @section info
7061

7162
// Author info of this build printed to the host during boot and M115
@@ -157,13 +148,12 @@
157148
*
158149
* Use TMC2208/TMC2208_STANDALONE for TMC2225 drivers and TMC2209/TMC2209_STANDALONE for TMC2226 drivers.
159150
*
160-
* Options: A4988, A5984, DRV8825, LV8729, L6470, L6474, POWERSTEP01,
161-
* TB6560, TB6600, TMC2100,
151+
* Options: A4988, A5984, DRV8825, LV8729, TB6560, TB6600, TMC2100,
162152
* TMC2130, TMC2130_STANDALONE, TMC2160, TMC2160_STANDALONE,
163153
* TMC2208, TMC2208_STANDALONE, TMC2209, TMC2209_STANDALONE,
164154
* TMC26X, TMC26X_STANDALONE, TMC2660, TMC2660_STANDALONE,
165155
* TMC5130, TMC5130_STANDALONE, TMC5160, TMC5160_STANDALONE
166-
* :['A4988', 'A5984', 'DRV8825', 'LV8729', 'L6470', 'L6474', 'POWERSTEP01', 'TB6560', 'TB6600', 'TMC2100', 'TMC2130', 'TMC2130_STANDALONE', 'TMC2160', 'TMC2160_STANDALONE', 'TMC2208', 'TMC2208_STANDALONE', 'TMC2209', 'TMC2209_STANDALONE', 'TMC26X', 'TMC26X_STANDALONE', 'TMC2660', 'TMC2660_STANDALONE', 'TMC5130', 'TMC5130_STANDALONE', 'TMC5160', 'TMC5160_STANDALONE']
156+
* :['A4988', 'A5984', 'DRV8825', 'LV8729', 'TB6560', 'TB6600', 'TMC2100', 'TMC2130', 'TMC2130_STANDALONE', 'TMC2160', 'TMC2160_STANDALONE', 'TMC2208', 'TMC2208_STANDALONE', 'TMC2209', 'TMC2209_STANDALONE', 'TMC26X', 'TMC26X_STANDALONE', 'TMC2660', 'TMC2660_STANDALONE', 'TMC5130', 'TMC5130_STANDALONE', 'TMC5160', 'TMC5160_STANDALONE']
167157
*/
168158
#define X_DRIVER_TYPE A4988
169159
#define Y_DRIVER_TYPE A4988
@@ -865,7 +855,135 @@
865855
#define POLAR_SEGMENTS_PER_SECOND 5
866856
#endif
867857

868-
// Enable for an articulated robot (robot arm). Joints are directly mapped to axes (no kinematics).
858+
// Enable for DELTA kinematics and configure below
859+
//#define DELTA
860+
#if ENABLED(DELTA)
861+
862+
// Make delta curves from many straight lines (linear interpolation).
863+
// This is a trade-off between visible corners (not enough segments)
864+
// and processor overload (too many expensive sqrt calls).
865+
#define DELTA_SEGMENTS_PER_SECOND 200
866+
867+
// After homing move down to a height where XY movement is unconstrained
868+
//#define DELTA_HOME_TO_SAFE_ZONE
869+
870+
// Delta calibration menu
871+
// uncomment to add three points calibration menu option.
872+
// See http://minow.blogspot.com/index.html#4918805519571907051
873+
//#define DELTA_CALIBRATION_MENU
874+
875+
// uncomment to add G33 Delta Auto-Calibration (Enable EEPROM_SETTINGS to store results)
876+
//#define DELTA_AUTO_CALIBRATION
877+
878+
// NOTE NB all values for DELTA_* values MUST be floating point, so always have a decimal point in them
879+
880+
#if ENABLED(DELTA_AUTO_CALIBRATION)
881+
// set the default number of probe points : n*n (1 -> 7)
882+
#define DELTA_CALIBRATION_DEFAULT_POINTS 4
883+
#endif
884+
885+
#if EITHER(DELTA_AUTO_CALIBRATION, DELTA_CALIBRATION_MENU)
886+
// Set the steprate for papertest probing
887+
#define PROBE_MANUALLY_STEP 0.05 // (mm)
888+
#endif
889+
890+
// Print surface diameter/2 minus unreachable space (avoid collisions with vertical towers).
891+
#define DELTA_PRINTABLE_RADIUS 140.0 // (mm)
892+
893+
// Maximum reachable area
894+
#define DELTA_MAX_RADIUS 140.0 // (mm)
895+
896+
// Center-to-center distance of the holes in the diagonal push rods.
897+
#define DELTA_DIAGONAL_ROD 250.0 // (mm)
898+
899+
// Distance between bed and nozzle Z home position
900+
#define DELTA_HEIGHT 250.00 // (mm) Get this value from G33 auto calibrate
901+
902+
#define DELTA_ENDSTOP_ADJ { 0.0, 0.0, 0.0 } // Get these values from G33 auto calibrate
903+
904+
// Horizontal distance bridged by diagonal push rods when effector is centered.
905+
#define DELTA_RADIUS 124.0 // (mm) Get this value from G33 auto calibrate
906+
907+
// Trim adjustments for individual towers
908+
// tower angle corrections for X and Y tower / rotate XYZ so Z tower angle = 0
909+
// measured in degrees anticlockwise looking from above the printer
910+
#define DELTA_TOWER_ANGLE_TRIM { 0.0, 0.0, 0.0 } // Get these values from G33 auto calibrate
911+
912+
// Delta radius and diagonal rod adjustments (mm)
913+
//#define DELTA_RADIUS_TRIM_TOWER { 0.0, 0.0, 0.0 }
914+
//#define DELTA_DIAGONAL_ROD_TRIM_TOWER { 0.0, 0.0, 0.0 }
915+
#endif
916+
917+
/**
918+
* MORGAN_SCARA was developed by QHARLEY in South Africa in 2012-2013.
919+
* Implemented and slightly reworked by JCERNY in June, 2014.
920+
*
921+
* Mostly Printed SCARA is an open source design by Tyler Williams. See:
922+
* https://www.thingiverse.com/thing:2487048
923+
* https://www.thingiverse.com/thing:1241491
924+
*/
925+
//#define MORGAN_SCARA
926+
//#define MP_SCARA
927+
#if EITHER(MORGAN_SCARA, MP_SCARA)
928+
// If movement is choppy try lowering this value
929+
#define SCARA_SEGMENTS_PER_SECOND 200
930+
931+
// Length of inner and outer support arms. Measure arm lengths precisely.
932+
#define SCARA_LINKAGE_1 150 // (mm)
933+
#define SCARA_LINKAGE_2 150 // (mm)
934+
935+
// SCARA tower offset (position of Tower relative to bed zero position)
936+
// This needs to be reasonably accurate as it defines the printbed position in the SCARA space.
937+
#define SCARA_OFFSET_X 100 // (mm)
938+
#define SCARA_OFFSET_Y -56 // (mm)
939+
940+
#if ENABLED(MORGAN_SCARA)
941+
942+
//#define DEBUG_SCARA_KINEMATICS
943+
#define SCARA_FEEDRATE_SCALING // Convert XY feedrate from mm/s to degrees/s on the fly
944+
945+
// Radius around the center where the arm cannot reach
946+
#define MIDDLE_DEAD_ZONE_R 0 // (mm)
947+
948+
#define THETA_HOMING_OFFSET 0 // Calculated from Calibration Guide and M360 / M114. See http://reprap.harleystudio.co.za/?page_id=1073
949+
#define PSI_HOMING_OFFSET 0 // Calculated from Calibration Guide and M364 / M114. See http://reprap.harleystudio.co.za/?page_id=1073
950+
951+
#elif ENABLED(MP_SCARA)
952+
953+
#define SCARA_OFFSET_THETA1 12 // degrees
954+
#define SCARA_OFFSET_THETA2 131 // degrees
955+
956+
#endif
957+
958+
#endif
959+
960+
// Enable for TPARA kinematics and configure below
961+
//#define AXEL_TPARA
962+
#if ENABLED(AXEL_TPARA)
963+
#define DEBUG_ROBOT_KINEMATICS
964+
#define ROBOT_SEGMENTS_PER_SECOND 200
965+
966+
// Length of inner and outer support arms. Measure arm lengths precisely.
967+
#define ROBOT_LINKAGE_1 120 // (mm)
968+
#define ROBOT_LINKAGE_2 120 // (mm)
969+
970+
// SCARA tower offset (position of Tower relative to bed zero position)
971+
// This needs to be reasonably accurate as it defines the printbed position in the SCARA space.
972+
#define ROBOT_OFFSET_X 0 // (mm)
973+
#define ROBOT_OFFSET_Y 0 // (mm)
974+
#define ROBOT_OFFSET_Z 0 // (mm)
975+
976+
#define SCARA_FEEDRATE_SCALING // Convert XY feedrate from mm/s to degrees/s on the fly
977+
978+
// Radius around the center where the arm cannot reach
979+
#define MIDDLE_DEAD_ZONE_R 0 // (mm)
980+
981+
// Calculated from Calibration Guide and M360 / M114. See http://reprap.harleystudio.co.za/?page_id=1073
982+
#define THETA_HOMING_OFFSET 0
983+
#define PSI_HOMING_OFFSET 0
984+
#endif
985+
986+
// Articulated robot (arm). Joints are directly mapped to axes with no kinematics.
869987
//#define ARTICULATED_ROBOT_ARM
870988

871989
// For a hot wire cutter with parallel horizontal axes (X, I) where the heights of the two wire
@@ -1224,6 +1342,27 @@
12241342
#define Z_PROBE_RETRACT_X X_MAX_POS
12251343
#endif
12261344

1345+
/**
1346+
* Magnetically Mounted Probe
1347+
* For probes such as Euclid, Klicky, Klackender, etc.
1348+
*/
1349+
//#define MAG_MOUNTED_PROBE
1350+
#if ENABLED(MAG_MOUNTED_PROBE)
1351+
#define PROBE_DEPLOY_FEEDRATE (133*60) // (mm/min) Probe deploy speed
1352+
#define PROBE_STOW_FEEDRATE (133*60) // (mm/min) Probe stow speed
1353+
1354+
#define MAG_MOUNTED_DEPLOY_1 { PROBE_DEPLOY_FEEDRATE, { 245, 114, 30 } } // Move to side Dock & Attach probe
1355+
#define MAG_MOUNTED_DEPLOY_2 { PROBE_DEPLOY_FEEDRATE, { 210, 114, 30 } } // Move probe off dock
1356+
#define MAG_MOUNTED_DEPLOY_3 { PROBE_DEPLOY_FEEDRATE, { 0, 0, 0 } } // Extra move if needed
1357+
#define MAG_MOUNTED_DEPLOY_4 { PROBE_DEPLOY_FEEDRATE, { 0, 0, 0 } } // Extra move if needed
1358+
#define MAG_MOUNTED_DEPLOY_5 { PROBE_DEPLOY_FEEDRATE, { 0, 0, 0 } } // Extra move if needed
1359+
#define MAG_MOUNTED_STOW_1 { PROBE_STOW_FEEDRATE, { 245, 114, 20 } } // Move to dock
1360+
#define MAG_MOUNTED_STOW_2 { PROBE_STOW_FEEDRATE, { 245, 114, 0 } } // Place probe beside remover
1361+
#define MAG_MOUNTED_STOW_3 { PROBE_STOW_FEEDRATE, { 230, 114, 0 } } // Side move to remove probe
1362+
#define MAG_MOUNTED_STOW_4 { PROBE_STOW_FEEDRATE, { 210, 114, 20 } } // Side move to remove probe
1363+
#define MAG_MOUNTED_STOW_5 { PROBE_STOW_FEEDRATE, { 0, 0, 0 } } // Extra move if needed
1364+
#endif
1365+
12271366
// Duet Smart Effector (for delta printers) - https://bit.ly/2ul5U7J
12281367
// When the pin is defined you can use M672 to set/reset the probe sensitivity.
12291368
//#define DUET_SMART_EFFECTOR
@@ -1239,9 +1378,37 @@
12391378
*/
12401379
//#define SENSORLESS_PROBING
12411380

1242-
//
1243-
// For Z_PROBE_ALLEN_KEY see the Delta example configurations.
1244-
//
1381+
/**
1382+
* Allen key retractable z-probe as seen on many Kossel delta printers - https://reprap.org/wiki/Kossel#Automatic_bed_leveling_probe
1383+
* Deploys by touching z-axis belt. Retracts by pushing the probe down.
1384+
*/
1385+
//#define Z_PROBE_ALLEN_KEY
1386+
#if ENABLED(Z_PROBE_ALLEN_KEY)
1387+
// 2 or 3 sets of coordinates for deploying and retracting the spring loaded touch probe on G29,
1388+
// if servo actuated touch probe is not defined. Uncomment as appropriate for your printer/probe.
1389+
1390+
#define Z_PROBE_ALLEN_KEY_DEPLOY_1 { 30.0, DELTA_PRINTABLE_RADIUS, 100.0 }
1391+
#define Z_PROBE_ALLEN_KEY_DEPLOY_1_FEEDRATE XY_PROBE_FEEDRATE
1392+
1393+
#define Z_PROBE_ALLEN_KEY_DEPLOY_2 { 0.0, DELTA_PRINTABLE_RADIUS, 100.0 }
1394+
#define Z_PROBE_ALLEN_KEY_DEPLOY_2_FEEDRATE (XY_PROBE_FEEDRATE)/10
1395+
1396+
#define Z_PROBE_ALLEN_KEY_DEPLOY_3 { 0.0, (DELTA_PRINTABLE_RADIUS) * 0.75, 100.0 }
1397+
#define Z_PROBE_ALLEN_KEY_DEPLOY_3_FEEDRATE XY_PROBE_FEEDRATE
1398+
1399+
#define Z_PROBE_ALLEN_KEY_STOW_1 { -64.0, 56.0, 23.0 } // Move the probe into position
1400+
#define Z_PROBE_ALLEN_KEY_STOW_1_FEEDRATE XY_PROBE_FEEDRATE
1401+
1402+
#define Z_PROBE_ALLEN_KEY_STOW_2 { -64.0, 56.0, 3.0 } // Push it down
1403+
#define Z_PROBE_ALLEN_KEY_STOW_2_FEEDRATE (XY_PROBE_FEEDRATE)/10
1404+
1405+
#define Z_PROBE_ALLEN_KEY_STOW_3 { -64.0, 56.0, 50.0 } // Move it up to clear
1406+
#define Z_PROBE_ALLEN_KEY_STOW_3_FEEDRATE XY_PROBE_FEEDRATE
1407+
1408+
#define Z_PROBE_ALLEN_KEY_STOW_4 { 0.0, 0.0, 50.0 }
1409+
#define Z_PROBE_ALLEN_KEY_STOW_4_FEEDRATE XY_PROBE_FEEDRATE
1410+
1411+
#endif // Z_PROBE_ALLEN_KEY
12451412

12461413
/**
12471414
* Nozzle-to-Probe offsets { X, Y, Z }
@@ -1816,7 +1983,7 @@
18161983
//#define LCD_BED_TRAMMING
18171984

18181985
#if ENABLED(LCD_BED_TRAMMING)
1819-
#define BED_TRAMMING_INSET_LFRB { 30, 30, 30, 30 } // (mm) Left, Front, Right, Back insets
1986+
#define BED_TRAMMING_INSET_LFRB { 30, 30, 30, 30 } // (mm) Left, Front, Right, Back insets
18201987
#define BED_TRAMMING_HEIGHT 0.0 // (mm) Z height of nozzle at leveling points
18211988
#define BED_TRAMMING_Z_HOP 4.0 // (mm) Z height of nozzle between leveling points
18221989
//#define BED_TRAMMING_INCLUDE_CENTER // Move to the center after the last corner
@@ -2631,6 +2798,12 @@
26312798
//
26322799
//#define SILVER_GATE_GLCD_CONTROLLER
26332800

2801+
//
2802+
// eMotion Tech LCD with SD
2803+
// https://www.reprap-france.com/produit/1234568748-ecran-graphique-128-x-64-points-2-1
2804+
//
2805+
//#define EMOTION_TECH_LCD
2806+
26342807
//=============================================================================
26352808
//============================== OLED Displays ==============================
26362809
//=============================================================================
@@ -2911,7 +3084,6 @@
29113084
//
29123085
//#define DWIN_CREALITY_LCD // Creality UI
29133086
//#define DWIN_LCD_PROUI // Pro UI by MRiscoC
2914-
//#define DWIN_CREALITY_LCD_JYERSUI // Jyers UI by Jacob Myers
29153087
//#define DWIN_MARLINUI_PORTRAIT // MarlinUI (portrait orientation)
29163088
//#define DWIN_MARLINUI_LANDSCAPE // MarlinUI (landscape orientation)
29173089

0 commit comments

Comments
 (0)