Improve some doco
This commit is contained in:
parent
a1ab0a67ba
commit
3847f54dae
2 changed files with 10 additions and 5 deletions
|
@ -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 (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
|
#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
|
#else
|
||||||
fprintf(stderr, "GDISP Framebuffer: The display pixel format is not BGR\n");
|
fprintf(stderr, "GDISP Framebuffer: The display pixel format is not BGR\n");
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -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).
|
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 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
|
The board definition should work on any operating system that will work on the Raspberry Pi
|
||||||
eg. Linux, FreeRTOS.
|
eg. Linux, FreeRTOS, FreeBSD.
|
||||||
|
|
||||||
On this board uGFX currently supports:
|
On this board uGFX currently supports:
|
||||||
- GDISP via the framebuffer driver
|
- 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_LLD_PIXELFORMAT default = GDISP_PIXELFORMAT_RGB565
|
||||||
- GDISP_SCREEN_WIDTH default = 800
|
- GDISP_SCREEN_WIDTH default = 800
|
||||||
- GDISP_SCREEN_HEIGHT default = 600
|
- GDISP_SCREEN_HEIGHT default = 600
|
||||||
|
|
Loading…
Add table
Reference in a new issue