Skip to content

Commit

Permalink
✨ COMPACT_CUSTOM_BOOTSCREEN
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Nov 15, 2023
1 parent 7ba1151 commit d5183d9
Show file tree
Hide file tree
Showing 80 changed files with 2,216 additions and 274 deletions.
26 changes: 26 additions & 0 deletions config/examples/ADIMLab/Gantry v1/_Bootscreen.h
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,29 @@ const unsigned char custom_start_bmp[] PROGMEM = {
B01110000,B00111001,B11111111,B10000011,B10011100,B01100011,B10001111,B11111110,B11110111,B00111111,B10000000,
B11110000,B01111101,B11111111,B00000111,B10011110,B00000011,B11011111,B11111100,B01100111,B00100111,B00000000
};

// Saves 279 bytes
#define COMPACT_CUSTOM_BOOTSCREEN
const unsigned char custom_start_bmp_rle[326] PROGMEM = {
0x0F, 0x0C, 0x3F, 0x42, 0xAB, 0x0F, 0x29, 0x31, 0xE7, 0x03, 0x0F, 0x24, 0xF0, 0xE4, 0x0F, 0x24,
0xF0, 0xD4, 0x1F, 0x23, 0xF0, 0xB7, 0x0F, 0x27, 0xEF, 0x00, 0x1F, 0x2B, 0xA2, 0x28, 0x2F, 0x26,
0x01, 0xC3, 0x17, 0x3F, 0x26, 0x52, 0x62, 0x26, 0x3F, 0x27, 0x34, 0xC5, 0x4F, 0x29, 0x13, 0xD3,
0x5F, 0x2D, 0xE4, 0x6F, 0x2A, 0xE4, 0x8F, 0x2A, 0x97, 0xAF, 0x2A, 0x65, 0xF0, 0x0F, 0x2A, 0x43,
0xF0, 0x42, 0x7F, 0x1F, 0x41, 0xF0, 0x65, 0x6F, 0x1D, 0x41, 0xF0, 0x57, 0x7F, 0x1C, 0x31, 0xF0,
0x75, 0x9F, 0x1B, 0x21, 0xF1, 0x9F, 0x19, 0x30, 0xF1, 0xBF, 0x18, 0x30, 0xA4, 0xF0, 0x70, 0x4F,
0x16, 0x21, 0x7A, 0xF0, 0x51, 0x6F, 0x13, 0x20, 0x6C, 0xF0, 0x53, 0x1F, 0x15, 0x20, 0x6E, 0xF0,
0x3F, 0x1B, 0x20, 0x5F, 0x01, 0xF0, 0x2F, 0x1C, 0x11, 0x51, 0x0D, 0xF0, 0x2F, 0x1C, 0x11, 0x7E,
0xF0, 0x1F, 0x1D, 0x11, 0x6F, 0x00, 0x44, 0x5F, 0x1E, 0x12, 0x3F, 0x02, 0x36, 0x3F, 0x1F, 0x2F,
0x09, 0x26, 0x2F, 0x20, 0x2F, 0x13, 0x2F, 0x20, 0x3F, 0x11, 0x3F, 0x1F, 0x4F, 0x11, 0x2F, 0x1F,
0x5F, 0x10, 0x3F, 0x1E, 0x6F, 0x0F, 0x4F, 0x1C, 0x7F, 0x0E, 0x5F, 0x1B, 0x8F, 0x0E, 0x6F, 0xBA,
0x35, 0x93, 0x31, 0x44, 0x31, 0x3F, 0x03, 0x2F, 0x00, 0x35, 0xA3, 0x21, 0x44, 0x32, 0x2F, 0x03,
0x2F, 0x00, 0x35, 0x23, 0x42, 0x21, 0x44, 0x32, 0x2F, 0x03, 0x2E, 0x54, 0x25, 0x22, 0x21, 0x52,
0x42, 0x2A, 0x33, 0x20, 0x1B, 0x54, 0x25, 0x22, 0x21, 0x52, 0x42, 0x28, 0x62, 0x69, 0x20, 0x24,
0x26, 0x21, 0x21, 0x51, 0x52, 0x28, 0x71, 0x69, 0x21, 0x23, 0x26, 0x21, 0x21, 0x20, 0x20, 0x10,
0x22, 0x29, 0x10, 0x31, 0x20, 0x38, 0x21, 0x23, 0x26, 0x21, 0x21, 0x20, 0x50, 0x22, 0x2A, 0x51,
0x20, 0x37, 0x92, 0x25, 0x22, 0x21, 0x21, 0x40, 0x22, 0x28, 0x71, 0x20, 0x37, 0x92, 0x25, 0x22,
0x21, 0x21, 0x31, 0x22, 0x28, 0x20, 0x31, 0x20, 0x36, 0x33, 0x22, 0x24, 0x32, 0x21, 0x21, 0x31,
0x22, 0x27, 0x30, 0x31, 0x20, 0x36, 0x24, 0x31, 0xA3, 0x21, 0x22, 0x12, 0x22, 0xE0, 0x31, 0x67,
0x25, 0x21, 0x94, 0x21, 0x22, 0x12, 0x22, 0xA0, 0x30, 0x21, 0x66, 0x34, 0x40, 0x84, 0x31, 0x36,
0x30, 0xA2, 0x11, 0x21, 0x01, 0x27
};
26 changes: 26 additions & 0 deletions config/examples/ADIMLab/Gantry v2/_Bootscreen.h
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,29 @@ const unsigned char custom_start_bmp[] PROGMEM = {
B01110000,B00111001,B11111111,B10000011,B10011100,B01100011,B10001111,B11111110,B11110111,B00111111,B10000000,
B11110000,B01111101,B11111111,B00000111,B10011110,B00000011,B11011111,B11111100,B01100111,B00100111,B00000000
};

