|
@@ -1,71 +1,53 @@
|
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
|
|
-#include "src/inc/MarlinConfig.h"
|
24
|
|
-
|
25
|
|
-#if ENABLED(ULTRA_LCD)
|
26
|
|
- #if ENABLED(LCD_I2C_TYPE_PCF8575)
|
27
|
|
- #include <Wire.h>
|
28
|
|
- #include <LiquidCrystal_I2C.h>
|
29
|
|
- #elif ENABLED(LCD_I2C_TYPE_MCP23017) || ENABLED(LCD_I2C_TYPE_MCP23008)
|
30
|
|
- #include <Wire.h>
|
31
|
|
- #include <LiquidTWI2.h>
|
32
|
|
- #elif ENABLED(LCM1602)
|
33
|
|
- #include <Wire.h>
|
34
|
|
- #include <LCD.h>
|
35
|
|
- #include <LiquidCrystal_I2C.h>
|
36
|
|
- #elif ENABLED(DOGLCD)
|
37
|
|
- #include <U8glib.h> // library for graphics LCD by Oli Kraus (https://github.com/olikraus/U8glib_Arduino)
|
38
|
|
- #else
|
39
|
|
- #include <LiquidCrystal.h> // library for character LCD
|
40
|
|
- #endif
|
41
|
|
-#endif
|
42
|
|
-
|
43
|
|
-#if HAS_DIGIPOTSS
|
44
|
|
- #include <SPI.h>
|
45
|
|
-#endif
|
46
|
|
-
|
47
|
|
-#if ENABLED(DIGIPOT_I2C)
|
48
|
|
- #include <Wire.h>
|
49
|
|
-#endif
|
50
|
|
-
|
51
|
|
-#if ENABLED(HAVE_TMCDRIVER)
|
52
|
|
- #include <SPI.h>
|
53
|
|
- #ifdef STM32F7
|
54
|
|
- #include "src/HAL/HAL_STM32F7/TMC2660.h"
|
55
|
|
- #else
|
56
|
|
- #include <TMC26XStepper.h>
|
57
|
|
- #endif
|
58
|
|
-#endif
|
59
|
|
-
|
60
|
|
-#if ENABLED(HAVE_TMC2130)
|
61
|
|
- #include <TMC2130Stepper.h>
|
62
|
|
-#endif
|
63
|
|
-
|
64
|
|
-#if ENABLED(HAVE_TMC2208)
|
65
|
|
- #include <TMC2208Stepper.h>
|
66
|
|
-#endif
|
67
|
|
-
|
68
|
|
-#if ENABLED(HAVE_L6470DRIVER)
|
69
|
|
- #include <SPI.h>
|
70
|
|
- #include <L6470.h>
|
71
|
|
-#endif
|
|
1
|
+/*
|
|
2
|
+================================================================================
|
|
3
|
+
|
|
4
|
+ Marlin Firmware
|
|
5
|
+
|
|
6
|
+ (c) 2011-2018 MarlinFirmware
|
|
7
|
+ Portions of Marlin are (c) by their respective authors.
|
|
8
|
+ All code complies with GPLv2 and/or GPLv3
|
|
9
|
+
|
|
10
|
+================================================================================
|
|
11
|
+
|
|
12
|
+Greetings! Thank you for choosing Marlin 2 as your 3D printer firmware.
|
|
13
|
+
|
|
14
|
+To configure Marlin you must edit Configuration.h and Configuration_adv.h
|
|
15
|
+located in the root 'Marlin' folder. Check the config/examples folder to see if
|
|
16
|
+there's a more suitable starting-point for your specific hardware.
|
|
17
|
+
|
|
18
|
+Before diving in, we recommend the following essential links:
|
|
19
|
+
|
|
20
|
+Marlin Firmware Official Website
|
|
21
|
+
|
|
22
|
+ - http://marlinfw.org/
|
|
23
|
+ The official Marlin Firmware website contains the most up-to-date
|
|
24
|
+ documentation. Contributions are always welcome!
|
|
25
|
+
|
|
26
|
+Configuration
|
|
27
|
+
|
|
28
|
+ - https://www.youtube.com/watch?v=3gwWVFtdg-4
|
|
29
|
+ A good 20-minute overview of Marlin configuration by Tom Sanladerer.
|
|
30
|
+ (Applies to Marlin 1.0.x, so Jerk and Acceleration should be halved.)
|
|
31
|
+ Also... https://www.google.com/search?tbs=vid%3A1&q=configure+marlin
|
|
32
|
+
|
|
33
|
+ - http://marlinfw.org/docs/configuration/configuration.html
|
|
34
|
+ Marlin's configuration options are explained in more detail here.
|
|
35
|
+
|
|
36
|
+Getting Help
|
|
37
|
+
|
|
38
|
+ - http://forums.reprap.org/list.php?415
|
|
39
|
+ The Marlin Discussion Forum is a great place to get help from other Marlin
|
|
40
|
+ users who may have experienced similar issues to your own.
|
|
41
|
+
|
|
42
|
+ - https://github.com/MarlinFirmware/Marlin/issues
|
|
43
|
+ With a free GitHub account you can provide us with feedback, bug reports,
|
|
44
|
+ and feature requests via the Marlin Issue Queue.
|
|
45
|
+
|
|
46
|
+Contributing
|
|
47
|
+
|
|
48
|
+ - http://marlinfw.org/docs/development/contributing.html
|
|
49
|
+ If you'd like to contribute to Marlin, read this first!
|
|
50
|
+
|
|
51
|
+ - http://marlinfw.org/docs/development/coding_standards.html
|
|
52
|
+ Before submitting code get to know the Coding Standards.
|
|
53
|
+*/
|