aboutsummaryrefslogtreecommitdiffstats
path: root/boards
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2016-02-10 13:54:41 +1000
committerinmarket <andrewh@inmarket.com.au>2016-02-10 13:54:41 +1000
commit3847f54dae60c10268c054590859ad20f95b54a1 (patch)
tree301ad4aed98ce5bc39e14163fa6b84b039c307ea /boards
parenta1ab0a67ba1ce10394e83cc7057e629c4192d798 (diff)
downloaduGFX-3847f54dae60c10268c054590859ad20f95b54a1.tar.gz
uGFX-3847f54dae60c10268c054590859ad20f95b54a1.tar.bz2
uGFX-3847f54dae60c10268c054590859ad20f95b54a1.zip
Improve some doco
Diffstat (limited to 'boards')
-rw-r--r--boards/base/Linux-Framebuffer/board_framebuffer.h2
-rw-r--r--boards/base/RaspberryPi/readme.txt13
2 files changed, 10 insertions, 5 deletions
diff --git a/boards/base/Linux-Framebuffer/board_framebuffer.h b/boards/base/Linux-Framebuffer/board_framebuffer.h
index e1836527..9b760e08 100644
--- a/boards/base/Linux-Framebuffer/board_framebuffer.h
+++ b/boards/base/Linux-Framebuffer/board_framebuffer.h
@@ -123,7 +123,7 @@
}
if (fb_var.red.offset != LLDCOLOR_SHIFT_R || fb_var.green.offset != LLDCOLOR_SHIFT_G || fb_var.blue.offset != LLDCOLOR_SHIFT_B) {
#if LLDCOLOR_SHIFT_B == 0
- fprintf(stderr, "GDISP Framebuffer: THe display pixel format is not RGB\n");
+ fprintf(stderr, "GDISP Framebuffer: The display pixel format is not RGB\n");
#else
fprintf(stderr, "GDISP Framebuffer: The display pixel format is not BGR\n");
#endif
diff --git a/boards/base/RaspberryPi/readme.txt b/boards/base/RaspberryPi/readme.txt
index d4a59bf2..6ff2246f 100644
--- a/boards/base/RaspberryPi/readme.txt
+++ b/boards/base/RaspberryPi/readme.txt
@@ -1,15 +1,20 @@
-This directory contains the interface for the Raspberry Pi framebuffer.
+This directory contains the interface for the Raspberry Pi direct hardware framebuffer.
This talks directly to the raspberry pi hardware (not via a linux framebuffer driver).
+If you are using linux on the Pi then consider using the linux-X or the linux-Framebuffer
+board definitions instead of this one. This is really designed for non-Linux platforms
+or where there is no linux display driver available. It will still work under linux but
+the other solutions might be better.
+
This graphics interface is software driven - it is not an accelerated interface.
-This board definition should work on any operating system that will work on the Raspberry Pi
- eg. Linux, FreeRTOS.
+The board definition should work on any operating system that will work on the Raspberry Pi
+ eg. Linux, FreeRTOS, FreeBSD.
On this board uGFX currently supports:
- GDISP via the framebuffer driver
-THe following variables may optionally be defined in your gfxconf.h or your makefile...
+The following variables may optionally be defined in your gfxconf.h or your makefile...
- GDISP_LLD_PIXELFORMAT default = GDISP_PIXELFORMAT_RGB565
- GDISP_SCREEN_WIDTH default = 800
- GDISP_SCREEN_HEIGHT default = 600