Browse Source

Adds custom boot logos for bq Hephestos 2 and Cartesio

João Brázio 8 years ago
parent
commit
1f3283e3a5

+ 2
- 2
Marlin/example_configurations/Cartesio/Configuration.h View File

@@ -111,9 +111,9 @@
111 111
 // boot image unmodified. For an example have a look at the bq Hephestos 2
112 112
 // example configuration folder.
113 113
 //
114
-//#define SHOW_CUSTOM_BOOTSCREEN
114
+#define SHOW_CUSTOM_BOOTSCREEN
115 115
 #if ENABLED(SHOW_BOOTSCREEN) && ENABLED(SHOW_CUSTOM_BOOTSCREEN)
116
-  #include "_bootscreen.h"
116
+  #include "_Bootscreen.h"
117 117
 #endif
118 118
 
119 119
 // @section machine

+ 95
- 0
Marlin/example_configurations/Cartesio/_Bootscreen.h View File

@@ -0,0 +1,95 @@
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
+#include <avr/pgmspace.h>
23
+
24
+#if ENABLED(SHOW_BOOTSCREEN) && ENABLED(SHOW_CUSTOM_BOOTSCREEN)
25
+  #define CUSTOM_BOOTSCREEN_TIMEOUT   2500
26
+  #define CUSTOM_BOOTSCREEN_BMPWIDTH  63
27
+  #define CUSTOM_BOOTSCREEN_BMPHEIGHT 64
28
+
29
+  const unsigned char 81x0i84fkcmoqbu7vte29[512] PROGMEM = {
30
+    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
31
+    0x00, 0x00, 0x00, 0x07, 0xc0, 0x00, 0x00, 0x00,
32
+    0x00, 0x00, 0x00, 0x3f, 0xfc, 0x00, 0x00, 0x00,
33
+    0x00, 0x00, 0x03, 0xff, 0xff, 0xc0, 0x00, 0x00,
34
+    0x00, 0x00, 0x1f, 0xff, 0xff, 0xf0, 0x00, 0x00,
35
+    0x00, 0x00, 0x7f, 0xff, 0xff, 0xfc, 0x00, 0x00,
36
+    0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00,
37
+    0x00, 0x03, 0xff, 0xff, 0xff, 0xff, 0x80, 0x00,
38
+    0x00, 0x07, 0xff, 0xff, 0xff, 0xff, 0xc0, 0x00,
39
+    0x00, 0x00, 0x00, 0x07, 0xc0, 0x00, 0x00, 0x00,
40
+    0x00, 0x00, 0x00, 0x07, 0xc0, 0x00, 0x00, 0x00,
41
+    0x00, 0x00, 0x00, 0x07, 0xc0, 0x00, 0x00, 0x00,
42
+    0x00, 0x0f, 0x07, 0x87, 0xff, 0xff, 0xe0, 0x00,
43
+    0x00, 0x1f, 0x8f, 0xc7, 0xff, 0xff, 0xf1, 0x00,
44
+    0x01, 0x1f, 0x8f, 0xc7, 0xff, 0xff, 0xf1, 0x80,
45
+    0x03, 0x1f, 0x8f, 0xc7, 0xff, 0xff, 0xf1, 0x80,
46
+    0x07, 0x1f, 0x8f, 0xc7, 0xff, 0xff, 0xe1, 0xc0,
47
+    0x07, 0x1f, 0x8f, 0xc7, 0xc0, 0x00, 0x01, 0xe0,
48
+    0x0f, 0x1f, 0x8f, 0xc7, 0xc0, 0x00, 0x01, 0xe0,
49
+    0x0f, 0x1f, 0x8f, 0xc7, 0xc0, 0x00, 0x01, 0xf0,
50
+    0x1f, 0x1f, 0x8f, 0xc7, 0xc0, 0x00, 0x01, 0xf0,
51
+    0x1f, 0x1f, 0x8f, 0xc7, 0xff, 0xff, 0xe1, 0xf0,
52
+    0x3f, 0x1f, 0x8f, 0xc7, 0xff, 0xff, 0xf1, 0xf8,
53
+    0x3f, 0x1f, 0x8f, 0xc7, 0xff, 0xff, 0xf1, 0xf8,
54
+    0x3f, 0x1f, 0x8f, 0xc7, 0xff, 0xff, 0xf1, 0xf8,
55
+    0x3f, 0x1f, 0x8f, 0xc7, 0xff, 0xff, 0xe1, 0xf8,
56
+    0x7f, 0x1f, 0x8f, 0xc7, 0xc0, 0x00, 0x01, 0xfc,
57
+    0x7f, 0x1f, 0x8f, 0xc7, 0xc0, 0x00, 0x01, 0xfc,
58
+    0x7f, 0x1f, 0x8f, 0xc7, 0xc0, 0x00, 0x01, 0xfc,
59
+    0x7f, 0x1f, 0x8f, 0xc7, 0xc0, 0x00, 0x01, 0xfc,
60
+    0x7f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfc,
61
+    0x7f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfc,
62
+    0x7f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfc,
63
+    0x7f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfc,
64
+    0x7f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfc,
65
+    0x7f, 0x00, 0x00, 0x07, 0xc7, 0xe3, 0xf1, 0xfc,
66
+    0x7f, 0x00, 0x00, 0x07, 0xc7, 0xe3, 0xf1, 0xfc,
67
+    0x7f, 0x00, 0x00, 0x07, 0xc7, 0xe3, 0xf1, 0xfc,
68
+    0x3f, 0x0f, 0xff, 0xff, 0xc7, 0xe3, 0xf1, 0xf8,
69
+    0x3f, 0x1f, 0xff, 0xff, 0xc7, 0xe3, 0xf1, 0xf8,
70
+    0x3f, 0x1f, 0xff, 0xff, 0xc7, 0xe3, 0xf1, 0xf8,
71
+    0x3f, 0x1f, 0xff, 0xff, 0xc7, 0xe3, 0xf1, 0xf8,
72
+    0x1f, 0x1f, 0xff, 0xff, 0xc7, 0xe3, 0xf1, 0xf0,
73
+    0x1f, 0x0f, 0xff, 0xff, 0xc7, 0xe3, 0xf1, 0xf0,
74
+    0x1f, 0x00, 0x00, 0x07, 0xc7, 0xe3, 0xf1, 0xe0,
75
+    0x0f, 0x00, 0x00, 0x07, 0xc7, 0xe3, 0xf1, 0xe0,
76
+    0x0f, 0x00, 0x00, 0x07, 0xc7, 0xe3, 0xf1, 0xc0,
77
+    0x07, 0x0f, 0xff, 0xff, 0xc7, 0xe3, 0xf1, 0xc0,
78
+    0x03, 0x1f, 0xff, 0xff, 0xc7, 0xe3, 0xf1, 0x80,
79
+    0x03, 0x1f, 0xff, 0xff, 0xc7, 0xe3, 0xf1, 0x00,
80
+    0x01, 0x1f, 0xff, 0xff, 0xc7, 0xe3, 0xf0, 0x00,
81
+    0x00, 0x1f, 0xff, 0xff, 0xc7, 0xe3, 0xf0, 0x00,
82
+    0x00, 0x0f, 0xff, 0xff, 0xc3, 0xc1, 0xe0, 0x00,
83
+    0x00, 0x00, 0x00, 0x07, 0xc0, 0x00, 0x00, 0x00,
84
+    0x00, 0x00, 0x00, 0x07, 0xc0, 0x00, 0x00, 0x00,
85
+    0x00, 0x00, 0x00, 0x07, 0xc0, 0x00, 0x00, 0x00,
86
+    0x00, 0x07, 0xff, 0xff, 0xff, 0xff, 0xc0, 0x00,
87
+    0x00, 0x03, 0xff, 0xff, 0xff, 0xff, 0x80, 0x00,
88
+    0x00, 0x01, 0xff, 0xff, 0xff, 0xfe, 0x00, 0x00,
89
+    0x00, 0x00, 0x7f, 0xff, 0xff, 0xfc, 0x00, 0x00,
90
+    0x00, 0x00, 0x1f, 0xff, 0xff, 0xf0, 0x00, 0x00,
91
+    0x00, 0x00, 0x07, 0xff, 0xff, 0x80, 0x00, 0x00,
92
+    0x00, 0x00, 0x00, 0x7f, 0xf8, 0x00, 0x00, 0x00,
93
+    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
94
+  };
95
+#endif

+ 2
- 2
Marlin/example_configurations/Hephestos_2/Configuration.h View File

@@ -111,9 +111,9 @@
111 111
 // boot image unmodified. For an example have a look at the bq Hephestos 2
112 112
 // example configuration folder.
113 113
 //
114
-//#define SHOW_CUSTOM_BOOTSCREEN
114
+#define SHOW_CUSTOM_BOOTSCREEN
115 115
 #if ENABLED(SHOW_BOOTSCREEN) && ENABLED(SHOW_CUSTOM_BOOTSCREEN)
116
-  #include "_bootscreen.h"
116
+  #include "_Bootscreen.h"
117 117
 #endif
118 118
 
119 119
 // @section machine

+ 95
- 0
Marlin/example_configurations/Hephestos_2/_Bootscreen.h View File

@@ -0,0 +1,95 @@
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
+#include <avr/pgmspace.h>
23
+
24
+#if ENABLED(SHOW_BOOTSCREEN) && ENABLED(SHOW_CUSTOM_BOOTSCREEN)
25
+  #define CUSTOM_BOOTSCREEN_TIMEOUT   2500
26
+  #define CUSTOM_BOOTSCREEN_BMPWIDTH  62
27
+  #define CUSTOM_BOOTSCREEN_BMPHEIGHT 64
28
+
29
+  const unsigned char custom_start_bmp[512] PROGMEM = {
30
+    0x00, 0x00, 0x00, 0x0f, 0xf0, 0x00, 0x00, 0x00,
31
+    0x00, 0x00, 0x00, 0x1f, 0xf8, 0x00, 0x00, 0x00,
32
+    0x00, 0x00, 0x00, 0x1f, 0xf8, 0x00, 0x00, 0x00,
33
+    0x00, 0x00, 0x00, 0x1f, 0xf8, 0x00, 0x00, 0x00,
34
+    0x00, 0x00, 0x00, 0x1f, 0xf8, 0x00, 0x00, 0x00,
35
+    0x00, 0x00, 0x00, 0x1f, 0xf8, 0x00, 0x00, 0x00,
36
+    0x00, 0x03, 0xc0, 0x0f, 0xf0, 0x07, 0x80, 0x00,
37
+    0x00, 0x07, 0xe0, 0x07, 0xe0, 0x0f, 0xc0, 0x00,
38
+    0x00, 0x0f, 0xf0, 0x03, 0xc0, 0x1f, 0xe0, 0x00,
39
+    0x00, 0x1f, 0xf8, 0x00, 0x00, 0x3f, 0xf0, 0x00,
40
+    0x00, 0x1f, 0xf8, 0x00, 0x00, 0x3f, 0xf0, 0x00,
41
+    0x00, 0x1f, 0xf8, 0x00, 0x00, 0x3f, 0xf0, 0x00,
42
+    0x00, 0x1f, 0xf8, 0x00, 0x00, 0x3f, 0xf0, 0x00,
43
+    0x00, 0x1f, 0xf8, 0x00, 0x00, 0x3f, 0xf0, 0x00,
44
+    0x00, 0x0f, 0xf0, 0x00, 0x00, 0x1f, 0xe0, 0x00,
45
+    0x00, 0x07, 0xe0, 0x00, 0x00, 0x0f, 0xc0, 0x00,
46
+    0x00, 0x03, 0xc0, 0x00, 0x00, 0x07, 0x80, 0x00,
47
+    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
48
+    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf0,
49
+    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0xf8,
50
+    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0xfc,
51
+    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x07, 0xfc,
52
+    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x07, 0xfc,
53
+    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x07, 0xfc,
54
+    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x07, 0xfc,
55
+    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x07, 0xfc,
56
+    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0xfc,
57
+    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0xf8,
58
+    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf0,
59
+    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
60
+    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
61
+    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
62
+    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
63
+    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
64
+    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
65
+    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
66
+    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
67
+    0x1e, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x00, 0x00,
68
+    0x3f, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x00, 0x00,
69
+    0x7f, 0x80, 0x00, 0x00, 0xf0, 0x00, 0x00, 0x00,
70
+    0xff, 0xc0, 0x00, 0x00, 0xf0, 0x00, 0x00, 0x00,
71
+    0xff, 0xc0, 0x00, 0x00, 0xf0, 0x00, 0x00, 0x00,
72
+    0xff, 0xc0, 0x00, 0x00, 0xf0, 0x00, 0x00, 0x00,
73
+    0xff, 0xc0, 0x00, 0x00, 0xf7, 0xc0, 0x1f, 0x80,
74
+    0xff, 0xc0, 0x00, 0x00, 0xff, 0xf0, 0x7f, 0xc0,
75
+    0x7f, 0x80, 0x00, 0x00, 0xff, 0xf8, 0xff, 0xe0,
76
+    0x3f, 0x00, 0x00, 0x00, 0xfc, 0xf8, 0xf0, 0xf8,
77
+    0x1e, 0x00, 0x00, 0x00, 0xf8, 0x7d, 0xe0, 0x78,
78
+    0x00, 0x00, 0x00, 0x00, 0xf0, 0x3d, 0xe0, 0x78,
79
+    0x00, 0x00, 0x00, 0x00, 0xf0, 0x3d, 0xe0, 0x78,
80
+    0x00, 0x00, 0x00, 0x00, 0xf0, 0x3d, 0xe0, 0x78,
81
+    0x00, 0x00, 0x00, 0x00, 0xf0, 0x3d, 0xe0, 0x78,
82
+    0x00, 0x00, 0x00, 0x00, 0xf0, 0x3d, 0xe0, 0x78,
83
+    0x00, 0x00, 0x00, 0x00, 0xf0, 0x3d, 0xe0, 0x78,
84
+    0x00, 0x00, 0x00, 0x00, 0xf8, 0x79, 0xf0, 0xf8,
85
+    0x00, 0x00, 0x00, 0x00, 0xff, 0xf8, 0xff, 0xf8,
86
+    0x00, 0x00, 0x00, 0x00, 0x3f, 0xf0, 0x7f, 0xf8,
87
+    0x00, 0x00, 0x00, 0x00, 0x0f, 0xe0, 0x3f, 0xf8,
88
+    0x00, 0x00, 0x00, 0x00, 0x03, 0x80, 0x0e, 0x78,
89
+    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x78,
90
+    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x78,
91
+    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x78,
92
+    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x78,
93
+    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x78,
94
+  };
95
+#endif

Loading…
Cancel
Save