Browse Source

Merge CORE_XZ (PR#2503)

pull/1/head
Richard Wackerbarth 9 years ago
parent
commit
a0120a533c
  1. 10
      .travis.yml
  2. 4
      Marlin/Configuration.h
  3. 5
      Marlin/stepper.cpp

10
.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/

4
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

5
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;
}

Loading…
Cancel
Save