-
Notifications
You must be signed in to change notification settings - Fork 67
/
Copy pathpins_STM_3DPRINT.h
118 lines (89 loc) · 2.85 KB
/
pins_STM_3DPRINT.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
/**
* Marlin 3D Printer Firmware
* Copyright (C) 2016 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/>.
*
*/
/**
* ST Microelectronics EVALR3DPRINT_V1 pin assignments
*/
#ifndef BOARD_NAME
#define BOARD_NAME "STM EVALR3DPRINT"
#endif
#define LARGE_FLASH true
#define X_STEP_PIN 0
#define X_DIR_PIN 1
#define X_ENABLE_PIN -1
#define X_MIN_PIN 3
#define X_MAX_PIN -1
#define Y_STEP_PIN 5
#define Y_DIR_PIN 6
#define Y_ENABLE_PIN -1
#define Y_MIN_PIN -1
#define Y_MAX_PIN 8
#define Z_STEP_PIN 10
#define Z_DIR_PIN 11
#define Z_ENABLE_PIN -1
#define Z_MIN_PIN 13
#define Z_MAX_PIN -1
#define Y2_STEP_PIN -1
#define Y2_DIR_PIN -1
#define Y2_ENABLE_PIN -1
#define Z2_STEP_PIN -1
#define Z2_DIR_PIN -1
#define Z2_ENABLE_PIN -1
#define E0_STEP_PIN 21
#define E0_DIR_PIN 22
#define E0_ENABLE_PIN -1
#define E1_STEP_PIN 24
#define E1_DIR_PIN 25
#define E1_ENABLE_PIN -1
#define SDPOWER -1
#define SDSS -1
#define LED_PIN -1
#define FAN_PIN 30 // (Sprinter config)
#define PS_ON_PIN -1
#define KILL_PIN -1
#define HEATER_0_PIN 33 // EXTRUDER 1
#define HEATER_1_PIN 34
#define HEATER_2_PIN 35
#define TEMP_0_PIN 36 // ANALOG NUMBERING
#define TEMP_1_PIN 37 // ANALOG NUMBERING
#define TEMP_2_PIN 38 // ANALOG NUMBERING
#define HEATER_BED_PIN 39 // BED
#define TEMP_BED_PIN 40 // ANALOG NUMBERING
#ifdef NUM_SERVOS
#define SERVO0_PIN 41
#if NUM_SERVOS > 1
#define SERVO1_PIN 42
#endif
#if NUM_SERVOS > 2
#define SERVO2_PIN 43
#endif
#if NUM_SERVOS > 3
#define SERVO3_PIN 44
#endif
#endif
#define E2_STEP_PIN 45
#define E2_DIR_PIN 46
#define E2_ENABLE_PIN -1
#define U_MIN_PIN -1
#define V_MIN_PIN -1
#define W_MIN_PIN -1
#define HEATER_BED2_PIN 51 // BED2
#define HEATER_BED3_PIN 52 // BED3