Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
MarlinKimbra
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
machinery
MarlinKimbra
Commits
a9a87ac3
Commit
a9a87ac3
authored
Jun 04, 2016
by
MagoKimbra
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'refs/remotes/origin/master' into dev
parents
fd791097
2244eb2c
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
108 additions
and
63 deletions
+108
-63
Configuration_Cartesian.h
MK/Configuration_Cartesian.h
+22
-27
Configuration_Core.h
MK/Configuration_Core.h
+22
-27
Configuration_Scara.h
MK/Configuration_Scara.h
+14
-0
communication.h
MK/module/communication/communication.h
+2
-2
digipot_mcp4451.cpp
MK/module/digipot/digipot_mcp4451.cpp
+22
-0
digipot_mcp4451.h
MK/module/digipot/digipot_mcp4451.h
+22
-0
firmware_test.cpp
MK/module/fwtest/firmware_test.cpp
+2
-2
firmware_test.h
MK/module/fwtest/firmware_test.h
+2
-2
sanitycheck.h
MK/module/sanitycheck.h
+0
-3
No files found.
MK/Configuration_Cartesian.h
View file @
a9a87ac3
...
@@ -15,8 +15,8 @@
...
@@ -15,8 +15,8 @@
* - Disables axis
* - Disables axis
* - Travel limits
* - Travel limits
* - Axis relative mode
* - Axis relative mode
* - M
BL or ABL
* - M
esh Bed Leveling (MBL)
* - Auto
bed levelling
* - Auto
Bed Leveling (ABL)
* - Z probe endstop
* - Z probe endstop
* - Safe Z homing
* - Safe Z homing
* - Manual home positions
* - Manual home positions
...
@@ -28,6 +28,7 @@
...
@@ -28,6 +28,7 @@
* - Cartesian Correction
* - Cartesian Correction
*
*
* Basic-settings can be found in Configuration_Basic.h
* Basic-settings can be found in Configuration_Basic.h
* Temperature-settings can be found in Configuration_Temperature.h
* Feature-settings can be found in Configuration_Feature.h
* Feature-settings can be found in Configuration_Feature.h
* Pins-settings can be found in "Configuration_Pins.h"
* Pins-settings can be found in "Configuration_Pins.h"
*/
*/
...
@@ -229,24 +230,7 @@
...
@@ -229,24 +230,7 @@
/*****************************************************************************************
/*****************************************************************************************
************************************** MBL or ABL ***************************************
******************************* Mesh Bed Leveling ***************************************
*****************************************************************************************
* *
* Manual Bed Leveling (MBL) or Auto Bed Leveling (ABL) settings *
* Set the rectangle in which to probe in MBL or ABL. *
* *
*****************************************************************************************/
#define LEFT_PROBE_BED_POSITION 20
#define RIGHT_PROBE_BED_POSITION 180
#define FRONT_PROBE_BED_POSITION 20
#define BACK_PROBE_BED_POSITION 180
#define XY_TRAVEL_SPEED 10000 // X and Y axis travel speed between probes, in mm/min
/*****************************************************************************************/
/*****************************************************************************************
******************************* Mesh bed leveling ***************************************
*****************************************************************************************/
*****************************************************************************************/
//#define MESH_BED_LEVELING
//#define MESH_BED_LEVELING
...
@@ -266,7 +250,7 @@
...
@@ -266,7 +250,7 @@
/*****************************************************************************************
/*****************************************************************************************
******************************* Auto
bed l
eveling ***************************************
******************************* Auto
Bed L
eveling ***************************************
*****************************************************************************************
*****************************************************************************************
* *
* *
* There are 2 different ways to specify probing locations *
* There are 2 different ways to specify probing locations *
...
@@ -281,7 +265,7 @@
...
@@ -281,7 +265,7 @@
* You specify the XY coordinates of all 3 points. *
* You specify the XY coordinates of all 3 points. *
* *
* *
* *
* *
* Uncomment AUTO
_BED_LEVELING_
FEATURE to enable *
* Uncomment AUTO
BED LEVELING
FEATURE to enable *
* *
* *
*****************************************************************************************/
*****************************************************************************************/
//#define AUTO_BED_LEVELING_FEATURE
//#define AUTO_BED_LEVELING_FEATURE
...
@@ -291,14 +275,22 @@
...
@@ -291,14 +275,22 @@
// Note: this feature generates 10KB extra code size
// Note: this feature generates 10KB extra code size
#define AUTO_BED_LEVELING_GRID
#define AUTO_BED_LEVELING_GRID
// yes AUTO_BED_LEVELING_GRID
// START yes AUTO BED LEVELING GRID
#define MIN_PROBE_EDGE 10 // The probe square sides can be no smaller than this
#define LEFT_PROBE_BED_POSITION 20
#define RIGHT_PROBE_BED_POSITION 180
#define FRONT_PROBE_BED_POSITION 20
#define BACK_PROBE_BED_POSITION 180
// The probe square sides can be no smaller than this
#define MIN_PROBE_EDGE 10
// Set the number of grid points per dimension
// Set the number of grid points per dimension
// You probably don't need more than 3 (squared=9)
// You probably don't need more than 3 (squared=9)
#define AUTO_BED_LEVELING_GRID_POINTS 2
#define AUTO_BED_LEVELING_GRID_POINTS 2
// yes AUTO_BED_LEVELING_GRID
// END yes AUTO BED LEVELING GRID
//
no AUTO_BED_LEVELING_
GRID
//
START no AUTO BED LEVELING
GRID
// Arbitrary points to probe. A simple cross-product
// Arbitrary points to probe. A simple cross-product
// is used to estimate the plane of the bed.
// is used to estimate the plane of the bed.
#define ABL_PROBE_PT_1_X 15
#define ABL_PROBE_PT_1_X 15
...
@@ -307,7 +299,7 @@
...
@@ -307,7 +299,7 @@
#define ABL_PROBE_PT_2_Y 15
#define ABL_PROBE_PT_2_Y 15
#define ABL_PROBE_PT_3_X 180
#define ABL_PROBE_PT_3_X 180
#define ABL_PROBE_PT_3_Y 15
#define ABL_PROBE_PT_3_Y 15
//
no AUTO_BED_LEVELING_
GRID
//
END no AUTO BED LEVELING
GRID
// Offsets to the probe relative to the extruder tip (Hotend - Probe)
// Offsets to the probe relative to the extruder tip (Hotend - Probe)
// X and Y offsets MUST be INTEGERS
// X and Y offsets MUST be INTEGERS
...
@@ -321,10 +313,13 @@
...
@@ -321,10 +313,13 @@
// | P (-) | T <-- probe (-10,-10)
// | P (-) | T <-- probe (-10,-10)
// | |
// | |
// O-- FRONT --+
// O-- FRONT --+
// (0,0)
#define X_PROBE_OFFSET_FROM_EXTRUDER 0 // X offset: -left [of the nozzle] +right
#define X_PROBE_OFFSET_FROM_EXTRUDER 0 // X offset: -left [of the nozzle] +right
#define Y_PROBE_OFFSET_FROM_EXTRUDER 0 // Y offset: -front [of the nozzle] +behind
#define Y_PROBE_OFFSET_FROM_EXTRUDER 0 // Y offset: -front [of the nozzle] +behind
#define Z_PROBE_OFFSET_FROM_EXTRUDER -1 // Z offset: -below [of the nozzle] (always negative!)
#define Z_PROBE_OFFSET_FROM_EXTRUDER -1 // Z offset: -below [of the nozzle] (always negative!)
#define XY_TRAVEL_SPEED 10000 // X and Y axis travel speed between probes, in mm/min
#define Z_RAISE_BEFORE_PROBING 10 //How much the extruder will be raised before travelling to the first probing point.
#define Z_RAISE_BEFORE_PROBING 10 //How much the extruder will be raised before travelling to the first probing point.
#define Z_RAISE_BETWEEN_PROBINGS 5 //How much the extruder will be raised when travelling from between next probing points
#define Z_RAISE_BETWEEN_PROBINGS 5 //How much the extruder will be raised when travelling from between next probing points
#define Z_RAISE_AFTER_PROBING 5 //How much the extruder will be raised after the last probing point.
#define Z_RAISE_AFTER_PROBING 5 //How much the extruder will be raised after the last probing point.
...
...
MK/Configuration_Core.h
View file @
a9a87ac3
...
@@ -16,8 +16,8 @@
...
@@ -16,8 +16,8 @@
* - Disables axis
* - Disables axis
* - Travel limits
* - Travel limits
* - Axis relative mode
* - Axis relative mode
* - M
BL or ABL
* - M
esh Bed Leveling (MBL)
* - Auto
bed levelling
* - Auto
Bed Leveling (ABL)
* - Z probe endstop
* - Z probe endstop
* - Safe Z homing
* - Safe Z homing
* - Manual home positions
* - Manual home positions
...
@@ -28,6 +28,7 @@
...
@@ -28,6 +28,7 @@
* - Hotend offset
* - Hotend offset
*
*
* Basic-settings can be found in Configuration_Basic.h
* Basic-settings can be found in Configuration_Basic.h
* Temperature-settings can be found in Configuration_Temperature.h
* Feature-settings can be found in Configuration_Feature.h
* Feature-settings can be found in Configuration_Feature.h
* Pins-settings can be found in "Configuration_Pins.h"
* Pins-settings can be found in "Configuration_Pins.h"
*/
*/
...
@@ -251,24 +252,7 @@
...
@@ -251,24 +252,7 @@
/*****************************************************************************************
/*****************************************************************************************
************************************** MBL or ABL ***************************************
******************************* Mesh Bed Leveling ***************************************
*****************************************************************************************
* *
* Manual Bed Leveling (MBL) or Auto Bed Leveling (ABL) settings *
* Set the rectangle in which to probe in MBL or ABL. *
* *
*****************************************************************************************/
#define LEFT_PROBE_BED_POSITION 20
#define RIGHT_PROBE_BED_POSITION 180
#define FRONT_PROBE_BED_POSITION 20
#define BACK_PROBE_BED_POSITION 180
#define XY_TRAVEL_SPEED 10000 // X and Y axis travel speed between probes, in mm/min
/*****************************************************************************************/
/*****************************************************************************************
******************************* Mesh bed leveling ***************************************
*****************************************************************************************/
*****************************************************************************************/
//#define MESH_BED_LEVELING
//#define MESH_BED_LEVELING
...
@@ -288,7 +272,7 @@
...
@@ -288,7 +272,7 @@
/*****************************************************************************************
/*****************************************************************************************
******************************* Auto
bed l
eveling ***************************************
******************************* Auto
Bed L
eveling ***************************************
*****************************************************************************************
*****************************************************************************************
* *
* *
* There are 2 different ways to specify probing locations *
* There are 2 different ways to specify probing locations *
...
@@ -303,7 +287,7 @@
...
@@ -303,7 +287,7 @@
* You specify the XY coordinates of all 3 points. *
* You specify the XY coordinates of all 3 points. *
* *
* *
* *
* *
* Uncomment AUTO
_BED_LEVELING_
FEATURE to enable *
* Uncomment AUTO
BED LEVELING
FEATURE to enable *
* *
* *
*****************************************************************************************/
*****************************************************************************************/
//#define AUTO_BED_LEVELING_FEATURE
//#define AUTO_BED_LEVELING_FEATURE
...
@@ -313,14 +297,22 @@
...
@@ -313,14 +297,22 @@
// Note: this feature generates 10KB extra code size
// Note: this feature generates 10KB extra code size
#define AUTO_BED_LEVELING_GRID
#define AUTO_BED_LEVELING_GRID
// yes AUTO_BED_LEVELING_GRID
// START yes AUTO BED LEVELING GRID
#define MIN_PROBE_EDGE 10 // The probe square sides can be no smaller than this
#define LEFT_PROBE_BED_POSITION 20
#define RIGHT_PROBE_BED_POSITION 180
#define FRONT_PROBE_BED_POSITION 20
#define BACK_PROBE_BED_POSITION 180
// The probe square sides can be no smaller than this
#define MIN_PROBE_EDGE 10
// Set the number of grid points per dimension
// Set the number of grid points per dimension
// You probably don't need more than 3 (squared=9)
// You probably don't need more than 3 (squared=9)
#define AUTO_BED_LEVELING_GRID_POINTS 2
#define AUTO_BED_LEVELING_GRID_POINTS 2
// yes AUTO_BED_LEVELING_GRID
// END yes AUTO BED LEVELING GRID
//
no AUTO_BED_LEVELING_
GRID
//
START no AUTO BED LEVELING
GRID
// Arbitrary points to probe. A simple cross-product
// Arbitrary points to probe. A simple cross-product
// is used to estimate the plane of the bed.
// is used to estimate the plane of the bed.
#define ABL_PROBE_PT_1_X 15
#define ABL_PROBE_PT_1_X 15
...
@@ -329,7 +321,7 @@
...
@@ -329,7 +321,7 @@
#define ABL_PROBE_PT_2_Y 15
#define ABL_PROBE_PT_2_Y 15
#define ABL_PROBE_PT_3_X 180
#define ABL_PROBE_PT_3_X 180
#define ABL_PROBE_PT_3_Y 15
#define ABL_PROBE_PT_3_Y 15
//
no AUTO_BED_LEVELING_
GRID
//
END no AUTO BED LEVELING
GRID
// Offsets to the probe relative to the extruder tip (Hotend - Probe)
// Offsets to the probe relative to the extruder tip (Hotend - Probe)
// X and Y offsets MUST be INTEGERS
// X and Y offsets MUST be INTEGERS
...
@@ -343,10 +335,13 @@
...
@@ -343,10 +335,13 @@
// | P (-) | T <-- probe (-10,-10)
// | P (-) | T <-- probe (-10,-10)
// | |
// | |
// O-- FRONT --+
// O-- FRONT --+
// (0,0)
#define X_PROBE_OFFSET_FROM_EXTRUDER 0 // X offset: -left [of the nozzle] +right
#define X_PROBE_OFFSET_FROM_EXTRUDER 0 // X offset: -left [of the nozzle] +right
#define Y_PROBE_OFFSET_FROM_EXTRUDER 0 // Y offset: -front [of the nozzle] +behind
#define Y_PROBE_OFFSET_FROM_EXTRUDER 0 // Y offset: -front [of the nozzle] +behind
#define Z_PROBE_OFFSET_FROM_EXTRUDER -1 // Z offset: -below [of the nozzle] (always negative!)
#define Z_PROBE_OFFSET_FROM_EXTRUDER -1 // Z offset: -below [of the nozzle] (always negative!)
#define XY_TRAVEL_SPEED 10000 // X and Y axis travel speed between probes, in mm/min
#define Z_RAISE_BEFORE_PROBING 10 //How much the extruder will be raised before travelling to the first probing point.
#define Z_RAISE_BEFORE_PROBING 10 //How much the extruder will be raised before travelling to the first probing point.
#define Z_RAISE_BETWEEN_PROBINGS 5 //How much the extruder will be raised when travelling from between next probing points
#define Z_RAISE_BETWEEN_PROBINGS 5 //How much the extruder will be raised when travelling from between next probing points
#define Z_RAISE_AFTER_PROBING 5 //How much the extruder will be raised after the last probing point.
#define Z_RAISE_AFTER_PROBING 5 //How much the extruder will be raised after the last probing point.
...
...
MK/Configuration_Scara.h
View file @
a9a87ac3
...
@@ -9,6 +9,7 @@
...
@@ -9,6 +9,7 @@
* - Endstop pullup resistors
* - Endstop pullup resistors
* - Endstops logic
* - Endstops logic
* - Endstops min or max
* - Endstops min or max
* - Min Z height for homing
* - Stepper enable logic
* - Stepper enable logic
* - Stepper step logic
* - Stepper step logic
* - Stepper direction
* - Stepper direction
...
@@ -24,6 +25,7 @@
...
@@ -24,6 +25,7 @@
* - Hotend offset
* - Hotend offset
*
*
* Basic-settings can be found in Configuration_Basic.h
* Basic-settings can be found in Configuration_Basic.h
* Temperature-settings can be found in Configuration_Temperature.h
* Feature-settings can be found in Configuration_Feature.h
* Feature-settings can be found in Configuration_Feature.h
* Pins-settings can be found in "Configuration_Pins.h"
* Pins-settings can be found in "Configuration_Pins.h"
*/
*/
...
@@ -124,6 +126,18 @@
...
@@ -124,6 +126,18 @@
/*****************************************************************************************/
/*****************************************************************************************/
/*****************************************************************************************
***************************** MIN Z HEIGHT FOR HOMING **********************************
*****************************************************************************************
* *
* (in mm) Minimal z height before homing (G28) for Z clearance above the bed, clamps, *
* Be sure you have this distance over your Z_MAX_POS in case. *
* *
*****************************************************************************************/
#define MIN_Z_HEIGHT_FOR_HOMING 0
/*****************************************************************************************/
/*****************************************************************************************
/*****************************************************************************************
********************************* Stepper enable logic **********************************
********************************* Stepper enable logic **********************************
*****************************************************************************************
*****************************************************************************************
...
...
MK/module/communication/communication.h
View file @
a9a87ac3
MK/module/digipot/digipot_mcp4451.cpp
View file @
a9a87ac3
/**
* MK & MK4due 3D Printer Firmware
*
* Based on Marlin, Sprinter and grbl
* Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
* Copyright (C) 2013 - 2016 Alberto Cotronei @MagoKimbra
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
#include "../../base.h"
#include "../../base.h"
#if ENABLED(DIGIPOT_I2C)
#if ENABLED(DIGIPOT_I2C)
...
...
MK/module/digipot/digipot_mcp4451.h
View file @
a9a87ac3
/**
* MK & MK4due 3D Printer Firmware
*
* Based on Marlin, Sprinter and grbl
* Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
* Copyright (C) 2013 - 2016 Alberto Cotronei @MagoKimbra
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
#ifndef DIGIPOT_MCP4451_H
#ifndef DIGIPOT_MCP4451_H
#define DIGIPOT_MCP4451_H
#define DIGIPOT_MCP4451_H
...
...
MK/module/fwtest/firmware_test.cpp
View file @
a9a87ac3
MK/module/fwtest/firmware_test.h
View file @
a9a87ac3
MK/module/sanitycheck.h
View file @
a9a87ac3
...
@@ -588,9 +588,6 @@
...
@@ -588,9 +588,6 @@
#if DISABLED(Z_PROBE_OFFSET_FROM_EXTRUDER)
#if DISABLED(Z_PROBE_OFFSET_FROM_EXTRUDER)
#error DEPENDENCY ERROR: Missing setting Z_PROBE_OFFSET_FROM_EXTRUDER
#error DEPENDENCY ERROR: Missing setting Z_PROBE_OFFSET_FROM_EXTRUDER
#endif
#endif
#if DISABLED(Z_RAISE_BEFORE_HOMING)
#error DEPENDENCY ERROR: Missing setting Z_RAISE_BEFORE_HOMING
#endif
#if DISABLED(Z_RAISE_BEFORE_PROBING)
#if DISABLED(Z_RAISE_BEFORE_PROBING)
#error DEPENDENCY ERROR: Missing setting Z_RAISE_BEFORE_PROBING
#error DEPENDENCY ERROR: Missing setting Z_RAISE_BEFORE_PROBING
#endif
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment