changeset 44:7c786c7aa99b

Placed directory sections in firmware memory space
author Ideenmodellierer
date Sun, 29 Jul 2018 18:06:37 +0200
parents c42c82f73c96
children 219943ef9dc0
files Discovery/Inc/gfx_fonts.h
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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