[meta-zephyr][PATCH] zephyr-openthread-rcp: add recipe for OpenThread radio co-processor sample


Stefan Schmidt
 

From: Stefan Schmidt <stefan.schmidt@...>

This builds the sample for the radio co-processor firmware with a specifi=
c
set of overlays to work over USB transport.

Signed-off-by: Stefan Schmidt <stefan.schmidt@...>
---
.../zephyr-kernel/zephyr-openthread-rcp.bb | 10 ++++++++++
1 file changed, 10 insertions(+)
create mode 100644 meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-=
openthread-rcp.bb

diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-openthr=
ead-rcp.bb b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-openthr=
ead-rcp.bb
new file mode 100644
index 0000000..708e56a
--- /dev/null
+++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-openthread-rcp=
.bb
@@ -0,0 +1,10 @@
+include zephyr-sample.inc
+
+ZEPHYR_SRC_DIR =3D "${S}/samples/net/openthread/coprocessor"
+
+EXTRA_OECMAKE +=3D "-DCONF_FILE=3D"prj.conf overlay-rcp.conf overlay-usb=
-nrf-br.conf" -DDTC_OVERLAY_FILE=3D"usb.overlay""
+
+# The overlay config and OpenThread itself imposes some specific require=
ments
+# towards the boards (e.g. flash layout and ieee802154 radio) so we need=
to
+# limit to known working machines here.
+COMPATIBLE_MACHINE =3D "(arduino-nano-33-ble)"
--=20
2.35.1

Join yocto@lists.yoctoproject.org to automatically receive all group messages.