// Saves 279 bytes
#define COMPACT_CUSTOM_BOOTSCREEN
const unsigned char custom_start_bmp_rle[326] PROGMEM = {
0x0F, 0x0C, 0x3F, 0x42, 0xAB, 0x0F, 0x29, 0x31, 0xE7, 0x03, 0x0F, 0x24, 0xF0, 0xE4, 0x0F, 0x24,
0xF0, 0xD4, 0x1F, 0x23, 0xF0, 0xB7, 0x0F, 0x27, 0xEF, 0x00, 0x1F, 0x2B, 0xA2, 0x28, 0x2F, 0x26,
0x01, 0xC3, 0x17, 0x3F, 0x26, 0x52, 0x62, 0x26, 0x3F, 0x27, 0x34, 0xC5, 0x4F, 0x29, 0x13, 0xD3,
0x5F, 0x2D, 0xE4, 0x6F, 0x2A, 0xE4, 0x8F, 0x2A, 0x97, 0xAF, 0x2A, 0x65, 0xF0, 0x0F, 0x2A, 0x43,
0xF0, 0x42, 0x7F, 0x1F, 0x41, 0xF0, 0x65, 0x6F, 0x1D, 0x41, 0xF0, 0x57, 0x7F, 0x1C, 0x31, 0xF0,
0x75, 0x9F, 0x1B, 0x21, 0xF1, 0x9F, 0x19, 0x30, 0xF1, 0xBF, 0x18, 0x30, 0xA4, 0xF0, 0x70, 0x4F,
0x16, 0x21, 0x7A, 0xF0, 0x51, 0x6F, 0x13, 0x20, 0x6C, 0xF0, 0x53, 0x1F, 0x15, 0x20, 0x6E, 0xF0,
0x3F, 0x1B, 0x20, 0x5F, 0x01, 0xF0, 0x2F, 0x1C, 0x11, 0x51, 0x0D, 0xF0, 0x2F, 0x1C, 0x11, 0x7E,
0xF0, 0x1F, 0x1D, 0x11, 0x6F, 0x00, 0x44, 0x5F, 0x1E, 0x12, 0x3F, 0x02, 0x36, 0x3F, 0x1F, 0x2F,
0x09, 0x26, 0x2F, 0x20, 0x2F, 0x13, 0x2F, 0x20, 0x3F, 0x11, 0x3F, 0x1F, 0x4F, 0x11, 0x2F, 0x1F,
0x5F, 0x10, 0x3F, 0x1E, 0x6F, 0x0F, 0x4F, 0x1C, 0x7F, 0x0E, 0x5F, 0x1B, 0x8F, 0x0E, 0x6F, 0xBA,
0x35, 0x93, 0x31, 0x44, 0x31, 0x3F, 0x03, 0x2F, 0x00, 0x35, 0xA3, 0x21, 0x44, 0x32, 0x2F, 0x03,
0x2F, 0x00, 0x35, 0x23, 0x42, 0x21, 0x44, 0x32, 0x2F, 0x03, 0x2E, 0x54, 0x25, 0x22, 0x21, 0x52,
0x42, 0x2A, 0x33, 0x20, 0x1B, 0x54, 0x25, 0x22, 0x21, 0x52, 0x42, 0x28, 0x62, 0x69, 0x20, 0x24,
0x26, 0x21, 0x21, 0x51, 0x52, 0x28, 0x71, 0x69, 0x21, 0x23, 0x26, 0x21, 0x21, 0x20, 0x20, 0x10,
0x22, 0x29, 0x10, 0x31, 0x20, 0x38, 0x21, 0x23, 0x26, 0x21, 0x21, 0x20, 0x50, 0x22, 0x2A, 0x51,
0x20, 0x37, 0x92, 0x25, 0x22, 0x21, 0x21, 0x40, 0x22, 0x28, 0x71, 0x20, 0x37, 0x92, 0x25, 0x22,
0x21, 0x21, 0x31, 0x22, 0x28, 0x20, 0x31, 0x20, 0x36, 0x33, 0x22, 0x24, 0x32, 0x21, 0x21, 0x31,
0x22, 0x27, 0x30, 0x31, 0x20, 0x36, 0x24, 0x31, 0xA3, 0x21, 0x22, 0x12, 0x22, 0xE0, 0x31, 0x67,
0x25, 0x21, 0x94, 0x21, 0x22, 0x12, 0x22, 0xA0, 0x30, 0x21, 0x66, 0x34, 0x40, 0x84, 0x31, 0x36,
0x30, 0xA2, 0x11, 0x21, 0x01, 0x27
};
37 changes: 37 additions & 0 deletions config/examples/Anet/E16/Stock/_Bootscreen.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,40 @@ const unsigned char custom_start_bmp[] PROGMEM = {
B11111111,B11110000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00111100,B01111100,B00111100,B10000100,B00001111,B11111111,
B11111111,B11110000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00011111,B11111111
};

