|
@@ -113,319 +113,296 @@ endif
|
113
|
113
|
# HARDWARE_VARIANT = "arduino", "Sanguino", "Gen7", ...
|
114
|
114
|
# MCU = "atmega1280", "Mega2560", "atmega2560", "atmega644p", ...
|
115
|
115
|
|
116
|
|
-#Gen7
|
117
|
|
-ifeq ($(HARDWARE_MOTHERBOARD),10)
|
118
|
|
-HARDWARE_VARIANT ?= Gen7
|
119
|
|
-MCU ?= atmega644
|
120
|
|
-F_CPU ?= 20000000
|
121
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),11)
|
122
|
|
-HARDWARE_VARIANT ?= Gen7
|
123
|
|
-MCU ?= atmega644p
|
124
|
|
-F_CPU ?= 20000000
|
125
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),12)
|
126
|
|
-HARDWARE_VARIANT ?= Gen7
|
127
|
|
-MCU ?= atmega644p
|
128
|
|
-F_CPU ?= 20000000
|
129
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),13)
|
130
|
|
-HARDWARE_VARIANT ?= Gen7
|
131
|
|
-MCU ?= atmega1284p
|
132
|
|
-F_CPU ?= 20000000
|
|
116
|
+ifeq ($(HARDWARE_MOTHERBOARD),0)
|
133
|
117
|
|
134
|
|
-#RAMPS
|
135
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),3)
|
136
|
|
-HARDWARE_VARIANT ?= arduino
|
137
|
|
-MCU ?= atmega2560
|
138
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),33)
|
139
|
|
-HARDWARE_VARIANT ?= arduino
|
140
|
|
-MCU ?= atmega2560
|
141
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),34)
|
142
|
|
-HARDWARE_VARIANT ?= arduino
|
143
|
|
-MCU ?= atmega2560
|
144
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),35)
|
145
|
|
-HARDWARE_VARIANT ?= arduino
|
146
|
|
-MCU ?= atmega2560
|
147
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),36)
|
148
|
|
-HARDWARE_VARIANT ?= arduino
|
149
|
|
-MCU ?= atmega2560
|
150
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),38)
|
151
|
|
-HARDWARE_VARIANT ?= arduino
|
152
|
|
-MCU ?= atmega2560
|
153
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),43)
|
154
|
|
-HARDWARE_VARIANT ?= arduino
|
155
|
|
-MCU ?= atmega2560
|
156
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),44)
|
157
|
|
-HARDWARE_VARIANT ?= arduino
|
158
|
|
-MCU ?= atmega2560
|
159
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),45)
|
160
|
|
-HARDWARE_VARIANT ?= arduino
|
161
|
|
-MCU ?= atmega2560
|
162
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),46)
|
163
|
|
-HARDWARE_VARIANT ?= arduino
|
164
|
|
-MCU ?= atmega2560
|
165
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),48)
|
166
|
|
-HARDWARE_VARIANT ?= arduino
|
167
|
|
-MCU ?= atmega2560
|
|
118
|
+ # No motherboard selected
|
168
|
119
|
|
169
|
|
-#RAMPS equivalents
|
170
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),143)
|
171
|
|
-HARDWARE_VARIANT ?= arduino
|
172
|
|
-MCU ?= atmega2560
|
173
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),144)
|
174
|
|
-HARDWARE_VARIANT ?= arduino
|
175
|
|
-MCU ?= atmega2560
|
176
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),145)
|
177
|
|
-HARDWARE_VARIANT ?= arduino
|
178
|
|
-MCU ?= atmega2560
|
179
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),146)
|
180
|
|
-HARDWARE_VARIANT ?= arduino
|
181
|
|
-MCU ?= atmega2560
|
182
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),148)
|
183
|
|
-HARDWARE_VARIANT ?= arduino
|
184
|
|
-MCU ?= atmega2560
|
185
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),77)
|
186
|
|
-HARDWARE_VARIANT ?= arduino
|
187
|
|
-MCU ?= atmega2560
|
188
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),78)
|
189
|
|
-HARDWARE_VARIANT ?= arduino
|
190
|
|
-MCU ?= atmega2560
|
191
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),79)
|
192
|
|
-HARDWARE_VARIANT ?= arduino
|
193
|
|
-MCU ?= atmega2560
|
194
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),401)
|
195
|
|
-HARDWARE_VARIANT ?= arduino
|
196
|
|
-MCU ?= atmega2560
|
197
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),402)
|
198
|
|
-HARDWARE_VARIANT ?= arduino
|
199
|
|
-MCU ?= atmega2560
|
200
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),40)
|
201
|
|
-HARDWARE_VARIANT ?= arduino
|
202
|
|
-MCU ?= atmega2560
|
203
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),41)
|
204
|
|
-HARDWARE_VARIANT ?= arduino
|
205
|
|
-MCU ?= atmega2560
|
206
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),47)
|
207
|
|
-HARDWARE_VARIANT ?= arduino
|
208
|
|
-MCU ?= atmega2560
|
209
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),53)
|
210
|
|
-HARDWARE_VARIANT ?= arduino
|
211
|
|
-MCU ?= atmega2560
|
212
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),504)
|
213
|
|
-HARDWARE_VARIANT ?= arduino
|
214
|
|
-MCU ?= atmega2560
|
215
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),37)
|
216
|
|
-HARDWARE_VARIANT ?= arduino
|
217
|
|
-MCU ?= atmega2560
|
218
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),42)
|
219
|
|
-HARDWARE_VARIANT ?= arduino
|
220
|
|
-MCU ?= atmega2560
|
221
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),52)
|
222
|
|
-HARDWARE_VARIANT ?= arduino
|
223
|
|
-MCU ?= atmega2560
|
224
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),49)
|
225
|
|
-HARDWARE_VARIANT ?= arduino
|
226
|
|
-MCU ?= atmega2560
|
227
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),72)
|
228
|
|
-HARDWARE_VARIANT ?= arduino
|
229
|
|
-MCU ?= atmega2560
|
230
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),80)
|
231
|
|
-HARDWARE_VARIANT ?= arduino
|
232
|
|
-MCU ?= atmega2560
|
233
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),503)
|
234
|
|
-HARDWARE_VARIANT ?= arduino
|
235
|
|
-MCU ?= atmega2560
|
236
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),431)
|
237
|
|
-HARDWARE_VARIANT ?= arduino
|
238
|
|
-MCU ?= atmega2560
|
239
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),343)
|
240
|
|
-HARDWARE_VARIANT ?= arduino
|
241
|
|
-MCU ?= atmega2560
|
242
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),243)
|
243
|
|
-HARDWARE_VARIANT ?= arduino
|
244
|
|
-MCU ?= atmega2560
|
|
120
|
+#
|
|
121
|
+# RAMPS 1.3 / 1.4 - ATmega1280, ATmega2560
|
|
122
|
+#
|
245
|
123
|
|
246
|
|
-#Other ATmega1280, ATmega2560
|
247
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),111)
|
248
|
|
-HARDWARE_VARIANT ?= arduino
|
249
|
|
-MCU ?= atmega2560
|
250
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),112)
|
251
|
|
-HARDWARE_VARIANT ?= arduino
|
252
|
|
-MCU ?= atmega2560
|
253
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),2)
|
254
|
|
-HARDWARE_VARIANT ?= arduino
|
255
|
|
-MCU ?= atmega2560
|
256
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),21)
|
257
|
|
-HARDWARE_VARIANT ?= arduino
|
258
|
|
-MCU ?= atmega2560
|
259
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),200)
|
260
|
|
-HARDWARE_VARIANT ?= arduino
|
261
|
|
-MCU ?= atmega2560
|
262
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),70)
|
263
|
|
-HARDWARE_VARIANT ?= arduino
|
264
|
|
-MCU ?= atmega2560
|
265
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),701)
|
266
|
|
-HARDWARE_VARIANT ?= arduino
|
267
|
|
-MCU ?= atmega2560
|
268
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),703)
|
269
|
|
-HARDWARE_VARIANT ?= arduino
|
270
|
|
-MCU ?= atmega2560
|
271
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),704)
|
272
|
|
-HARDWARE_VARIANT ?= arduino
|
273
|
|
-MCU ?= atmega2560
|
274
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),302)
|
275
|
|
-HARDWARE_VARIANT ?= arduino
|
276
|
|
-MCU ?= atmega2560
|
277
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),303)
|
278
|
|
-HARDWARE_VARIANT ?= arduino
|
279
|
|
-MCU ?= atmega2560
|
280
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),304)
|
281
|
|
-HARDWARE_VARIANT ?= arduino
|
282
|
|
-MCU ?= atmega2560
|
283
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),305)
|
284
|
|
-HARDWARE_VARIANT ?= arduino
|
285
|
|
-MCU ?= atmega2560
|
286
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),21)
|
287
|
|
-HARDWARE_VARIANT ?= arduino
|
288
|
|
-MCU ?= atmega2560
|
289
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),999)
|
290
|
|
-HARDWARE_VARIANT ?= arduino
|
291
|
|
-MCU ?= atmega2560
|
292
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),310)
|
293
|
|
-HARDWARE_VARIANT ?= arduino
|
294
|
|
-MCU ?= atmega2560
|
295
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),321)
|
296
|
|
-HARDWARE_VARIANT ?= arduino
|
297
|
|
-MCU ?= atmega2560
|
298
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),74)
|
299
|
|
-HARDWARE_VARIANT ?= arduino
|
300
|
|
-MCU ?= atmega2560
|
301
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),75)
|
302
|
|
-HARDWARE_VARIANT ?= arduino
|
303
|
|
-MCU ?= atmega2560
|
|
124
|
+# MEGA/RAMPS up to 1.2
|
|
125
|
+else ifeq ($(HARDWARE_MOTHERBOARD),3)
|
|
126
|
+
|
|
127
|
+# RAMPS 1.3 (Power outputs: Hotend, Fan, Bed)
|
|
128
|
+else ifeq ($(HARDWARE_MOTHERBOARD),33)
|
|
129
|
+# RAMPS 1.3 (Power outputs: Hotend0, Hotend1, Bed)
|
|
130
|
+else ifeq ($(HARDWARE_MOTHERBOARD),34)
|
|
131
|
+# RAMPS 1.3 (Power outputs: Hotend, Fan0, Fan1)
|
|
132
|
+else ifeq ($(HARDWARE_MOTHERBOARD),35)
|
|
133
|
+# RAMPS 1.3 (Power outputs: Hotend0, Hotend1, Fan)
|
|
134
|
+else ifeq ($(HARDWARE_MOTHERBOARD),36)
|
|
135
|
+# RAMPS 1.3 (Power outputs: Spindle, Controller Fan)
|
|
136
|
+else ifeq ($(HARDWARE_MOTHERBOARD),38)
|
|
137
|
+
|
|
138
|
+# RAMPS 1.4 (Power outputs: Hotend, Fan, Bed)
|
|
139
|
+else ifeq ($(HARDWARE_MOTHERBOARD),43)
|
|
140
|
+# RAMPS 1.4 (Power outputs: Hotend0, Hotend1, Bed)
|
|
141
|
+else ifeq ($(HARDWARE_MOTHERBOARD),44)
|
|
142
|
+# RAMPS 1.4 (Power outputs: Hotend, Fan0, Fan1)
|
|
143
|
+else ifeq ($(HARDWARE_MOTHERBOARD),45)
|
|
144
|
+# RAMPS 1.4 (Power outputs: Hotend0, Hotend1, Fan)
|
|
145
|
+else ifeq ($(HARDWARE_MOTHERBOARD),46)
|
|
146
|
+# RAMPS 1.4 (Power outputs: Spindle, Controller Fan)
|
|
147
|
+else ifeq ($(HARDWARE_MOTHERBOARD),48)
|
|
148
|
+
|
|
149
|
+# RAMPS Plus 3DYMY (Power outputs: Hotend, Fan, Bed)
|
|
150
|
+else ifeq ($(HARDWARE_MOTHERBOARD),143)
|
|
151
|
+# RAMPS Plus 3DYMY (Power outputs: Hotend0, Hotend1, Bed)
|
|
152
|
+else ifeq ($(HARDWARE_MOTHERBOARD),144)
|
|
153
|
+# RAMPS Plus 3DYMY (Power outputs: Hotend, Fan0, Fan1)
|
|
154
|
+else ifeq ($(HARDWARE_MOTHERBOARD),145)
|
|
155
|
+# RAMPS Plus 3DYMY (Power outputs: Hotend0, Hotend1, Fan)
|
|
156
|
+else ifeq ($(HARDWARE_MOTHERBOARD),146)
|
|
157
|
+# RAMPS Plus 3DYMY (Power outputs: Spindle, Controller Fan)
|
|
158
|
+else ifeq ($(HARDWARE_MOTHERBOARD),148)
|
304
|
159
|
|
305
|
|
-#Gen6
|
306
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),5)
|
307
|
|
-HARDWARE_VARIANT ?= Gen6
|
308
|
|
-MCU ?= atmega644p
|
309
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),51)
|
310
|
|
-HARDWARE_VARIANT ?= Gen6
|
311
|
|
-MCU ?= atmega644p
|
|
160
|
+#
|
|
161
|
+# RAMPS Derivatives - ATmega1280, ATmega2560
|
|
162
|
+#
|
|
163
|
+
|
|
164
|
+# 3Drag Controller
|
|
165
|
+else ifeq ($(HARDWARE_MOTHERBOARD),77)
|
|
166
|
+# Velleman K8200 Controller (derived from 3Drag Controller)
|
|
167
|
+else ifeq ($(HARDWARE_MOTHERBOARD),78)
|
|
168
|
+# Velleman K8400 Controller (derived from 3Drag Controller)
|
|
169
|
+else ifeq ($(HARDWARE_MOTHERBOARD),79)
|
|
170
|
+# 2PrintBeta BAM&DICE with STK drivers
|
|
171
|
+else ifeq ($(HARDWARE_MOTHERBOARD),401)
|
|
172
|
+# 2PrintBeta BAM&DICE Due with STK drivers
|
|
173
|
+else ifeq ($(HARDWARE_MOTHERBOARD),402)
|
|
174
|
+# MKS BASE v1.0
|
|
175
|
+else ifeq ($(HARDWARE_MOTHERBOARD),40)
|
|
176
|
+# MKS v1.5 with Allegro A4982 stepper drivers
|
|
177
|
+else ifeq ($(HARDWARE_MOTHERBOARD),405)
|
|
178
|
+# MKS BASE 1.0 with Heroic HR4982 stepper drivers
|
|
179
|
+else ifeq ($(HARDWARE_MOTHERBOARD),41)
|
|
180
|
+# MKS GEN v1.3 or 1.4
|
|
181
|
+else ifeq ($(HARDWARE_MOTHERBOARD),47)
|
|
182
|
+# MKS GEN L
|
|
183
|
+else ifeq ($(HARDWARE_MOTHERBOARD),53)
|
|
184
|
+# zrib V2.0 control board (Chinese knock off RAMPS replica)
|
|
185
|
+else ifeq ($(HARDWARE_MOTHERBOARD),504)
|
|
186
|
+# Felix 2.0+ Electronics Board (RAMPS like)
|
|
187
|
+else ifeq ($(HARDWARE_MOTHERBOARD),37)
|
|
188
|
+# Invent-A-Part RigidBoard
|
|
189
|
+else ifeq ($(HARDWARE_MOTHERBOARD),42)
|
|
190
|
+# Invent-A-Part RigidBoard V2
|
|
191
|
+else ifeq ($(HARDWARE_MOTHERBOARD),52)
|
|
192
|
+# Sainsmart 2-in-1 board
|
|
193
|
+else ifeq ($(HARDWARE_MOTHERBOARD),49)
|
|
194
|
+# Ultimaker
|
|
195
|
+else ifeq ($(HARDWARE_MOTHERBOARD),7)
|
|
196
|
+# Ultimaker (Older electronics. Pre 1.5.4. This is rare)
|
|
197
|
+else ifeq ($(HARDWARE_MOTHERBOARD),71)
|
|
198
|
+MCU ?= atmega1280
|
|
199
|
+# Azteeg X3
|
|
200
|
+else ifeq ($(HARDWARE_MOTHERBOARD),67)
|
|
201
|
+# Azteeg X3 Pro
|
|
202
|
+else ifeq ($(HARDWARE_MOTHERBOARD),68)
|
|
203
|
+# Ultimainboard 2.x (Uses TEMP_SENSOR 20)
|
|
204
|
+else ifeq ($(HARDWARE_MOTHERBOARD),72)
|
|
205
|
+# Rumba
|
|
206
|
+else ifeq ($(HARDWARE_MOTHERBOARD),80)
|
|
207
|
+# bq ZUM Mega 3D
|
|
208
|
+else ifeq ($(HARDWARE_MOTHERBOARD),503)
|
|
209
|
+# MakeBoard Mini v2.1.2 is a control board sold by MicroMake
|
|
210
|
+else ifeq ($(HARDWARE_MOTHERBOARD),431)
|
|
211
|
+# TriGorilla Anycubic version 1.3 based on RAMPS EFB
|
|
212
|
+else ifeq ($(HARDWARE_MOTHERBOARD),343)
|
|
213
|
+# TriGorilla Anycubic version 1.4 based on RAMPS EFB
|
|
214
|
+else ifeq ($(HARDWARE_MOTHERBOARD),443)
|
|
215
|
+# Creality: Ender-4, CR-8
|
|
216
|
+else ifeq ($(HARDWARE_MOTHERBOARD),243)
|
312
|
217
|
|
313
|
|
-#Sanguinololu
|
314
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),6)
|
|
218
|
+#
|
|
219
|
+# Other ATmega1280, ATmega2560
|
|
220
|
+#
|
|
221
|
+
|
|
222
|
+# Cartesio CN Controls V11
|
|
223
|
+else ifeq ($(HARDWARE_MOTHERBOARD),111)
|
|
224
|
+# Cartesio CN Controls V12
|
|
225
|
+else ifeq ($(HARDWARE_MOTHERBOARD),112)
|
|
226
|
+# Cheaptronic v1.0
|
|
227
|
+else ifeq ($(HARDWARE_MOTHERBOARD),2)
|
|
228
|
+# Cheaptronic v2.0
|
|
229
|
+else ifeq ($(HARDWARE_MOTHERBOARD),21)
|
|
230
|
+# Makerbot Mightyboard Revision E
|
|
231
|
+else ifeq ($(HARDWARE_MOTHERBOARD),200)
|
|
232
|
+# Megatronics
|
|
233
|
+else ifeq ($(HARDWARE_MOTHERBOARD),70)
|
|
234
|
+# Megatronics v2.0
|
|
235
|
+else ifeq ($(HARDWARE_MOTHERBOARD),701)
|
|
236
|
+# Megatronics v3.0
|
|
237
|
+else ifeq ($(HARDWARE_MOTHERBOARD),703)
|
|
238
|
+# Megatronics v3.1
|
|
239
|
+else ifeq ($(HARDWARE_MOTHERBOARD),704)
|
|
240
|
+# Rambo
|
|
241
|
+else ifeq ($(HARDWARE_MOTHERBOARD),301)
|
|
242
|
+# Mini-Rambo
|
|
243
|
+else ifeq ($(HARDWARE_MOTHERBOARD),302)
|
|
244
|
+# Mini-Rambo 1.0a
|
|
245
|
+else ifeq ($(HARDWARE_MOTHERBOARD),303)
|
|
246
|
+# Einsy Rambo
|
|
247
|
+else ifeq ($(HARDWARE_MOTHERBOARD),304)
|
|
248
|
+# Einsy Retro
|
|
249
|
+else ifeq ($(HARDWARE_MOTHERBOARD),305)
|
|
250
|
+# Elefu Ra Board (v3)
|
|
251
|
+else ifeq ($(HARDWARE_MOTHERBOARD),21)
|
|
252
|
+# Leapfrog
|
|
253
|
+else ifeq ($(HARDWARE_MOTHERBOARD),999)
|
|
254
|
+# Mega controller
|
|
255
|
+else ifeq ($(HARDWARE_MOTHERBOARD),310)
|
|
256
|
+# abee Scoovo X9H
|
|
257
|
+else ifeq ($(HARDWARE_MOTHERBOARD),321)
|
|
258
|
+# Geeetech GT2560 Rev. A
|
|
259
|
+else ifeq ($(HARDWARE_MOTHERBOARD),74)
|
|
260
|
+# Geeetech GT2560 Rev. A+ (with auto level probe)
|
|
261
|
+else ifeq ($(HARDWARE_MOTHERBOARD),75)
|
|
262
|
+
|
|
263
|
+#
|
|
264
|
+# ATmega1281, ATmega2561
|
|
265
|
+#
|
|
266
|
+
|
|
267
|
+else ifeq ($(HARDWARE_MOTHERBOARD),702)
|
|
268
|
+MCU ?= atmega1281
|
|
269
|
+else ifeq ($(HARDWARE_MOTHERBOARD),25)
|
|
270
|
+MCU ?= atmega1281
|
|
271
|
+
|
|
272
|
+#
|
|
273
|
+# Sanguinololu and Derivatives - ATmega644P, ATmega1284P
|
|
274
|
+#
|
|
275
|
+
|
|
276
|
+# Sanguinololu < 1.2
|
|
277
|
+else ifeq ($(HARDWARE_MOTHERBOARD),6)
|
315
|
278
|
HARDWARE_VARIANT ?= Sanguino
|
316
|
279
|
MCU ?= atmega644p
|
317
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),62)
|
|
280
|
+# Sanguinololu 1.2 and above
|
|
281
|
+else ifeq ($(HARDWARE_MOTHERBOARD),62)
|
318
|
282
|
HARDWARE_VARIANT ?= Sanguino
|
319
|
283
|
MCU ?= atmega644p
|
320
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),63)
|
|
284
|
+# Melzi
|
|
285
|
+else ifeq ($(HARDWARE_MOTHERBOARD),63)
|
321
|
286
|
HARDWARE_VARIANT ?= Sanguino
|
322
|
287
|
MCU ?= atmega644p
|
323
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),64)
|
|
288
|
+# Melzi with ATmega1284 (MaKr3d version)
|
|
289
|
+else ifeq ($(HARDWARE_MOTHERBOARD),66)
|
324
|
290
|
HARDWARE_VARIANT ?= Sanguino
|
325
|
291
|
MCU ?= atmega1284p
|
326
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),65)
|
|
292
|
+# Melzi Creality3D board (for CR-10 etc)
|
|
293
|
+else ifeq ($(HARDWARE_MOTHERBOARD),89)
|
327
|
294
|
HARDWARE_VARIANT ?= Sanguino
|
328
|
295
|
MCU ?= atmega1284p
|
329
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),66)
|
|
296
|
+# Melzi Malyan M150 board
|
|
297
|
+else ifeq ($(HARDWARE_MOTHERBOARD),92)
|
330
|
298
|
HARDWARE_VARIANT ?= Sanguino
|
331
|
299
|
MCU ?= atmega1284p
|
332
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),69)
|
|
300
|
+# Tronxy X5S
|
|
301
|
+else ifeq ($(HARDWARE_MOTHERBOARD),505)
|
333
|
302
|
HARDWARE_VARIANT ?= Sanguino
|
334
|
303
|
MCU ?= atmega1284p
|
335
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),89)
|
|
304
|
+# STB V1.1
|
|
305
|
+else ifeq ($(HARDWARE_MOTHERBOARD),64)
|
336
|
306
|
HARDWARE_VARIANT ?= Sanguino
|
337
|
307
|
MCU ?= atmega1284p
|
338
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),92)
|
|
308
|
+# Azteeg X1
|
|
309
|
+else ifeq ($(HARDWARE_MOTHERBOARD),65)
|
339
|
310
|
HARDWARE_VARIANT ?= Sanguino
|
340
|
311
|
MCU ?= atmega1284p
|
341
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),505)
|
|
312
|
+# Anet 1.0 (Melzi clone)
|
|
313
|
+else ifeq ($(HARDWARE_MOTHERBOARD),69)
|
342
|
314
|
HARDWARE_VARIANT ?= Sanguino
|
343
|
315
|
MCU ?= atmega1284p
|
344
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),601)
|
|
316
|
+
|
|
317
|
+#
|
|
318
|
+# Other ATmega644P, ATmega644, ATmega1284P
|
|
319
|
+#
|
|
320
|
+
|
|
321
|
+# Gen3 Monolithic Electronics
|
|
322
|
+else ifeq ($(HARDWARE_MOTHERBOARD),22)
|
|
323
|
+HARDWARE_VARIANT ?= Sanguino
|
|
324
|
+MCU ?= atmega644p
|
|
325
|
+# Gen3+
|
|
326
|
+else ifeq ($(HARDWARE_MOTHERBOARD),9)
|
345
|
327
|
HARDWARE_VARIANT ?= Sanguino
|
|
328
|
+MCU ?= atmega644p
|
|
329
|
+# Gen6
|
|
330
|
+else ifeq ($(HARDWARE_MOTHERBOARD),5)
|
|
331
|
+HARDWARE_VARIANT ?= Gen6
|
|
332
|
+MCU ?= atmega644p
|
|
333
|
+# Gen6 deluxe
|
|
334
|
+else ifeq ($(HARDWARE_MOTHERBOARD),51)
|
|
335
|
+HARDWARE_VARIANT ?= Gen6
|
|
336
|
+MCU ?= atmega644p
|
|
337
|
+# Gen7 custom (Alfons3 Version)
|
|
338
|
+else ifeq ($(HARDWARE_MOTHERBOARD),10)
|
|
339
|
+HARDWARE_VARIANT ?= Gen7
|
|
340
|
+MCU ?= atmega644
|
|
341
|
+F_CPU ?= 20000000
|
|
342
|
+# Gen7 v1.1, v1.2
|
|
343
|
+else ifeq ($(HARDWARE_MOTHERBOARD),11)
|
|
344
|
+HARDWARE_VARIANT ?= Gen7
|
|
345
|
+MCU ?= atmega644p
|
|
346
|
+F_CPU ?= 20000000
|
|
347
|
+# Gen7 v1.3
|
|
348
|
+else ifeq ($(HARDWARE_MOTHERBOARD),12)
|
|
349
|
+HARDWARE_VARIANT ?= Gen7
|
|
350
|
+MCU ?= atmega644p
|
|
351
|
+F_CPU ?= 20000000
|
|
352
|
+# Gen7 v1.4
|
|
353
|
+else ifeq ($(HARDWARE_MOTHERBOARD),13)
|
|
354
|
+HARDWARE_VARIANT ?= Gen7
|
346
|
355
|
MCU ?= atmega1284p
|
|
356
|
+F_CPU ?= 20000000
|
|
357
|
+# Alpha OMCA board
|
|
358
|
+else ifeq ($(HARDWARE_MOTHERBOARD),90)
|
|
359
|
+HARDWARE_VARIANT ?= SanguinoA
|
|
360
|
+MCU ?= atmega644
|
|
361
|
+# Final OMCA board
|
|
362
|
+else ifeq ($(HARDWARE_MOTHERBOARD),91)
|
|
363
|
+HARDWARE_VARIANT ?= Sanguino
|
|
364
|
+MCU ?= atmega644p
|
|
365
|
+# Sethi 3D_1
|
|
366
|
+else ifeq ($(HARDWARE_MOTHERBOARD),20)
|
|
367
|
+HARDWARE_VARIANT ?= Sanguino
|
|
368
|
+MCU ?= atmega644p
|
347
|
369
|
|
348
|
|
-#Ultimaker
|
349
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),7)
|
350
|
|
-HARDWARE_VARIANT ?= arduino
|
351
|
|
-MCU ?= atmega2560
|
352
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),71)
|
353
|
|
-HARDWARE_VARIANT ?= arduino
|
354
|
|
-MCU ?= atmega1280
|
355
|
|
-
|
356
|
|
-#ATmega1281, ATmega2561
|
357
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),702)
|
358
|
|
-HARDWARE_VARIANT ?= arduino
|
359
|
|
-MCU ?= atmega1281
|
360
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),25)
|
361
|
|
-HARDWARE_VARIANT ?= arduino
|
362
|
|
-MCU ?= atmega1281
|
|
370
|
+#
|
|
371
|
+# Teensyduino - AT90USB1286, AT90USB1286P
|
|
372
|
+#
|
363
|
373
|
|
364
|
|
-#Teensylu
|
365
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),8)
|
|
374
|
+# Teensylu
|
|
375
|
+else ifeq ($(HARDWARE_MOTHERBOARD),8)
|
366
|
376
|
HARDWARE_VARIANT ?= Teensy
|
367
|
377
|
MCU ?= at90usb1286
|
368
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),81)
|
|
378
|
+# Printrboard (AT90USB1286)
|
|
379
|
+else ifeq ($(HARDWARE_MOTHERBOARD),81)
|
369
|
380
|
HARDWARE_VARIANT ?= Teensy
|
370
|
381
|
MCU ?= at90usb1286
|
371
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),811)
|
|
382
|
+# Printrboard Revision F (AT90USB1286)
|
|
383
|
+else ifeq ($(HARDWARE_MOTHERBOARD),811)
|
372
|
384
|
HARDWARE_VARIANT ?= Teensy
|
373
|
385
|
MCU ?= at90usb1286
|
374
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),82)
|
|
386
|
+# Brainwave (AT90USB646)
|
|
387
|
+else ifeq ($(HARDWARE_MOTHERBOARD),82)
|
375
|
388
|
HARDWARE_VARIANT ?= Teensy
|
376
|
389
|
MCU ?= at90usb646
|
377
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),83)
|
|
390
|
+# Brainwave Pro (AT90USB1286)
|
|
391
|
+else ifeq ($(HARDWARE_MOTHERBOARD),83)
|
378
|
392
|
HARDWARE_VARIANT ?= Teensy
|
379
|
393
|
MCU ?= at90usb1286
|
380
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),84)
|
|
394
|
+# SAV Mk-I (AT90USB1286)
|
|
395
|
+else ifeq ($(HARDWARE_MOTHERBOARD),84)
|
381
|
396
|
HARDWARE_VARIANT ?= Teensy
|
382
|
397
|
MCU ?= at90usb1286
|
383
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),88)
|
|
398
|
+# Teensy++2.0 (AT90USB1286)
|
|
399
|
+else ifeq ($(HARDWARE_MOTHERBOARD),85)
|
|
400
|
+HARDWARE_VARIANT ?= Teensy
|
|
401
|
+MCU ?= at90usb1286
|
|
402
|
+# 5DPrint D8 Driver Board
|
|
403
|
+else ifeq ($(HARDWARE_MOTHERBOARD),88)
|
384
|
404
|
HARDWARE_VARIANT ?= Teensy
|
385
|
405
|
MCU ?= at90usb1286
|
386
|
|
-
|
387
|
|
-#Gen3+
|
388
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),9)
|
389
|
|
-HARDWARE_VARIANT ?= Sanguino
|
390
|
|
-MCU ?= atmega644p
|
391
|
|
-
|
392
|
|
-#Gen3 Monolithic Electronics
|
393
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),22)
|
394
|
|
-HARDWARE_VARIANT ?= Sanguino
|
395
|
|
-MCU ?= atmega644p
|
396
|
|
-
|
397
|
|
-#Megatronics
|
398
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),70)
|
399
|
|
-HARDWARE_VARIANT ?= arduino
|
400
|
|
-MCU ?= atmega2560
|
401
|
|
-
|
402
|
|
-#Alpha OMCA board
|
403
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),90)
|
404
|
|
-HARDWARE_VARIANT ?= SanguinoA
|
405
|
|
-MCU ?= atmega644
|
406
|
|
-
|
407
|
|
-#Final OMCA board
|
408
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),91)
|
409
|
|
-HARDWARE_VARIANT ?= Sanguino
|
410
|
|
-MCU ?= atmega644p
|
411
|
|
-
|
412
|
|
-#Sethi 3D_1
|
413
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),20)
|
414
|
|
-HARDWARE_VARIANT ?= Sanguino
|
415
|
|
-MCU ?= atmega644p
|
416
|
|
-
|
417
|
|
-#Rambo
|
418
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),301)
|
419
|
|
-HARDWARE_VARIANT ?= arduino
|
420
|
|
-MCU ?= atmega2560
|
421
|
|
-
|
422
|
|
-#Azteeg
|
423
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),67)
|
424
|
|
-HARDWARE_VARIANT ?= arduino
|
425
|
|
-MCU ?= atmega2560
|
426
|
|
-else ifeq ($(HARDWARE_MOTHERBOARD),68)
|
427
|
|
-HARDWARE_VARIANT ?= arduino
|
428
|
|
-MCU ?= atmega2560
|
429
|
406
|
|
430
|
407
|
endif
|
431
|
408
|
|
|
@@ -434,6 +411,10 @@ endif
|
434
|
411
|
# Set to 16Mhz if not yet set.
|
435
|
412
|
F_CPU ?= 16000000
|
436
|
413
|
|
|
414
|
+# Set to arduino, ATmega2560 if not yet set.
|
|
415
|
+HARDWARE_VARIANT ?= arduino
|
|
416
|
+MCU ?= atmega2560
|
|
417
|
+
|
437
|
418
|
# Arduino contained the main source code for the Arduino
|
438
|
419
|
# Libraries, the "hardware variant" are for boards
|
439
|
420
|
# that derives from that, and their source are present in
|