29 lines
1.0 KiB
BlitzBasic
29 lines
1.0 KiB
BlitzBasic
|
|
# Copyright 2023 NXP
|
||
|
|
DESCRIPTION = "The vela tool is used to compile a TensorFlow Lite for \
|
||
|
|
Microcontrollers neural network model into an optimised version that \
|
||
|
|
can run on an embedded system containing an Arm Ethos-U NPU"
|
||
|
|
LICENSE = "Apache-2.0"
|
||
|
|
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e3fc50a88d0a364313df4b21ef20c29e"
|
||
|
|
DEPENDS = "python3-pip-native python3-wheel-native flatbuffers python3-numpy python3-lxml python3-numpy-native python3-setuptools-scm-native"
|
||
|
|
|
||
|
|
SRC_URI = "${VELA_SRC};branch=${SRCBRANCH}"
|
||
|
|
VELA_SRC ?= "git://github.com/nxp-imx/ethos-u-vela.git;protocol=https"
|
||
|
|
SRCBRANCH = "lf-6.6.23_2.0.0"
|
||
|
|
SRCREV = "507e8d46751227c7fd6f456774838a70e3c6d7a0"
|
||
|
|
|
||
|
|
S = "${WORKDIR}/git"
|
||
|
|
|
||
|
|
inherit setuptools3
|
||
|
|
|
||
|
|
do_compile[network] = "1"
|
||
|
|
do_compile:prepend() {
|
||
|
|
export HTTP_PROXY=${http_proxy}
|
||
|
|
export HTTPS_PROXY=${https_proxy}
|
||
|
|
export http_proxy=${http_proxy}
|
||
|
|
export https_proxy=${https_proxy}
|
||
|
|
}
|
||
|
|
|
||
|
|
RDEPENDS:${PN} += "python3-flatbuffers python3-numpy python3-lxml python3-pkg-resources"
|
||
|
|
|
||
|
|
COMPATIBLE_MACHINE = "(mx93-nxp-bsp)"
|