x-linux-ai: recipes-samples: add recipe to manage the DCMIPP ISP

This recipe installs the dcmipp-isp-ctrl tool, an application that demonstrates
some of the features of the DCMIPP ISP blocks. It allows configuring
illuminance and auto-exposure to achieve a targeted level by adjusting both the
DCMIPP exposure block and the sensor gain.

This recipes is original from meta-st-openstlinux layer based on
openstlinux-6.6-yocto-scarthgap-mpu-v24.12.05 release.

https://onedigi.atlassian.net/browse/DEL-9486

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
This commit is contained in:
Arturo Buzarra 2025-02-03 12:32:43 +01:00
parent c79780f8b4
commit 8c33785987
5 changed files with 31 additions and 4 deletions

View File

@ -0,0 +1,23 @@
SUMMARY = "DMCIPP ISP control tools"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://dcmipp-isp-ctrl/COPYING;md5=f8001cce2bab8ab39ddcb12684e4bdf4"
SRC_URI = "git://github.com/STMicroelectronics/st-openstlinux-application.git;protocol=https;branch=main"
# Modify these as desired
PV = "5.1+git${SRCPV}"
SRCREV = "a7f953caba8823e601eb85c5e6052b1e81188cd7"
S = "${WORKDIR}/git"
do_compile () {
cd ${S}/dcmipp-isp-ctrl
oe_runmake
}
do_install () {
install -d ${D}${prefix}/local/demo/bin
install -m 0755 ${B}/dcmipp-isp-ctrl/dcmipp-isp-ctrl ${D}${prefix}/local/demo/bin/
}
FILES:${PN} += "${prefix}/local/demo/bin/dcmipp-isp-ctrl"

View File

@ -1,4 +1,4 @@
# Copyright (C) 2024, Digi International Inc.
# Copyright (C) 2024,2025, Digi International Inc.
FILESEXTRAPATHS:prepend := "${THISDIR}/../common:${THISDIR}/files:"
@ -19,6 +19,7 @@ do_install:append () {
RDEPENDS:${PN} += " \
libdrm-tests \
dcmipp-isp-ctrl \
"
FILES:${PN} += " \

View File

@ -1,4 +1,4 @@
# Copyright (C) 2024, Digi International Inc.
# Copyright (C) 2024,2025, Digi International Inc.
FILESEXTRAPATHS:prepend := "${THISDIR}/../common:${THISDIR}/files:"
@ -19,6 +19,7 @@ do_install:append () {
RDEPENDS:${PN} += " \
libdrm-tests \
dcmipp-isp-ctrl \
"
FILES:${PN} += " \

View File

@ -1,4 +1,4 @@
# Copyright (C) 2024, Digi International Inc.
# Copyright (C) 2024,2025, Digi International Inc.
FILESEXTRAPATHS:prepend := "${THISDIR}/../common:${THISDIR}/files:"
@ -19,6 +19,7 @@ do_install:append () {
RDEPENDS:${PN} += " \
libdrm-tests \
dcmipp-isp-ctrl \
"
FILES:${PN} += " \

View File

@ -1,4 +1,4 @@
# Copyright (C) 2024, Digi International Inc.
# Copyright (C) 2024,2025, Digi International Inc.
FILESEXTRAPATHS:prepend := "${THISDIR}/../common:${THISDIR}/files:"
@ -20,6 +20,7 @@ do_install:append () {
RDEPENDS:${PN} += " \
libdrm-tests \
dcmipp-isp-ctrl \
"
FILES:${PN} += " \