1 #ifdef __has_include 2 #if __has_include("lvgl.h") 3 #ifndef LV_LVGL_H_INCLUDE_SIMPLE 4 #define LV_LVGL_H_INCLUDE_SIMPLE 5 #endif 6 #endif 7 #endif 8 9 #if defined(LV_LVGL_H_INCLUDE_SIMPLE) 10 #include "lvgl.h" 11 #else 12 #include "lvgl/lvgl.h" 13 #endif 14 15 16 #ifndef LV_ATTRIBUTE_MEM_ALIGN 17 #define LV_ATTRIBUTE_MEM_ALIGN 18 #endif 19 20 #ifndef LV_ATTRIBUTE_IMG_RENDER_LVGL_LOGO_I1 21 #define LV_ATTRIBUTE_IMG_RENDER_LVGL_LOGO_I1 22 #endif 23 24 static const 25 LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_LARGE_CONST LV_ATTRIBUTE_IMG_RENDER_LVGL_LOGO_I1 26 uint8_t img_render_lvgl_logo_i1_map[] = { 27 28 0x00,0x00,0x00,0xff,0xff,0xff,0xff,0xff, 29 30 0x20,0x00,0x00,0x18, 31 0xc0,0x00,0x00,0x04, 32 0x80,0x00,0x00,0x00, 33 0x00,0x00,0x00,0x70, 34 0x00,0x00,0x00,0xf0, 35 0x00,0x00,0x00,0x60, 36 0x00,0x00,0x00,0x00, 37 0x00,0x00,0x00,0x00, 38 0x00,0x00,0x00,0x00, 39 0xff,0x80,0x00,0x00, 40 0xff,0xc0,0x00,0x00, 41 0x80,0x60,0x00,0x00, 42 0x80,0x60,0x00,0x00, 43 0x80,0x60,0x00,0x00, 44 0x80,0x60,0x00,0x00, 45 0x80,0x60,0x00,0x00, 46 0x80,0x60,0x00,0x00, 47 0x80,0x60,0x00,0x00, 48 0x80,0x60,0x00,0x00, 49 0xff,0xe0,0x00,0x00, 50 0x7f,0x9f,0xf0,0x00, 51 0x80,0x60,0x18,0x00, 52 0x80,0x60,0x18,0x00, 53 0x80,0x60,0x18,0x00, 54 0x80,0x60,0x18,0x00, 55 0x80,0x60,0x18,0x00, 56 0x80,0x60,0x18,0x00, 57 0x80,0x60,0x18,0x00, 58 0x80,0x60,0x18,0x04, 59 0x40,0x00,0x18,0x0c, 60 61 }; 62 63 const lv_image_dsc_t img_render_lvgl_logo_i1 = { 64 .header.magic = LV_IMAGE_HEADER_MAGIC, 65 .header.cf = LV_COLOR_FORMAT_I1, 66 .header.flags = 0, 67 .header.w = 30, 68 .header.h = 30, 69 .header.stride = 4, 70 .data_size = sizeof(img_render_lvgl_logo_i1_map), 71 .data = img_render_lvgl_logo_i1_map, 72 }; 73 74