summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRodrigo M. Duarte <rodrigo.duarte@ossystems.com.br>2025-04-30 11:17:59 -0300
committerRodrigo M. Duarte <rodrigo.duarte@ossystems.com.br>2025-05-14 18:12:22 -0300
commit605cd0f39e0717a063b715568c14421265c94d55 (patch)
tree9d17a5fe885aca2a7a87bb1ff434636be1bdb812
parent503d1d931be10c869702eae0425428fdbcdb953b (diff)
downloadmeta-freescale-605cd0f39e0717a063b715568c14421265c94d55.tar.gz
ethos-u-driver-stack: Add recipe to ethos-u-driver-stack
The ethos-u-driver-stack recipe is used by imx93 machines to install ethos driver. Signed-off-by: Rodrigo M. Duarte <rodrigo.duarte@ossystems.com.br>
-rw-r--r--recipes-libraries/ethos-u-driver-stack/ethos-u-driver-stack_24.05.bb38
1 files changed, 38 insertions, 0 deletions
diff --git a/recipes-libraries/ethos-u-driver-stack/ethos-u-driver-stack_24.05.bb b/recipes-libraries/ethos-u-driver-stack/ethos-u-driver-stack_24.05.bb
new file mode 100644
index 000000000..e77bcf85d
--- /dev/null
+++ b/recipes-libraries/ethos-u-driver-stack/ethos-u-driver-stack_24.05.bb
@@ -0,0 +1,38 @@
1SUMMARY = "The Linux driver stack for Arm(R) Ethos(TM)-U NPU"
2DESCRIPTION = "The Linux driver stack for Arm(R) Ethos(TM)-U provides \
3an example of how a rich operating system like Linux can dispatch \
4inferences to an Arm Cortex(R)-M subsystem, consisting of an Arm \
5Cortex-M of choice and an Arm Ethos-U NPU."
6LICENSE = "Apache-2.0"
7LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e3fc50a88d0a364313df4b21ef20c29e"
8
9DEPENDS = "flatbuffers python3-pybind11 python3-pybind11-native"
10
11SRC_URI = "${ETHOS_U_SRC};branch=${SRCBRANCH}"
12ETHOS_U_SRC ?= "git://github.com/nxp-imx/ethos-u-driver-stack-imx.git;protocol=https"
13SRCBRANCH = "lf-6.12.3_1.0.0"
14SRCREV = "a80c51d77c91f1a8266afc5d8056fb981de4b504"
15
16S = "${WORKDIR}/git"
17
18inherit cmake setuptools3
19
20SETUPTOOLS_BUILD_ARGS = "build_ext --library-dirs ${B}/driver_library"
21
22do_configure() {
23 cmake_do_configure
24}
25
26do_compile () {
27 cmake_do_compile
28 setuptools3_do_compile
29}
30
31do_install () {
32 cmake_do_install
33 setuptools3_do_install
34}
35
36RDEPENDS:${PN} = "flatbuffers python3-numpy python3-pillow"
37
38COMPATIBLE_MACHINE = "(mx93-nxp-bsp)"