Firmware2/Marlin/src/pins/pins_RL200.h

56 lines
2.0 KiB
C
Raw Normal View History

/**
* Marlin 3D Printer Firmware
2019-02-12 22:06:53 +01:00
* Copyright (C) 2019 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
*
* 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/>.
*
*/
/**
* Rapide Lite 200 v1 (RUMBA clone) pin assignments. Has slightly different assignment for
* extruder motors due to dual Z motors. Pinout therefore based on pins_RUMBA.h.
*/
#define DEFAULT_MACHINE_NAME "Rapide Lite 200"
#define BOARD_NAME "RL200"
#if HOTENDS > 2 || E_STEPPERS > 2
#error "RL200v1 supports up to 2 hotends / E-steppers. Comment out this line to continue."
#endif
#if DISABLED(Z_DUAL_STEPPER_DRIVERS)
#error "RL200 uses dual Z stepper motors. Update Configuration_adv.h or comment out this line to continue."
#endif
#if !(AXIS_DRIVER_TYPE_X(DRV8825) && AXIS_DRIVER_TYPE_Y(DRV8825) && AXIS_DRIVER_TYPE_Z(DRV8825) && AXIS_DRIVER_TYPE_Z2(DRV8825) && AXIS_DRIVER_TYPE_E0(DRV8825))
#error "You must set ([XYZ]|Z2|E0)_DRIVER_TYPE to DRV8825 in Configuration.h for RL200."
#endif
#define E0_STEP_PIN 26 // (RUMBA E1 pins)
#define E0_DIR_PIN 25
#define E0_ENABLE_PIN 27
#define E1_STEP_PIN 29 // (RUMBA E2 pins)
#define E1_DIR_PIN 28
#define E1_ENABLE_PIN 39
#define Z2_STEP_PIN 23 // (RUMBA E0 pins)
#define Z2_DIR_PIN 22
#define Z2_ENABLE_PIN 24
#include "pins_RUMBA.h"