浏览代码

Merge pull request #908 from alromh87/Marlin_v1

Support for Gen3 Monolithic electronics
Bo Herrmannsen 10 年前
父节点
当前提交
280504e2e0
共有 3 个文件被更改,包括 71 次插入0 次删除
  1. 1
    0
      Marlin/Configuration.h
  2. 5
    0
      Marlin/Makefile
  3. 65
    0
      Marlin/pins.h

+ 1
- 0
Marlin/Configuration.h 查看文件

@@ -71,6 +71,7 @@
71 71
 // 83 = SAV Mk-I (AT90USB1286)
72 72
 // 84 = Teensy++2.0 (AT90USB1286) // CLI compile: DEFINES=AT90USBxx_TEENSYPP_ASSIGNMENTS HARDWARE_MOTHERBOARD=84  make
73 73
 // 9  = Gen3+
74
+// 22 = Gen3 Monolithic Electronics
74 75
 // 70 = Megatronics
75 76
 // 701= Megatronics v2.0
76 77
 // 702= Minitronics v1.0

+ 5
- 0
Marlin/Makefile 查看文件

@@ -157,6 +157,11 @@ else ifeq  ($(HARDWARE_MOTHERBOARD),9)
157 157
 HARDWARE_VARIANT ?= Sanguino
158 158
 MCU              ?= atmega644p
159 159
 
160
+#Gen3 Monolithic Electronics
161
+else ifeq  ($(HARDWARE_MOTHERBOARD),22)
162
+HARDWARE_VARIANT ?= Sanguino
163
+MCU              ?= atmega644p
164
+
160 165
 #Megatronics
161 166
 else ifeq  ($(HARDWARE_MOTHERBOARD),70)
162 167
 HARDWARE_VARIANT ?= arduino

+ 65
- 0
Marlin/pins.h 查看文件

@@ -2118,7 +2118,72 @@ DaveX plan for Teensylu/printrboard-type pinouts (ref teensylu & sprinter) for a
2118 2118
 
2119 2119
 #endif
2120 2120
 
2121
+/****************************************************************************************
2122
+* Gen3  Monolithic Electronics
2123
+*
2124
+****************************************************************************************/
2125
+#if MOTHERBOARD == 22
2126
+#define KNOWN_BOARD 1
2127
+
2128
+#ifndef __AVR_ATmega644P__
2129
+    #error Oops!  Make sure you have 'Sanguino' selected from the 'Tools -> Boards' menu.
2130
+#endif
2131
+
2132
+#define DEBUG_PIN 0
2133
+
2134
+// x axis
2135
+#define X_STEP_PIN 15
2136
+#define X_DIR_PIN 18
2137
+#define X_MIN_PIN 20
2138
+//Alex Checar #define X_STOP_PIN         20
2139
+#define X_ENABLE_PIN 24 //actually uses Y_enable_pin
2140
+#define X_MAX_PIN -1
2141
+
2142
+// y axes
2143
+#define Y_STEP_PIN 23
2144
+#define Y_DIR_PIN 22
2145
+#define Y_MIN_PIN 25
2146
+//Alex Checar #define Y_STOP_PIN         25
2147
+#define Y_ENABLE_PIN 24 //shared with X_enable_pin
2148
+#define Y_MAX_PIN -1
2149
+
2150
+// z axes
2151
+#define Z_STEP_PIN 27
2152
+#define Z_DIR_PIN 28
2153
+#define Z_MIN_PIN 30
2154
+//Alex Checar #define Z_STOP_PIN         30
2155
+#define Z_ENABLE_PIN 29
2156
+#define Z_MAX_PIN -1
2157
+
2158
+//extruder pins
2159
+#define E0_STEP_PIN         12
2160
+#define E0_DIR_PIN          17
2161
+#define E0_ENABLE_PIN       3
2121 2162
 
2163
+#define HEATER_0_PIN 16
2164
+#define TEMP_0_PIN 0
2165
+
2166
+#define FAN_PIN -1
2167
+
2168
+//bed pins
2169
+#define HEATER_BED_PIN -1
2170
+#define TEMP_BED_PIN -1
2171
+
2172
+
2173
+#define SDSS		 -1
2174
+#define SDPOWER          -1
2175
+#define LED_PIN          -1
2176
+
2177
+//pin for controlling the PSU.
2178
+#define PS_ON_PIN       14	//Alex, Do this work on the card?
2179
+
2180
+//Alex extras from Gen3+
2181
+#define KILL_PIN           -1
2182
+#define TEMP_1_PIN         -1
2183
+#define TEMP_2_PIN         -1
2184
+#define HEATER_2_PIN       -1
2185
+
2186
+#endif
2122 2187
 
2123 2188
 /****************************************************************************************
2124 2189
 * Open Motion controller with enable based extruders

正在加载...
取消
保存