diff options
author | Tom Hochstein <tom.hochstein@nxp.com> | 2022-09-01 16:50:39 -0500 |
---|---|---|
committer | Tom Hochstein <tom.hochstein@nxp.com> | 2022-09-02 16:51:06 -0500 |
commit | 186780dbcf58fcc50dcebee7f1b63fbd275703e7 (patch) | |
tree | 9baa55c04b6497393865214c1baf9e3e03a30133 /recipes-multimedia/imx-dsp | |
parent | be58b76e47971eb4c8ce645e5ba88d7e5056a102 (diff) | |
download | meta-freescale-186780dbcf58fcc50dcebee7f1b63fbd275703e7.tar.gz |
imx-dsp: Add TensorFlow Lite Micro for 8ULP
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Diffstat (limited to 'recipes-multimedia/imx-dsp')
-rw-r--r-- | recipes-multimedia/imx-dsp/imx-dsp_2.0.0.bb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/recipes-multimedia/imx-dsp/imx-dsp_2.0.0.bb b/recipes-multimedia/imx-dsp/imx-dsp_2.0.0.bb index 336bf34d..168ec603 100644 --- a/recipes-multimedia/imx-dsp/imx-dsp_2.0.0.bb +++ b/recipes-multimedia/imx-dsp/imx-dsp_2.0.0.bb | |||
@@ -26,11 +26,18 @@ HIFI4_PLATFORM:mx8dx-nxp-bsp = "imx8qmqxp" | |||
26 | HIFI4_PLATFORM:mx8mp-nxp-bsp = "imx8mp" | 26 | HIFI4_PLATFORM:mx8mp-nxp-bsp = "imx8mp" |
27 | HIFI4_PLATFORM:mx8ulp-nxp-bsp = "imx8ulp" | 27 | HIFI4_PLATFORM:mx8ulp-nxp-bsp = "imx8ulp" |
28 | 28 | ||
29 | UNSUPPORTED_TESTS = "dsp_tflm" | ||
30 | UNSUPPORTED_TESTS:mx8ulp-nxp-bsp = "" | ||
31 | |||
29 | do_install:append () { | 32 | do_install:append () { |
30 | # Remove firmware not for this platform | 33 | # Remove firmware not for this platform |
31 | find ${D}/${base_libdir}/firmware/imx/dsp -name hifi4_*.bin -not -name *${HIFI4_PLATFORM}* -exec rm {} \; | 34 | find ${D}/${base_libdir}/firmware/imx/dsp -name hifi4_*.bin -not -name *${HIFI4_PLATFORM}* -exec rm {} \; |
32 | # Set the expected generic name for the firmware | 35 | # Set the expected generic name for the firmware |
33 | mv ${D}/${base_libdir}/firmware/imx/dsp/hifi4_${HIFI4_PLATFORM}.bin ${D}/${base_libdir}/firmware/imx/dsp/hifi4.bin | 36 | mv ${D}/${base_libdir}/firmware/imx/dsp/hifi4_${HIFI4_PLATFORM}.bin ${D}/${base_libdir}/firmware/imx/dsp/hifi4.bin |
37 | # Remove unit tests not for this platform | ||
38 | for unsupported_test in ${UNSUPPORTED_TESTS}; do | ||
39 | find ${D}/unit_tests/DSP -name $unsupported_test* -exec rm {} \; | ||
40 | done | ||
34 | } | 41 | } |
35 | 42 | ||
36 | FILES:${PN} = "${libdir}/imx-mm/audio-codec/dsp \ | 43 | FILES:${PN} = "${libdir}/imx-mm/audio-codec/dsp \ |