Mercurial > public > ostc4
comparison Discovery/Inc/gfx_fonts.h @ 1016:0dd92e9b70a2 BootloaderOstc5
Bootloader use compressed fonts:
The previous Bootloader was larger than 128k => not fitting into the first sectors of the second flash bank. Most memory is occupied by the two fonts in use. In order to make the bootloader small enough for the bootloader update function the fonts need to be compressed. To avoid code changes in visualization functions the compressed fonts are decompressed into RAM and then used in the same way as before.
| author | Ideenmodellierer |
|---|---|
| date | Wed, 28 May 2025 17:20:44 +0200 |
| parents | bc6c90e20d9e |
| children |
comparison
equal
deleted
inserted
replaced
| 1015:4ef0511c6665 | 1016:0dd92e9b70a2 |
|---|---|
| 53 // and uses 0x081b9a3a - 0x08132040 = 879FA = 542 KB. | 53 // and uses 0x081b9a3a - 0x08132040 = 879FA = 542 KB. |
| 54 // | 54 // |
| 55 | 55 |
| 56 extern const tFont Awe48; | 56 extern const tFont Awe48; |
| 57 extern const tFont FontT24; | 57 extern const tFont FontT24; |
| 58 extern const tFont FontT24min; | |
| 58 extern const tFont FontT42; | 59 extern const tFont FontT42; |
| 59 extern const tFont FontT48; | 60 extern const tFont FontT48; |
| 61 extern const tFont FontT48min; | |
| 60 extern const tFont FontT54; | 62 extern const tFont FontT54; |
| 61 extern const tFont FontT84; | 63 extern const tFont FontT84; |
| 62 extern const tFont FontT105; | 64 extern const tFont FontT105; |
| 63 extern const tFont FontT144; | 65 extern const tFont FontT144; |
| 64 | 66 |
