|
@@ -0,0 +1,125 @@
|
|
1
|
+/**
|
|
2
|
+ * Marlin 3D Printer Firmware
|
|
3
|
+ * Copyright (C) 2016 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
|
+
|
|
23
|
+ /**
|
|
24
|
+ * 2017 Victor Perez Marlin for stm32f1 test
|
|
25
|
+ * 2018 Modified by Pablo Crespo for Morpheus Board (https://github.com/pscrespo/Morpheus-STM32)
|
|
26
|
+ * 2019 Modified by Roberto Mariani & Samuel Pinches for JGAurora A5S & A1 Board.
|
|
27
|
+ */
|
|
28
|
+
|
|
29
|
+/**
|
|
30
|
+ * JGAurora A5S A1 Board pin assignments
|
|
31
|
+ */
|
|
32
|
+
|
|
33
|
+#ifndef __STM32F1__
|
|
34
|
+ #error "Oops! Select an STM32F1 board in 'Tools > Board.'"
|
|
35
|
+#endif
|
|
36
|
+
|
|
37
|
+#define BOARD_NAME "JGAurora A5S A1 board"
|
|
38
|
+
|
|
39
|
+// #define STM32_XL_DENSITY // required, but should be set by platformio flags, not here! (why? not sure.)
|
|
40
|
+
|
|
41
|
+//#define MCU_STM32F103ZE // not yet required
|
|
42
|
+
|
|
43
|
+// // I2C EEPROM with 64K of space - AT24C64
|
|
44
|
+// #define I2C_EEPROM
|
|
45
|
+// #define E2END 0x7FFF
|
|
46
|
+
|
|
47
|
+// Enable EEPROM Emulation for this board
|
|
48
|
+
|
|
49
|
+//#define FLASH_EEPROM_EMULATION 1
|
|
50
|
+//#define E2END 0xFFF //((uint32)(EEPROM_START_ADDRESS + EEPROM_PAGE_SIZE + EEPROM_PAGE_SIZE)) // not 0xFFF
|
|
51
|
+//#define EEPROM_CHITCHAT
|
|
52
|
+//#define DEBUG_EEPROM_READWRITE
|
|
53
|
+
|
|
54
|
+//
|
|
55
|
+// Limit Switches
|
|
56
|
+//
|
|
57
|
+#define X_STOP_PIN PC6
|
|
58
|
+#define Y_STOP_PIN PG8
|
|
59
|
+#define Z_STOP_PIN PG7
|
|
60
|
+
|
|
61
|
+//
|
|
62
|
+// Steppers
|
|
63
|
+//
|
|
64
|
+#define X_STEP_PIN PD6
|
|
65
|
+#define X_DIR_PIN PD3
|
|
66
|
+#define X_ENABLE_PIN PG9
|
|
67
|
+
|
|
68
|
+#define Y_STEP_PIN PG12
|
|
69
|
+#define Y_DIR_PIN PG11
|
|
70
|
+#define Y_ENABLE_PIN PG13
|
|
71
|
+
|
|
72
|
+#define Z_STEP_PIN PG15
|
|
73
|
+#define Z_DIR_PIN PG14
|
|
74
|
+#define Z_ENABLE_PIN PB8
|
|
75
|
+
|
|
76
|
+#define E0_STEP_PIN PE2
|
|
77
|
+#define E0_DIR_PIN PB9
|
|
78
|
+#define E0_ENABLE_PIN PE3
|
|
79
|
+
|
|
80
|
+#define E1_STEP_PIN PE5
|
|
81
|
+#define E1_DIR_PIN PE4
|
|
82
|
+#define E1_ENABLE_PIN PE6
|
|
83
|
+
|
|
84
|
+//
|
|
85
|
+// Temperature Sensors
|
|
86
|
+//
|
|
87
|
+#define TEMP_0_PIN PC2
|
|
88
|
+#define TEMP_BED_PIN PC1
|
|
89
|
+
|
|
90
|
+//
|
|
91
|
+// Heaters / Fans
|
|
92
|
+//
|
|
93
|
+#define HEATER_0_PIN PA2
|
|
94
|
+#define HEATER_BED_PIN PA3
|
|
95
|
+
|
|
96
|
+#define FAN_PIN PA1
|
|
97
|
+
|
|
98
|
+#define PS_ON_PIN PA0
|
|
99
|
+#define FIL_RUNOUT_PIN PC7
|
|
100
|
+
|
|
101
|
+//
|
|
102
|
+// LCD
|
|
103
|
+//
|
|
104
|
+#define LCD_BACKLIGHT_PIN PF11
|
|
105
|
+#define FSMC_CS_PIN PD7
|
|
106
|
+#define FSMC_RS_PIN PG0
|
|
107
|
+
|
|
108
|
+//
|
|
109
|
+// SD Card
|
|
110
|
+//
|
|
111
|
+#define SD_DETECT_PIN PF10
|
|
112
|
+
|
|
113
|
+//
|
|
114
|
+// Misc.
|
|
115
|
+//
|
|
116
|
+#define BEEPER_PIN PC3 // use PB7 to shut up if desired
|
|
117
|
+#define LED_PIN PC13
|
|
118
|
+
|
|
119
|
+// Touch support
|
|
120
|
+#define BTN_ENC PA11 // Real pin is needed to enable encoder's push button functionality used by touch screen. PA11 gives stable value.
|
|
121
|
+
|
|
122
|
+#define TOUCH_CS PA4
|
|
123
|
+//#define TOUCH_INTERRUPT PC4 // Not yet implemented
|
|
124
|
+
|
|
125
|
+#define NO_PAUSE_AFTER_PRINT
|