// Saves 516 bytes
#define COMPACT_CUSTOM_BOOTSCREEN
const unsigned char custom_start_bmp_rle[508] PROGMEM = {
0x17, 0xF6, 0x0F, 0x00, 0xB6, 0xF3, 0x77, 0xDE, 0x8E, 0x5F, 0x03, 0x6F, 0x04, 0xAE, 0xBD, 0x7F,
0x01, 0x4F, 0x05, 0x4F, 0x06, 0x7F, 0x01, 0xAC, 0x7F, 0x04, 0x2F, 0x06, 0x3F, 0x07, 0x4F, 0x04,
0x9C, 0x6F, 0x06, 0x1F, 0x07, 0x2F, 0x08, 0x3F, 0x05, 0x9A, 0x6F, 0x07, 0x1F, 0x08, 0x1F, 0x08,
0x2F, 0x06, 0x9A, 0x6F, 0x07, 0x1F, 0x08, 0x1F, 0x09, 0x1F, 0x07, 0x99, 0x6F, 0x08, 0x0A, 0x1A,
0x1F, 0x09, 0x0B, 0x0A, 0x98, 0x79, 0x2A, 0x0A, 0x1B, 0x0A, 0x1B, 0x0A, 0x29, 0x98, 0x79, 0x2A,
0x0A, 0x2A, 0x0A, 0x2A, 0x0A, 0x29, 0xA7, 0x79, 0x2A, 0x0A, 0x2A, 0x0A, 0x2A, 0x0A, 0x29, 0xA7,
0x79, 0x2A, 0x0A, 0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 0x02, 0xF3, 0x81, 0x41, 0x11, 0x12, 0x42, 0x01, 0x8F, 0x02, 0xF3, 0x81,
0x41, 0x20, 0x11, 0x51, 0x20, 0x7F, 0x04, 0xF3, 0x02, 0x31, 0x45, 0x11, 0x51, 0x20, 0x7F, 0x04,
0xF3, 0x02, 0x31, 0x10, 0x11, 0x51, 0x51, 0x20, 0x6F, 0x06, 0xF3, 0x64, 0x15, 0x24, 0x11, 0x20,
0x6F, 0x07, 0xF3, 0x63, 0x24, 0x33, 0x10, 0x30, 0x5F, 0x08, 0xF5, 0x7C
};
3 changes: 3 additions & 0 deletions config/examples/AnimationExample/_Bootscreen.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ const unsigned char custom_start_bmp[] PROGMEM = {
B00011111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111000
};

