mirror of
https://git.yoctoproject.org/meta-raspberrypi
synced 2026-07-16 03:46:56 +00:00
pitft: Add basic support for PiTFT
Add basic support for PiTFT display by using device-trees. In order get it working below configurations must be active in local.conf: MACHINE_FEATURES += "pitft" - This will enable SPI bus and i2c device-trees, it will also setup framebuffer for console and x server on PiTFT. [Support #70] Signed-off-by: Petter Mabäcker <petter@technux.se> Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
This commit is contained in:
committed by
Andrei Gherzan
parent
52671faf4f
commit
0d5aff5161
@@ -28,6 +28,7 @@ Contents:
|
||||
3.K. Device tree support
|
||||
3.L. Enable SPI bus
|
||||
3.M. Enable I2C
|
||||
3.N. Enable PiTFT support
|
||||
4. Extra apps
|
||||
4.A. omxplayer
|
||||
5. Board Configuration
|
||||
@@ -213,6 +214,18 @@ ENABLE_SPI_BUS = "1"
|
||||
When using device tree kernels, set this variable to enable I2C
|
||||
ENABLE_I2C = "1"
|
||||
|
||||
3.N. Enable PiTFT support
|
||||
=========================
|
||||
Basic support for using PiTFT screens can be enabled by adding
|
||||
below in local.conf:
|
||||
|
||||
MACHINE_FEATURES += "pitft"
|
||||
- This will enable SPI bus and i2c device-trees, it will also setup
|
||||
framebuffer for console and x server on PiTFT.
|
||||
|
||||
NOTE: To get this working the overlay for the PiTFT model must be build,
|
||||
added and specified as well (dtoverlay=<driver> in config.txt)
|
||||
|
||||
|
||||
4. Extra apps
|
||||
=============
|
||||
|
||||
Reference in New Issue
Block a user