@@ -138,6 +138,21 @@ config CONSOLE_NORMAL
CONFIG_CONSOLE_ROTATION for that). A built-in 8x16 font is used
for the display.
+choice
+ prompt "bitmap video font"
+ default VIDEO_FONT_8X16
+ depends on CONSOLE_NORMAL
+ help
+ Select the default bitmap font.
+
+config VIDEO_FONT_4X6
+ bool "4x6"
+
+config VIDEO_FONT_8X16
+ bool "8x16"
+
+endchoice
+
config CONSOLE_ROTATION
bool "Support rotated displays"
depends on DM_VIDEO
@@ -46,7 +46,7 @@ __END__;
#define VIDEO_FONT_HEIGHT 6
#define VIDEO_FONT_SIZE (VIDEO_FONT_CHARS * VIDEO_FONT_HEIGHT)
-static unsigned char video_fontdata[VIDEO_FONT_SIZE] = {
+static unsigned char __maybe_unused video_fontdata[VIDEO_FONT_SIZE] = {
/*{*/
/* Char 0: ' ' */