Mercurial > public > ostc4
comparison Discovery/Inc/tStructure.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 | f8e2895c91e5 |
| children |
comparison
equal
deleted
inserted
replaced
| 1052:3029dd4398a5 | 1053:36fa1c44e597 |
|---|---|
| 32 extern "C" { | 32 extern "C" { |
| 33 #endif | 33 #endif |
| 34 | 34 |
| 35 /* Includes ------------------------------------------------------------------*/ | 35 /* Includes ------------------------------------------------------------------*/ |
| 36 #include "stdint.h" | 36 #include "stdint.h" |
| 37 | 37 #include "configuration.h" |
| 38 /** @addtogroup Template | 38 /** @addtogroup Template |
| 39 * @{ | 39 * @{ |
| 40 */ | 40 */ |
| 41 | 41 |
| 42 | 42 |
| 364 #define StMSYS5_SetFactoryBC _MB(2,9,6,11,0) | 364 #define StMSYS5_SetFactoryBC _MB(2,9,6,11,0) |
| 365 #define StMSYS5_ResetBluetooth _MB(2,9,6,12,0) | 365 #define StMSYS5_ResetBluetooth _MB(2,9,6,12,0) |
| 366 #define StMSYS5_SetSampleIndx _MB(2,9,6,13,0) | 366 #define StMSYS5_SetSampleIndx _MB(2,9,6,13,0) |
| 367 #define StMSYS5_AdjustSurfPres _MB(2,9,6,14,0) | 367 #define StMSYS5_AdjustSurfPres _MB(2,9,6,14,0) |
| 368 #define StMSYS5_FlashBoot _MB(2,9,6,15,0) | 368 #define StMSYS5_FlashBoot _MB(2,9,6,15,0) |
| 369 #define StMSYS5_Reset _MB(2,9,6,16,0) | |
| 370 #define StMSYS5_ResetIcon _MB(2,9,6,17,0) | |
| 369 | 371 |
| 370 #else | 372 #else |
| 371 | 373 |
| 372 #define StMSYS2_English _MB(2,9,2,1,0) | 374 #define StMSYS2_English _MB(2,9,2,1,0) |
| 373 #define StMSYS2_German _MB(2,9,2,2,0) | 375 #define StMSYS2_German _MB(2,9,2,2,0) |
