2021-12-17 20:30:04 +01:00
|
|
|
SUMMARY = "Waveshare 2.8 inch DPI"
|
|
|
|
DESCRIPTION = "support overlay layer for Waveshare 2.8 inch DPI"
|
|
|
|
LICENSE = "MIT"
|
|
|
|
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
|
2023-07-07 20:08:48 +02:00
|
|
|
inherit devicetree
|
2021-12-17 20:30:04 +01:00
|
|
|
|
2023-07-07 20:08:48 +02:00
|
|
|
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
|
|
|
|
SRC_URI = " file://dts/ads1115-i2c-gpio.dts "
|
|
|
|
|
2023-07-07 22:02:04 +02:00
|
|
|
S = "${WORKDIR}/dts"
|
|
|
|
DT_FILES = "ads1115-i2c-gpio.dtbo"
|
|
|
|
|
|
|
|
COMPATIBLE_MACHINE = "raspberrypi.*"
|
|
|
|
|
2023-07-07 20:08:48 +02:00
|
|
|
do_deploy:append () {
|
2022-01-29 16:33:36 +01:00
|
|
|
install -d ${DEPLOY_DIR_IMAGE}
|
2023-07-07 22:02:04 +02:00
|
|
|
install -m 0755 ${B}/ads1115-i2c-gpio.dtbo ${DEPLOY_DIR_IMAGE}/ads1115-i2c-gpio.dtbo
|
2023-07-07 10:48:28 +02:00
|
|
|
install -m 0755 ${THISDIR}/files/vc4-kms-DPI-28inch.dtbo ${DEPLOY_DIR_IMAGE}/vc4-kms-DPI-28inch.dtbo
|
2021-12-17 20:30:04 +01:00
|
|
|
install -m 0755 ${THISDIR}/files/waveshare-28dpi-3b-4b.dtbo ${DEPLOY_DIR_IMAGE}/waveshare-28dpi-3b-4b.dtbo
|
|
|
|
install -m 0755 ${THISDIR}/files/waveshare-28dpi-3b.dtbo ${DEPLOY_DIR_IMAGE}/waveshare-28dpi-3b.dtbo
|
|
|
|
install -m 0755 ${THISDIR}/files/waveshare-28dpi-4b.dtbo ${DEPLOY_DIR_IMAGE}/waveshare-28dpi-4b.dtbo
|
|
|
|
# install -m 0755 ${THISDIR}/files/start.mp3 ${DEPLOY_DIR_IMAGE}/start.mp3
|
|
|
|
}
|
|
|
|
|
2023-07-07 20:08:48 +02:00
|
|
|
# addtask deploy
|