Преглед изворни кода

Full-featured Creality configs

Scott Lahteine пре 6 година
родитељ
комит
c1cc79176c

+ 13
- 15
Marlin/example_configurations/Creality/CR-10/Configuration.h Прегледај датотеку

@@ -77,7 +77,7 @@
77 77
 #define STRING_CONFIG_H_AUTHOR "(Creality CR-10)" // Who made the changes.
78 78
 #define SHOW_BOOTSCREEN
79 79
 #define STRING_SPLASH_LINE1 SHORT_BUILD_VERSION // will be shown during bootup in line 1
80
-//#define STRING_SPLASH_LINE2 WEBSITE_URL         // will be shown during bootup in line 2
80
+#define STRING_SPLASH_LINE2 WEBSITE_URL         // will be shown during bootup in line 2
81 81
 
82 82
 //
83 83
 // *** VENDORS PLEASE READ *****************************************************
@@ -90,7 +90,7 @@
90 90
 // boot image unmodified. For an example have a look at the bq Hephestos 2
91 91
 // example configuration folder.
92 92
 //
93
-//#define SHOW_CUSTOM_BOOTSCREEN
93
+#define SHOW_CUSTOM_BOOTSCREEN
94 94
 // @section machine
95 95
 
96 96
 /**
@@ -702,7 +702,7 @@
702 702
 #define Z_PROBE_SPEED_SLOW (Z_PROBE_SPEED_FAST / 2)
703 703
 
704 704
 // Use double touch for probing
705
-#define PROBE_DOUBLE_TOUCH
705
+//#define PROBE_DOUBLE_TOUCH
706 706
 
707 707
 /**
708 708
  * Z probes require clearance when deploying, stowing, and moving between
@@ -788,7 +788,7 @@
788 788
 #define X_MIN_POS 0
789 789
 #define Y_MIN_POS 0
790 790
 #define Z_MIN_POS 0
791
-#define X_MAX_POS X_BED_SIZE
791
+#define X_MAX_POS X_BED_SIZE + 20
792 792
 #define Y_MAX_POS Y_BED_SIZE
793 793
 #define Z_MAX_POS 400
794 794
 
@@ -939,7 +939,7 @@
939 939
   #define UBL_PROBE_PT_3_X 180
940 940
   #define UBL_PROBE_PT_3_Y 20
941 941
 
942
-  #define UBL_G26_MESH_VALIDATION   // Enable G26 mesh validation
942
+  //#define UBL_G26_MESH_VALIDATION // Enable G26 mesh validation
943 943
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
944 944
 
945 945
 #elif ENABLED(MESH_BED_LEVELING)
@@ -968,7 +968,7 @@
968 968
 #endif
969 969
 
970 970
 // Add a menu item to move between bed corners for manual bed adjustment
971
-//#define LEVEL_BED_CORNERS
971
+#define LEVEL_BED_CORNERS
972 972
 
973 973
 /**
974 974
  * Commands to execute at the end of G29 probing.
@@ -996,6 +996,7 @@
996 996
 // - If stepper drivers time out, it will need X and Y homing again before Z homing.
997 997
 // - Move the Z probe (or nozzle) to a defined XY point before Z Homing when homing all axes (G28).
998 998
 // - Prevent Z homing when the Z probe is outside bed area.
999
+//
999 1000
 //#define Z_SAFE_HOMING
1000 1001
 
1001 1002
 #if ENABLED(Z_SAFE_HOMING)
@@ -1020,13 +1021,10 @@
1020 1021
 // M500 - stores parameters in EEPROM
1021 1022
 // M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
1022 1023
 // M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
1023
-// Define this to enable EEPROM support
1024
-#define EEPROM_SETTINGS
1025
-
1026
-#if ENABLED(EEPROM_SETTINGS)
1027
-  //#define DISABLE_M503  // Saves ~2700 bytes of PROGMEM. Disable for release!
1028
-  #define EEPROM_CHITCHAT // Print a report on M500. Please keep turned on.
1029
-#endif
1024
+//
1025
+#define EEPROM_SETTINGS // Enable for M500 and M501 commands
1026
+//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
1027
+#define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
1030 1028
 
1031 1029
 //
1032 1030
 // Host Keepalive
@@ -1056,7 +1054,7 @@
1056 1054
 // @section temperature
1057 1055
 
1058 1056
 // Preheat Constants
1059
-#define PREHEAT_1_TEMP_HOTEND 200
1057
+#define PREHEAT_1_TEMP_HOTEND 190
1060 1058
 #define PREHEAT_1_TEMP_BED     70
1061 1059
 #define PREHEAT_1_FAN_SPEED     0 // Value from 0 to 255
1062 1060
 
@@ -1159,7 +1157,7 @@
1159 1157
  *   M76 - Pause the print job timer
1160 1158
  *   M77 - Stop the print job timer
1161 1159
  */
