Mercurial > public > ostc4
diff Discovery/Inc/Fonts/font_T84.h @ 569:3508e6dc4f22
Added new section "lower.font":
To avoid section overlap caused by the memory needs of the new characters, a new section has been introduced to store the font data behind the code and data sections. The handling is a little bit overengineered but was used to have the same look as the upper section, where a defined structure had to be rebuild to match the output of another compiler. moving the lower section behind the upper would save firmware space but result in the need of a new fontlib version.
author | Ideenmodellierer |
---|---|
date | Mon, 30 Nov 2020 20:52:49 +0100 |
parents | 1c95f811967c |
children |
line wrap: on
line diff
--- a/Discovery/Inc/Fonts/font_T84.h Sun Nov 29 11:41:03 2020 +0100 +++ b/Discovery/Inc/Fonts/font_T84.h Mon Nov 30 20:52:49 2020 +0100 @@ -574,4 +574,4 @@ const tFont FontT84 __attribute__ (( used, section(".upper_font_directory.FontT84") )) = { 11, FontT84_array,0, 43, 64 }; -const tFont FontT84Spaced = { 11, FontT84_array, 18, 43, 64 }; +const tFont FontT84Spaced __attribute__ (( used, section(".lower_font_directory.FontT84Spaced") )) = { 11, FontT84_array, 18, 43, 64 };