changeset 1030:d492d4b165fb Puls_Integration

Added custom data header in font part
author Ideenmodellierer
date Thu, 03 Jul 2025 14:37:54 +0200
parents ca713e199f22
children cd4561c33758
files FontPack/base_upperRegion.c
diffstat 1 files changed, 26 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/FontPack/base_upperRegion.c	Sun Jun 29 13:45:56 2025 +0200
+++ b/FontPack/base_upperRegion.c	Thu Jul 03 14:37:54 2025 +0200
@@ -83,6 +83,32 @@
 		.magic[3] = FIRMWARE_MAGIC_END
 };
 
+
+const SFirmwareData font_CustomData   __attribute__(( section(".font_custom_data") )) =
+{
+		.versionFirst   = 1,
+		.versionSecond  = 0,
+		.versionThird	= 0,
+		.versionBeta	= 0,
+
+		/* 4 bytes, including trailing 0 */
+		.signature      = "im",
+
+		.release_year   = 18,
+		.release_month  = 10,
+		.release_day    = 04,
+		.release_sub    = 0,
+
+		/* max 48, including trailing 0 */
+		.release_info   ="FontPack extension",
+
+		/* for safety reasons and coming functions */
+		.magic[0] = FIRMWARE_MAGIC_FIRST,
+		.magic[1] = FIRMWARE_MAGIC_SECOND,
+		.magic[2] = FIRMWARE_MAGIC_FONT, /* the magic byte for fonts*/
+		.magic[3] = FIRMWARE_MAGIC_END
+};
+
 //////////////////////////////////////////////////////////////////////////////
 
 #ifdef BUILD_LIBRARY