1162
-//#define PRINTJOB_TIMER_AUTOSTART
1160
+#define PRINTJOB_TIMER_AUTOSTART
1163 1161
 
1164 1162
 /**
1165 1163
  * Print Counter

+ 1415
- 0
Marlin/example_configurations/Creality/CR-10/Configuration_adv.h
Разлика између датотеке није приказан због своје велике величине
Прегледај датотеку


+ 100
- 0
Marlin/example_configurations/Creality/CR-10/_Bootscreen.h Прегледај датотеку

@@ -0,0 +1,100 @@
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
+ * Tongue-in-cheek placeholder for a more Marlin-specific bitmap
25
+ * The joke is that every "CR-10" has different branding!
26
+ * Made using The Gimp and...
27
+ *  - http://www.digole.com/tools/PicturetoC_Hex_converter.php
28
+ */
29
+#include <avr/pgmspace.h>
30
+
31
+#define CUSTOM_BOOTSCREEN_TIMEOUT   2500
32
+#define CUSTOM_BOOTSCREEN_BMPWIDTH  54
33
+#define CUSTOM_BOOTSCREEN_BMPHEIGHT 64
34
+
35
+const unsigned char custom_start_bmp[] PROGMEM = {
36
+  0x00, 0x00, 0x00, 0x01, 0xE0, 0x00, 0x00,
37
+  0x00, 0x00, 0x00, 0x3F, 0xF8, 0x00, 0x00,
38
+  0x00, 0x00, 0x03, 0xFF, 0xFC, 0x00, 0x00,
39
+  0x00, 0x00, 0x0F, 0xFF, 0xFC, 0x00, 0x00,
40
+  0x00, 0x00, 0x3F, 0xFF, 0xFC, 0x00, 0x00,
41
+  0x00, 0x00, 0x7F, 0xFF, 0xFC, 0x00, 0x00,
42
+  0x00, 0x00, 0x7F, 0xFF, 0xFC, 0x00, 0x00,
43
+  0x00, 0x00, 0xFF, 0xFF, 0xFC, 0x00, 0x00,
44
+  0x00, 0x00, 0xFF, 0xFF, 0xFC, 0x00, 0x00,
45
+  0x00, 0x00, 0xFF, 0xFF, 0xFC, 0x00, 0x00,
46
+  0x00, 0x00, 0xFF, 0xFF, 0xFC, 0x0F, 0xF0,
47
+  0x00, 0x00, 0xFF, 0xFF, 0xFD, 0xFF, 0xF8,
48
+  0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFC,
49
+  0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFC,
50
+  0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFC,
51
+  0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFC,
52
+  0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFC,
53
+  0x00, 0x1F, 0xFF, 0xFF, 0xFF, 0xFF, 0xF8,
54
+  0x01, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xF0,
55
+  0x07, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xC0,
56
+  0x1F, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00,
57
+  0x7F, 0xFF, 0xFF, 0xFF, 0xFF, 0xC0, 0x00,
58
+  0x7F, 0xFF, 0xFF, 0xFF, 0xFC, 0x00, 0x00,
59
+  0xFF, 0xFF, 0xFF, 0xFF, 0xFC, 0x00, 0x00,
60
+  0xFF, 0xFF, 0xFF, 0xFF, 0xFC, 0x00, 0x00,
61
+  0xFF, 0xFF, 0xFF, 0xFF, 0xFC, 0x00, 0x00,
62
+  0xFF, 0xFF, 0xFF, 0xFF, 0xFC, 0x00, 0x00,
63
+  0x7F, 0xFC, 0xFF, 0xFF, 0xFC, 0x00, 0x00,
64
+  0x1F, 0x80, 0xFF, 0xFF, 0xFC, 0x00, 0x00,
65
+  0x00, 0x00, 0xFF, 0xFF, 0xFC, 0x00, 0x00,
66
+  0x00, 0x00, 0xFF, 0xFF, 0xFC, 0x00, 0x00,
67
+  0x00, 0x00, 0xFF, 0xFF, 0xFC, 0x00, 0x00,
68
+  0x00, 0x00, 0xFF, 0xFF, 0xFC, 0x00, 0x00,
69
+  0x00, 0x00, 0xFF, 0xFF, 0xFC, 0x00, 0x00,
70
+  0x00, 0x00, 0xFF, 0xFF, 0xFC, 0x00, 0x00,
71
+  0x00, 0x00, 0xFF, 0xFF, 0xFC, 0x00, 0x00,
72
+  0x00, 0x00, 0xFF, 0xFF, 0xFC, 0x00, 0x00,
73
+  0x00, 0x00, 0xFF, 0xFF, 0xFC, 0x00, 0x00,
74
+  0x00, 0x00, 0xFF, 0xFF, 0xFC, 0x00, 0x00,
75
+  0x00, 0x00, 0xFF, 0xFF, 0xFC, 0x00, 0x00,
76
+  0x00, 0x00, 0xFF, 0xFF, 0xFC, 0x00, 0x00,
77
+  0x00, 0x00, 0xFF, 0xFF, 0xFC, 0x00, 0x00,
78
+  0x00, 0x00, 0xFF, 0xFF, 0xFC, 0x00, 0x00,
79
+  0x00, 0x00, 0xFF, 0xFF, 0xFC, 0x00, 0x00,
80
+  0x00, 0x00, 0xFF, 0xFF, 0xFC, 0x00, 0x00,
81
+  0x00, 0x00, 0xFF, 0xFF, 0xFC, 0x00, 0x00,
82
+  0x00, 0x00, 0xFF, 0xFF, 0xFC, 0x00, 0x00,
83
+  0x00, 0x00, 0xFF, 0xFF, 0xFC, 0x00, 0x00,
84
+  0x00, 0x00, 0xFF, 0xFF, 0xFC, 0x00, 0x00,
85
+  0x00, 0x00, 0xFF, 0xFF, 0xFC, 0x00, 0x00,
86
+  0x00, 0x00, 0xFF, 0xFF, 0xFE, 0x3F, 0xF8,
87
+  0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFC,
88
+  0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFC,
89
+  0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFC,
90
+  0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFC,
91
+  0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFC,
92
+  0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xF8,
93
+  0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xF8,
94
+  0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xE0,
95
+  0x00, 0x00, 0x7F, 0xFF, 0xFF, 0xFF, 0xC0,
96
+  0x00, 0x00, 0x3F, 0xFF, 0xFF, 0xFE, 0x00,
97
+  0x00, 0x00, 0x1F, 0xFF, 0xFF, 0xE0, 0x00,
98
+  0x00, 0x00, 0x07, 0xFF, 0xFC, 0x00, 0x00,
99
+  0x00, 0x00, 0x00, 0x3F, 0x00, 0x00, 0x00
100
+};

Loading…
Откажи
Сачувај