comparison Discovery/Inc/gfx_fonts.h @ 44:7c786c7aa99b

Placed directory sections in firmware memory space
author Ideenmodellierer
date Sun, 29 Jul 2018 18:06:37 +0200
parents 5f11787b4f42
children f2d98ad6f1be
comparison
equal deleted inserted replaced
43:c42c82f73c96 44:7c786c7aa99b
67 extern const tImage ImgOSTC; 67 extern const tImage ImgOSTC;
68 68
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 #define UPPER_FONT_DIRECTORY __attribute__(( section(".upper_font_directory") )) 72 /* TODO: Looking at older map files the directories should be placed within the firmware memory */
73 #define UPPER_FONTS __attribute__(( section(".upper_fonts") )) 73 /* As well as the image data => to be confirmed */
74 #define UPPER_FONT_DIRECTORY __attribute__ (( used, section(".lower_font_directory") ))
75
76 #define UPPER_IMAGE_DIRECTORY __attribute__(( section(".lower_image_directory") ))
77 #define UPPER_IMAGES __attribute__(( section(".lower_images") ))
74 78
75 #endif // GFX_FONTS_H 79 #endif // GFX_FONTS_H