#ifdef CUSTOM_BOOTSCREEN_ANIMATED

const unsigned char custom_start_bmp1[] PROGMEM = {
B00011111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,
Expand Down Expand Up @@ -218,3 +219,5 @@ const unsigned char custom_start_bmp6[] PROGMEM = {
};

#endif

#endif // CUSTOM_BOOTSCREEN_ANIMATED
22 changes: 17 additions & 5 deletions config/examples/BQ/Hephestos_2/_Bootscreen.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@
#define CUSTOM_BOOTSCREEN_BMPWIDTH 64

const unsigned char custom_start_bmp[] PROGMEM = {
B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,
B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,
B00000000,B00000000,B00000000,B00000011,B11110000,B00000000,B00000000,B00000000,
B00000000,B00000000,B00000000,B00000111,B11111000,B00000000,B00000000,B00000000,
B00000000,B00000000,B00000000,B00000111,B11111000,B00000000,B00000000,B00000000,
Expand Down Expand Up @@ -95,7 +93,21 @@ const unsigned char custom_start_bmp[] PROGMEM = {
B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B01110000,
B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B01110000,
B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B01110000,
B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B01110000,
B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,
B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000
B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B01110000
};

// Saves 310 bytes
#define COMPACT_CUSTOM_BOOTSCREEN_EXT
const unsigned char custom_start_bmp_rle[170] PROGMEM = {
0x0F, 0x0E, 0x5F, 0x29, 0x7F, 0x28, 0x7F, 0x27, 0x9F, 0x26, 0x9F, 0x27, 0x7F, 0x1B, 0x47, 0x77,
0x4F, 0x0D, 0x67, 0x57, 0x6F, 0x0B, 0x88, 0x18, 0x8F, 0x0A, 0x8F, 0x04, 0x8F, 0x0A, 0x8F, 0x04,
0x8F, 0x0A, 0x8F, 0x04, 0x8F, 0x0A, 0x7F, 0x06, 0x6F, 0x0C, 0x5F, 0x07, 0x6F, 0x0E, 0x2F, 0x0A,
0x2F, 0xF0, 0x81, 0xF2, 0xC5, 0xF2, 0x97, 0xF2, 0x87, 0xF2, 0x78, 0xF2, 0x78, 0xF2, 0x87, 0xF2,
0x87, 0xF2, 0x95, 0xF2, 0xC0, 0xFF, 0xCA, 0x4F, 0x08, 0x2F, 0x0F, 0x6F, 0x07, 0x3F, 0x0D, 0x7F,
0x07, 0x3F, 0x0D, 0x8F, 0x06, 0x3F, 0x0D, 0x8F, 0x06, 0x3F, 0x0D, 0x8F, 0x06, 0x30, 0x39, 0x39,
0x7F, 0x07, 0xA5, 0x78, 0x5F, 0x08, 0xB3, 0x98, 0x3F, 0x09, 0x50, 0x51, 0x41, 0x4F, 0x15, 0x34,
0x31, 0x24, 0x3F, 0x15, 0x35, 0x20, 0x35, 0x2F, 0x15, 0x35, 0x20, 0x35, 0x2F, 0x15, 0x35, 0x20,
0x35, 0x2F, 0x15, 0x35, 0x20, 0x35, 0x2F, 0x15, 0x35, 0x20, 0x35, 0x2F, 0x15, 0x34, 0x31, 0x24,
0x3F, 0x15, 0x42, 0x41, 0x41, 0x4F, 0x17, 0x92, 0xBF, 0x18, 0x74, 0xAF, 0x19, 0x57, 0x40, 0x2F,
0x2D, 0x2F, 0x2D, 0x2F, 0x2D, 0x2F, 0x2D, 0x2F, 0x2D, 0x23
};
Loading

0 comments on commit d5183d9

Please sign in to comment.