keyboard/qmk/lib/ugfx/boards/base/RaspberryPi/readme.txt

24 lines
1.1 KiB
Plaintext
Raw Normal View History

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.
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...
- GDISP_LLD_PIXELFORMAT default = GDISP_PIXELFORMAT_RGB565
- GDISP_SCREEN_WIDTH default = 800
- GDISP_SCREEN_HEIGHT default = 600
Note that this also provides a Raspberry Pi specific api defined in rpi_mailbox.h to talk
directly to the graphics co-processor from the ARM processor.