Prusa MINI Firmware overview
pins_RL200.h
Go to the documentation of this file.
1 /**
2  * Marlin 3D Printer Firmware
3  * Copyright (c) 2019 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
4  *
5  * Based on Sprinter and grbl.
6  * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
7  *
8  * This program is free software: you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation, either version 3 of the License, or
11  * (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program. If not, see <http://www.gnu.org/licenses/>.
20  *
21  */
22 #pragma once
23 
24 /**
25  * Rapide Lite 200 v1 (RUMBA clone) pin assignments. Has slightly different assignment for
26  * extruder motors due to dual Z motors. Pinout therefore based on pins_RUMBA.h.
27  */
28 
29 #define BOARD_INFO_NAME "RL200"
30 #define DEFAULT_MACHINE_NAME "Rapide Lite 200"
31 
32 #if HOTENDS > 2 || E_STEPPERS > 2
33  #error "RL200v1 supports up to 2 hotends / E-steppers. Comment out this line to continue."
34 #endif
35 
36 #if DISABLED(Z_DUAL_STEPPER_DRIVERS)
37  #error "RL200 uses dual Z stepper motors. Update Configuration_adv.h or comment out this line to continue."
38 #endif
39 
40 #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))
41  #error "You must set ([XYZ]|Z2|E0)_DRIVER_TYPE to DRV8825 in Configuration.h for RL200."
42 #endif
43 
44 #define E0_STEP_PIN 26 // (RUMBA E1 pins)
45 #define E0_DIR_PIN 25
46 #define E0_ENABLE_PIN 27
47 
48 #define E1_STEP_PIN 29 // (RUMBA E2 pins)
49 #define E1_DIR_PIN 28
50 #define E1_ENABLE_PIN 39
51 
52 #define Z2_STEP_PIN 23 // (RUMBA E0 pins)
53 #define Z2_DIR_PIN 22
54 #define Z2_ENABLE_PIN 24
55 
56 #include "pins_RUMBA.h"
pins_RUMBA.h