-
Notifications
You must be signed in to change notification settings - Fork 20
/
pins_MORPHEUS.h
91 lines (77 loc) · 2.22 KB
/
pins_MORPHEUS.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
/**
* Marlin 3D Printer Firmware
* 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/>.
*
*/
/**
* 2017 Victor Perez Marlin for stm32f1 test
* 2018 Modified by Pablo Crespo for Morpheus Board (https://github.com/pscrespo/Morpheus-STM32)
*/
/**
* MORPHEUS Board pin assignments
*/
#ifndef __STM32F1__
#error "Oops! Select an STM32F1 board in 'Tools > Board.'"
#endif
#define BOARD_NAME "Bluepill based board"
//
// Limit Switches
//
#define X_STOP_PIN PB14
#define Y_STOP_PIN PB13
#define Z_STOP_PIN PB12
//
// Z Probe
//
#define Z_MIN_PROBE_PIN PB9
//
// Steppers
//
// X & Y enable are the same
#define X_STEP_PIN PB7
#define X_DIR_PIN PB6
#define X_ENABLE_PIN PB8
#define Y_STEP_PIN PB5
#define Y_DIR_PIN PB4
#define Y_ENABLE_PIN PB8
#define Z_STEP_PIN PA15
#define Z_DIR_PIN PA10
#define Z_ENABLE_PIN PB3
#define E0_STEP_PIN PA8
#define E0_DIR_PIN PB15
#define E0_ENABLE_PIN PA9
//
// Temperature Sensors
//
#define TEMP_0_PIN PB1 // Analog Input (HOTEND thermistor)
#define TEMP_BED_PIN PB0 // Analog Input (BED thermistor)
//
// Heaters / Fans
//
#define HEATER_0_PIN PA1 // HOTEND MOSFET
#define HEATER_BED_PIN PA0 // BED MOSFET
#define FAN_PIN PA2 // PRINT FAN
//
// Misc.
//
#define SDSS PA3
#define SD_DETECT_PIN -1
#define LED_PIN PC13
#define DISABLE_JTAG
#define FAN_SOFT_PWM