diff Discovery/Inc/ostc.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 5865f0aeb438
children
line wrap: on
line diff
--- a/Discovery/Inc/ostc.h	Mon Dec 15 17:56:25 2025 +0100
+++ b/Discovery/Inc/ostc.h	Wed Dec 31 17:49:05 2025 +0100
@@ -42,6 +42,8 @@
 // #include "ostc_hw1.h"
 #endif
 
+#define ICON_HEADER_ADDR						(0x8100000)
+
 #define SDRAM_TIMEOUT                            ((uint32_t)0xFFFF)
 #define SDRAM_MEMORY_WIDTH                       FMC_SDRAM_MEM_BUS_WIDTH_16
 #define SDCLOCK_PERIOD                           FMC_SDRAM_CLOCK_PERIOD_3