# HG changeset patch # User Ideenmodellierer # Date 1532880397 -7200 # Node ID 7c786c7aa99bd7c81b91362d8a69cb1ea09a3a2f # Parent c42c82f73c96b21613e9e37a820311e05cfb82c5 Placed directory sections in firmware memory space diff -r c42c82f73c96 -r 7c786c7aa99b Discovery/Inc/gfx_fonts.h --- a/Discovery/Inc/gfx_fonts.h Sun Jul 29 18:05:44 2018 +0200 +++ b/Discovery/Inc/gfx_fonts.h Sun Jul 29 18:06:37 2018 +0200 @@ -69,7 +69,11 @@ extern const uint32_t indexHWcolor[indexHWcolorSIZE]; // Macro to store in UPPER rom font sections -#define UPPER_FONT_DIRECTORY __attribute__(( section(".upper_font_directory") )) -#define UPPER_FONTS __attribute__(( section(".upper_fonts") )) +/* TODO: Looking at older map files the directories should be placed within the firmware memory */ +/* As well as the image data => to be confirmed */ +#define UPPER_FONT_DIRECTORY __attribute__ (( used, section(".lower_font_directory") )) + +#define UPPER_IMAGE_DIRECTORY __attribute__(( section(".lower_image_directory") )) +#define UPPER_IMAGES __attribute__(( section(".lower_images") )) #endif // GFX_FONTS_H