Welcome! Log In Create A New Profile

Advanced

3 problems with Marlin 1.1.9 and MKS GEN 1.4

Posted by twoody65 
3 problems with Marlin 1.1.9 and MKS GEN 1.4
December 28, 2018 06:02PM
OK, the first problem is when trying to compile Marlin with the Auto bed levelling. I get the following error:

expected ',' before numeric constant

#if ENABLED(AUTO_BED_LEVELING_LINEAR) || ENABLED(AUTO_BED_LEVELING_BILINEAR)

// Set the number of grid points per dimension.
#define GRID_MAX_POINTS_X 3
#define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

// Set the boundaries for probing (where the probe can reach).
#define LEFT_PROBE_BED_POSITION MIN_PROBE_EDGE 15
#define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - MIN_PROBE_EDGE) 205
#define FRONT_PROBE_BED_POSITION MIN_PROBE_EDGE 48
#define BACK_PROBE_BED_POSITION (Y_BED_SIZE - MIN_PROBE_EDGE) 205

Now if I put the ',' in there like it is expecting it complains about another error but if I comment those four lines out then it will compile. The second problem is when trying to enable the Z_Safe_Homing I get the following error:

static assertion failed: Z_SAFE_HOMING_X_POINT is outside the probe region.


#if ENABLED(Z_SAFE_HOMING)
#if HAS_BED_PROBE
static_assert(WITHIN(Z_SAFE_HOMING_X_POINT, MIN_PROBE_X, MAX_PROBE_X), "Z_SAFE_HOMING_X_POINT is outside the probe region.");
static_assert(WITHIN(Z_SAFE_HOMING_Y_POINT, MIN_PROBE_Y, MAX_PROBE_Y), "Z_SAFE_HOMING_Y_POINT is outside the probe region.");
#else
static_assert(WITHIN(Z_SAFE_HOMING_X_POINT, X_MIN_POS, X_MAX_POS), "Z_SAFE_HOMING_X_POINT can't be reached by the nozzle.");
static_assert(WITHIN(Z_SAFE_HOMING_Y_POINT, Y_MIN_POS, Y_MAX_POS), "Z_SAFE_HOMING_Y_POINT can't be reached by the nozzle.");
#endif
#endif // Z_SAFE_HOMING

The third problem is none of my axis moves. I have attached the Configuration.h and the Configuration.adv.h
Thank you for any help you can give.

Ted
Attachments:
open | download - Configuration.h (70.4 KB)
open | download - Configuration_adv.h (67.4 KB)
Re: 3 problems with Marlin 1.1.9 and MKS GEN 1.4
January 05, 2019 11:12PM
This topic is no longer a problem. I had to redo the entire configuration.h file and it cleared those issues but created another.

Edited 1 time(s). Last edit at 01/05/2019 11:12PM by twoody65.
Sorry, only registered users may post in this forum.

Click here to login