new file mode 100644
@@ -0,0 +1,25 @@
+SUMMARY = "RPMsg DMA shared library"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=744e63d2bb8c6151dcdd97f49aa02c53"
+
+SRC_URI = "git://github.com/TexasInstruments/rpmsg-dma.git;protocol=https;branch=main"
+SRCREV = "1fce50101eeeebb595dcc07bf8d3ca2a8f9ffe2c"
+
+S = "${WORKDIR}/git"
+
+DEPENDS = "ti-rpmsg-char"
+
+EXTRA_OEMAKE = "lib"
+do_compile() {
+ oe_runmake ${EXTRA_OEMAKE}
+}
+
+do_install() {
+ install -d ${D}${libdir}
+ install -m 0755 lib/librpmsg_dma.so.1.0 ${D}${libdir}/
+ ln -sf librpmsg_dma.so.1.0 ${D}${libdir}/librpmsg_dma.so.1
+ ln -sf librpmsg_dma.so.1 ${D}${libdir}/librpmsg_dma.so
+
+ install -d ${D}${includedir}/rpmsg_dma
+ install -m 0644 include/*.h ${D}${includedir}/rpmsg_dma/
+}
new file mode 100644
@@ -0,0 +1,27 @@
+SUMMARY = "Audio Offload Example using RPMsg DMA"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=744e63d2bb8c6151dcdd97f49aa02c53"
+
+SRC_URI = "git://github.com/TexasInstruments/rpmsg-dma.git;protocol=https;branch=main"
+SRCREV = "1fce50101eeeebb595dcc07bf8d3ca2a8f9ffe2c"
+
+S = "${WORKDIR}/git"
+
+DEPENDS = "ti-librpmsg-dma fftw libsndfile1 alsa-lib"
+
+do_compile() {
+ oe_runmake -C example/audio_offload
+}
+
+do_install() {
+ install -d ${D}${bindir}
+ install -m 0755 example/audio_offload/bin/rpmsg_audio_offload_example ${D}${bindir}/
+
+ install -d ${D}${sysconfdir}
+ install -d ${D}/opt
+ install -m 0644 example/audio_offload/config/dsp_offload.cfg ${D}${sysconfdir}/dsp_offload.cfg
+ install -m 0644 example/audio_offload/audio_sample/sample_audio.wav ${D}/opt/sample_audio.wav
+}
+
+FILES:${PN} += "${sysconfdir}/dsp_offload.cfg"
+FILES:${PN} += "/opt/sample_audio.wav"