comparison 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
comparison
equal deleted inserted replaced
1052:3029dd4398a5 1053:36fa1c44e597
39 #include "ostc_discovery.h" 39 #include "ostc_discovery.h"
40 #else 40 #else
41 #include "ostc_hw2.h" 41 #include "ostc_hw2.h"
42 // #include "ostc_hw1.h" 42 // #include "ostc_hw1.h"
43 #endif 43 #endif
44
45 #define ICON_HEADER_ADDR (0x8100000)
44 46
45 #define SDRAM_TIMEOUT ((uint32_t)0xFFFF) 47 #define SDRAM_TIMEOUT ((uint32_t)0xFFFF)
46 #define SDRAM_MEMORY_WIDTH FMC_SDRAM_MEM_BUS_WIDTH_16 48 #define SDRAM_MEMORY_WIDTH FMC_SDRAM_MEM_BUS_WIDTH_16
47 #define SDCLOCK_PERIOD FMC_SDRAM_CLOCK_PERIOD_3 49 #define SDCLOCK_PERIOD FMC_SDRAM_CLOCK_PERIOD_3
48 #define SDRAM_MODEREG_BURST_LENGTH_1 ((uint16_t)0x0000) 50 #define SDRAM_MODEREG_BURST_LENGTH_1 ((uint16_t)0x0000)