update code base to Marlin 2.0.9.2
This commit is contained in:
28
Marlin/src/pins/ramps/pins_ULTIMAKER_OLD.h
Executable file → Normal file
28
Marlin/src/pins/ramps/pins_ULTIMAKER_OLD.h
Executable file → Normal file
@@ -16,7 +16,7 @@
|
||||
* 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/>.
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
#pragma once
|
||||
@@ -60,9 +60,7 @@
|
||||
//#define BOARD_REV_1_0
|
||||
//#define BOARD_REV_1_5
|
||||
|
||||
#if !defined(__AVR_ATmega1280__) && !defined(__AVR_ATmega2560__)
|
||||
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||
#endif
|
||||
#include "env_validate.h"
|
||||
|
||||
#ifdef BOARD_REV_1_1_TO_1_3
|
||||
#define BOARD_INFO_NAME "Ultimaker 1.1-1.3"
|
||||
@@ -74,7 +72,7 @@
|
||||
#define BOARD_INFO_NAME "Ultimaker 1.5.4+"
|
||||
#endif
|
||||
#define DEFAULT_MACHINE_NAME "Ultimaker"
|
||||
#define DEFAULT_SOURCE_CODE_URL "https://github.com/Ultimaker/Marlin"
|
||||
#define DEFAULT_SOURCE_CODE_URL "github.com/Ultimaker/Marlin"
|
||||
|
||||
//
|
||||
// Limit Switches
|
||||
@@ -115,7 +113,7 @@
|
||||
//
|
||||
// Z Probe (when not Z_MIN_PIN)
|
||||
//
|
||||
#if !defined(Z_MIN_PROBE_PIN) && !(HAS_CUTTER && ENABLED(BOARD_REV_1_0))
|
||||
#if !defined(Z_MIN_PROBE_PIN) && !BOTH(HAS_CUTTER, BOARD_REV_1_0)
|
||||
#define Z_MIN_PROBE_PIN Z_MAX_PIN
|
||||
#endif
|
||||
|
||||
@@ -134,7 +132,7 @@
|
||||
#define Z_DIR_PIN 39
|
||||
#define Z_ENABLE_PIN 35
|
||||
|
||||
#if HAS_CUTTER && ENABLED(BOARD_REV_1_1_TO_1_3) && EXTRUDERS == 1
|
||||
#if BOTH(HAS_CUTTER, BOARD_REV_1_1_TO_1_3) && EXTRUDERS == 1
|
||||
// Move E0 to the spare and get Spindle/Laser signals from E0
|
||||
#define E0_STEP_PIN 49
|
||||
#define E0_DIR_PIN 47
|
||||
@@ -174,11 +172,11 @@
|
||||
#define LCD_PINS_D6 32
|
||||
#define LCD_PINS_D7 30
|
||||
|
||||
#elif ENABLED(BOARD_REV_1_5, ULTRA_LCD)
|
||||
#elif BOTH(BOARD_REV_1_5, IS_ULTRA_LCD)
|
||||
|
||||
#define BEEPER_PIN 18
|
||||
|
||||
#if ENABLED(NEWPANEL)
|
||||
#if IS_NEWPANEL
|
||||
|
||||
#define LCD_PINS_RS 20
|
||||
#define LCD_PINS_ENABLE 17
|
||||
@@ -194,13 +192,13 @@
|
||||
|
||||
#define SD_DETECT_PIN 38
|
||||
|
||||
#else // !NEWPANEL - Old style panel with shift register
|
||||
#else // !IS_NEWPANEL - Old style panel with shift register
|
||||
|
||||
// Buttons attached to a shift register
|
||||
#define SHIFT_CLK 38
|
||||
#define SHIFT_LD 42
|
||||
#define SHIFT_OUT 40
|
||||
#define SHIFT_EN 17
|
||||
#define SHIFT_CLK_PIN 38
|
||||
#define SHIFT_LD_PIN 42
|
||||
#define SHIFT_OUT_PIN 40
|
||||
#define SHIFT_EN_PIN 17
|
||||
|
||||
#define LCD_PINS_RS 16
|
||||
#define LCD_PINS_ENABLE 5
|
||||
@@ -209,7 +207,7 @@
|
||||
#define LCD_PINS_D6 20
|
||||
#define LCD_PINS_D7 19
|
||||
|
||||
#endif // !NEWPANEL
|
||||
#endif // !IS_NEWPANEL
|
||||
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user