From 27d7d2ccab6fca5db9d9e67366f1d28bf9d8d1e1 Mon Sep 17 00:00:00 2001 From: AnHardt Date: Thu, 23 Jul 2015 17:45:28 +0200 Subject: [PATCH 1/2] Correct bracketing for COREXY-XZ --- Marlin/stepper.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Marlin/stepper.cpp b/Marlin/stepper.cpp index 14f0475762..f74f2f9734 100644 --- a/Marlin/stepper.cpp +++ b/Marlin/stepper.cpp @@ -374,7 +374,7 @@ inline void update_endstops() { UPDATE_ENDSTOP(Y, MAX); #endif } - #if defined(COREXY) || defined(COREXZ) + #if defined(COREXY) } #endif @@ -459,6 +459,9 @@ inline void update_endstops() { } #endif } + #if defined(COREXZ) + } + #endif old_endstop_bits = current_endstop_bits; } From 4e14e152fa8bf02ec60df44ba5f3acb8e7ecebc7 Mon Sep 17 00:00:00 2001 From: AnHardt Date: Thu, 23 Jul 2015 17:59:09 +0200 Subject: [PATCH 2/2] Add Travis tests for CORXY and COREXZ --- .travis.yml | 10 ++++++++++ Marlin/Configuration.h | 4 ++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index b05431c6cb..9543fda176 100644 --- a/.travis.yml +++ b/.travis.yml @@ -140,6 +140,16 @@ script: - sed -i 's/\/\/#define FILAMENT_LCD_DISPLAY/#define FILAMENT_LCD_DISPLAY/g' Marlin/Configuration.h - rm -rf .build/ - DISPLAY=:1.0 ~/bin/arduino --verify --board marlin:avr:mega Marlin/Marlin.ino + # Enable COREXY + - cp Marlin/Configuration.h.backup Marlin/Configuration.h + - sed -i 's/\/\/#define COREXY/#define COREXY/g' Marlin/Configuration.h + - rm -rf .build/ + - DISPLAY=:1.0 ~/bin/arduino --verify --board marlin:avr:mega Marlin/Marlin.ino + # Enable COREXZ + - cp Marlin/Configuration.h.backup Marlin/Configuration.h + - sed -i 's/\/\/#define COREXZ/#define COREXZ/g' Marlin/Configuration.h + - rm -rf .build/ + - DISPLAY=:1.0 ~/bin/arduino --verify --board marlin:avr:mega Marlin/Marlin.ino ######## Example Configurations ############## # Delta Config (generic) - cp Marlin/example_configurations/delta/generic/Configuration* Marlin/ diff --git a/Marlin/Configuration.h b/Marlin/Configuration.h index 400d226e00..7d06e21793 100644 --- a/Marlin/Configuration.h +++ b/Marlin/Configuration.h @@ -305,10 +305,10 @@ Here are some standard links for getting your machine calibrated: // @section machine // Uncomment this option to enable CoreXY kinematics -// #define COREXY +//#define COREXY // Uncomment this option to enable CoreXZ kinematics -// #define COREXZ +//#define COREXZ // Enable this option for Toshiba steppers //#define CONFIG_STEPPERS_TOSHIBA