From 44d1798f4f20ac4bf9f66690e49c4bd0b2d863ff Mon Sep 17 00:00:00 2001 From: JF Date: Sat, 2 Sep 2023 19:41:51 +0200 Subject: navigation: Move font to external memory (#1838) The TTF font used by the navigation app is ~20KB and is stored in internal flash memory. To free this space, the TTF font is now converted in 2 "atlas pictures" (pictures that contain multiple concatenated images) stored in the external flash memory. The navigation app now accesses one of those 2 files and apply an offset to display the desired picture. The corresponding documentation has also been updated. Add comments about the layout of the pictures that contain the icon and about the indexing of those icons. In documentation (buildAndProgram.md), edit the section about the debug compilation mode. Remove the part about removing the Navigation app to free some memory (since it's not relevant anymore) and explain how to selectively build parts of the firmware in Debug mode. --- src/resources/images/navigation0.png | Bin 0 -> 22487 bytes src/resources/images/navigation1.png | Bin 0 -> 17794 bytes 2 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 src/resources/images/navigation0.png create mode 100644 src/resources/images/navigation1.png (limited to 'src/resources/images') diff --git a/src/resources/images/navigation0.png b/src/resources/images/navigation0.png new file mode 100644 index 00000000..37d7abd8 Binary files /dev/null and b/src/resources/images/navigation0.png differ diff --git a/src/resources/images/navigation1.png b/src/resources/images/navigation1.png new file mode 100644 index 00000000..f1714a71 Binary files /dev/null and b/src/resources/images/navigation1.png differ -- cgit v1.2.3-70-g09d2