From 174fff79cba2e7f24108cb0609a1d73f7cc4fad2 Mon Sep 17 00:00:00 2001 From: Romain Goyet Date: Thu, 10 Sep 2015 12:20:35 +0200 Subject: [PATCH] Accurate framebuffer size --- boot/device/flash.ld | 2 +- ion/platform/device/framebuffer.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/boot/device/flash.ld b/boot/device/flash.ld index 6a2f4307a..2dff686ac 100644 --- a/boot/device/flash.ld +++ b/boot/device/flash.ld @@ -21,7 +21,7 @@ MEMORY { */ } -FRAMEBUFFER_SIZE = 9K; +FRAMEBUFFER_SIZE = 9600; STACK_SIZE = 4K; SECTIONS { diff --git a/ion/platform/device/framebuffer.h b/ion/platform/device/framebuffer.h index 3c8ce0d05..35465c5cb 100644 --- a/ion/platform/device/framebuffer.h +++ b/ion/platform/device/framebuffer.h @@ -5,7 +5,7 @@ extern char _framebuffer_start; #define ION_FRAMEBUFFER_ADDRESS ((void *)(&_framebuffer_start)) #define ION_FRAMEBUFFER_WIDTH 240 -#define ION_FRAMEBUFFER_HEIGHT 320 -#define ION_FRAMEBUFFER_BITS_PER_PIXEL 16 +#define ION_FRAMEBUFFER_HEIGHT 160 +#define ION_FRAMEBUFFER_BITS_PER_PIXEL 2 #endif