diff 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
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