Mercurial > public > ostc4
comparison Discovery/Inc/gfx_fonts.h @ 74:f2d98ad6f1be
Move font to upper memory
author | Ideenmodellierer |
---|---|
date | Thu, 04 Oct 2018 20:40:53 +0200 |
parents | 7c786c7aa99b |
children | 1c95f811967c |
comparison
equal
deleted
inserted
replaced
73:06cfc7457c9e | 74:f2d98ad6f1be |
---|---|
69 extern const uint32_t indexHWcolor[indexHWcolorSIZE]; | 69 extern const uint32_t indexHWcolor[indexHWcolorSIZE]; |
70 | 70 |
71 // Macro to store in UPPER rom font sections | 71 // Macro to store in UPPER rom font sections |
72 /* TODO: Looking at older map files the directories should be placed within the firmware memory */ | 72 /* TODO: Looking at older map files the directories should be placed within the firmware memory */ |
73 /* As well as the image data => to be confirmed */ | 73 /* As well as the image data => to be confirmed */ |
74 #define UPPER_FONT_DIRECTORY __attribute__ (( used, section(".lower_font_directory") )) | 74 #define UPPER_FONT_DIRECTORY __attribute__ (( used, section(".upper_font_directory") )) |
75 | 75 |
76 #define UPPER_IMAGE_DIRECTORY __attribute__(( section(".lower_image_directory") )) | 76 #define UPPER_IMAGE_DIRECTORY __attribute__(( section(".lower_image_directory") )) |
77 #define UPPER_IMAGES __attribute__(( section(".lower_images") )) | 77 #define UPPER_IMAGES __attribute__(( section(".lower_images") )) |
78 | 78 |
79 #endif // GFX_FONTS_H | 79 #endif // GFX_FONTS_H |