|
@@ -31,80 +31,20 @@
|
31
|
31
|
* - http://reprap.org/pipermail/reprap-dev/2011-May/003323.html
|
32
|
32
|
*/
|
33
|
33
|
|
34
|
|
-#include "Marlin.h"
|
35
|
|
-
|
36
|
|
-#include "ultralcd.h"
|
37
|
|
-#include "planner.h"
|
38
|
|
-#include "stepper.h"
|
39
|
|
-#include "endstops.h"
|
40
|
|
-#include "temperature.h"
|
41
|
|
-#include "cardreader.h"
|
42
|
|
-#include "configuration_store.h"
|
43
|
|
-#include "language.h"
|
44
|
|
-#include "pins_arduino.h"
|
45
|
|
-#include "math.h"
|
46
|
|
-#include "nozzle.h"
|
47
|
|
-#include "duration_t.h"
|
48
|
|
-#include "types.h"
|
49
|
|
-
|
50
|
|
-#if HAS_ABL
|
51
|
|
- #include "vector_3.h"
|
52
|
|
- #if ENABLED(AUTO_BED_LEVELING_LINEAR)
|
53
|
|
- #include "qr_solve.h"
|
54
|
|
- #endif
|
55
|
|
-#elif ENABLED(MESH_BED_LEVELING)
|
56
|
|
- #include "mesh_bed_leveling.h"
|
57
|
|
-#endif
|
58
|
|
-
|
59
|
|
-#if ENABLED(BEZIER_CURVE_SUPPORT)
|
60
|
|
- #include "planner_bezier.h"
|
61
|
|
-#endif
|
62
|
|
-
|
63
|
|
-#if HAS_BUZZER && DISABLED(LCD_USE_I2C_BUZZER)
|
64
|
|
- #include "buzzer.h"
|
65
|
|
-#endif
|
66
|
|
-
|
67
|
|
-#if ENABLED(USE_WATCHDOG)
|
68
|
|
- #include "watchdog.h"
|
69
|
|
-#endif
|
70
|
|
-
|
71
|
|
-#if ENABLED(BLINKM)
|
72
|
|
- #include "blinkm.h"
|
73
|
|
- #include "Wire.h"
|
74
|
|
-#endif
|
75
|
|
-
|
76
|
|
-#if HAS_SERVOS
|
77
|
|
- #include "servo.h"
|
78
|
|
-#endif
|
79
|
|
-
|
80
|
|
-#if HAS_DIGIPOTSS
|
81
|
|
- #include <SPI.h>
|
82
|
|
-#endif
|
83
|
|
-
|
84
|
|
-#if ENABLED(DAC_STEPPER_CURRENT)
|
85
|
|
- #include "stepper_dac.h"
|
86
|
|
-#endif
|
87
|
|
-
|
88
|
|
-#if ENABLED(EXPERIMENTAL_I2CBUS)
|
89
|
|
- #include "twibus.h"
|
90
|
|
-#endif
|
91
|
|
-
|
92
|
|
-#if ENABLED(ENDSTOP_INTERRUPTS_FEATURE)
|
93
|
|
- #include "endstop_interrupts.h"
|
94
|
|
-#endif
|
95
|
|
-
|
96
|
34
|
/**
|
97
|
|
- * Look here for descriptions of G-codes:
|
|
35
|
+ * -----------------
|
|
36
|
+ * G-Codes in Marlin
|
|
37
|
+ * -----------------
|
|
38
|
+ *
|
|
39
|
+ * Helpful G-code references:
|
98
|
40
|
* - http://linuxcnc.org/handbook/gcode/g-code.html
|
99
|
41
|
* - http://objects.reprap.org/wiki/Mendel_User_Manual:_RepRapGCodes
|
100
|
42
|
*
|
101
|
|
- * Help us document these G-codes online:
|
102
|
|
- * - https://github.com/MarlinFirmware/Marlin/wiki/G-Code-in-Marlin
|
|
43
|
+ * Help to document Marlin's G-codes online:
|
103
|
44
|
* - http://reprap.org/wiki/G-code
|
|
45
|
+ * - https://github.com/MarlinFirmware/MarlinDocumentation
|
104
|
46
|
*
|
105
|
47
|
* -----------------
|
106
|
|
- * Implemented Codes
|
107
|
|
- * -----------------
|
108
|
48
|
*
|
109
|
49
|
* "G" Codes
|
110
|
50
|
*
|
|
@@ -277,6 +217,68 @@
|
277
|
217
|
*
|
278
|
218
|
*/
|
279
|
219
|
|
|
220
|
+#include "Marlin.h"
|
|
221
|
+
|
|
222
|
+#include "ultralcd.h"
|
|
223
|
+#include "planner.h"
|
|
224
|
+#include "stepper.h"
|
|
225
|
+#include "endstops.h"
|
|
226
|
+#include "temperature.h"
|
|
227
|
+#include "cardreader.h"
|
|
228
|
+#include "configuration_store.h"
|
|
229
|
+#include "language.h"
|
|
230
|
+#include "pins_arduino.h"
|
|
231
|
+#include "math.h"
|
|
232
|
+#include "nozzle.h"
|
|
233
|
+#include "duration_t.h"
|
|
234
|
+#include "types.h"
|
|
235
|
+
|
|
236
|
+#if HAS_ABL
|
|
237
|
+ #include "vector_3.h"
|
|
238
|
+ #if ENABLED(AUTO_BED_LEVELING_LINEAR)
|
|
239
|
+ #include "qr_solve.h"
|
|
240
|
+ #endif
|
|
241
|
+#elif ENABLED(MESH_BED_LEVELING)
|
|
242
|
+ #include "mesh_bed_leveling.h"
|
|
243
|
+#endif
|
|
244
|
+
|
|
245
|
+#if ENABLED(BEZIER_CURVE_SUPPORT)
|
|
246
|
+ #include "planner_bezier.h"
|
|
247
|
+#endif
|
|
248
|
+
|
|
249
|
+#if HAS_BUZZER && DISABLED(LCD_USE_I2C_BUZZER)
|
|
250
|
+ #include "buzzer.h"
|
|
251
|
+#endif
|
|
252
|
+
|
|
253
|
+#if ENABLED(USE_WATCHDOG)
|
|
254
|
+ #include "watchdog.h"
|
|
255
|
+#endif
|
|
256
|
+
|
|
257
|
+#if ENABLED(BLINKM)
|
|
258
|
+ #include "blinkm.h"
|
|
259
|
+ #include "Wire.h"
|
|
260
|
+#endif
|
|
261
|
+
|
|
262
|
+#if HAS_SERVOS
|
|
263
|
+ #include "servo.h"
|
|
264
|
+#endif
|
|
265
|
+
|
|
266
|
+#if HAS_DIGIPOTSS
|
|
267
|
+ #include <SPI.h>
|
|
268
|
+#endif
|
|
269
|
+
|
|
270
|
+#if ENABLED(DAC_STEPPER_CURRENT)
|
|
271
|
+ #include "stepper_dac.h"
|
|
272
|
+#endif
|
|
273
|
+
|
|
274
|
+#if ENABLED(EXPERIMENTAL_I2CBUS)
|
|
275
|
+ #include "twibus.h"
|
|
276
|
+#endif
|
|
277
|
+
|
|
278
|
+#if ENABLED(ENDSTOP_INTERRUPTS_FEATURE)
|
|
279
|
+ #include "endstop_interrupts.h"
|
|
280
|
+#endif
|
|
281
|
+
|
280
|
282
|
#if ENABLED(M100_FREE_MEMORY_WATCHER)
|
281
|
283
|
void gcode_M100();
|
282
|
284
|
#endif
|