diff Discovery/Inc/gfx_engine.h @ 1053:36fa1c44e597 Icon_Integration

Added upload command for icon: It is now possible to upload a custom icon which is shown during startup and while writing settings (instead of the HW string). The icons are limited to 256 colors and 800x480 pixels. The icon may not be larger than 200kByte because of storage avability. For upload the same CRC functions as for the common firmware updates are in use,
author Ideenmodellierer
date Wed, 31 Dec 2025 17:49:05 +0100
parents 65d35e66efb9
children
line wrap: on
line diff
--- a/Discovery/Inc/gfx_engine.h	Mon Dec 15 17:56:25 2025 +0100
+++ b/Discovery/Inc/gfx_engine.h	Wed Dec 31 17:49:05 2025 +0100
@@ -79,6 +79,12 @@
         int bottom;
 } SWindowGimpStyle;
 
+typedef struct {
+    uint32_t    length;
+    uint8_t   type, dummy5, dummy6, dummy7;
+    uint32_t    checksum;
+} SIconHeader;
+
 /* Exported variables --------------------------------------------------------*/
 
 /**