Skip to contentSkip to conversation

zephyr-openthread-rcp: add recipe for OpenThread radio co-processor sample

PATCH New Stefan Schmidt 1 participant 1 message Feb 23, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 zephyr-openthread-rcp: add recipe for OpenThread radio co-processor sample

From: Stefan Schmidt <[email protected]>

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

---
 .../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
meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-openthread-rcp.bb new file +10 -0
new file mode 100644
index 0000000..708e56a
@@ -0,0 +1,10 @@
+include zephyr-sample.inc
+
+ZEPHYR_SRC_DIR = "${S}/samples/net/openthread/coprocessor"
+
+EXTRA_OECMAKE += "-DCONF_FILE="prj.conf overlay-rcp.conf overlay-usb-nrf-br.conf" -DDTC_OVERLAY_FILE="usb.overlay""
+
+# The overlay config and OpenThread itself imposes some specific requirements
+# towards the boards (e.g. flash layout and ieee802154 radio) so we need to
+# limit to known working machines here.
+COMPATIBLE_MACHINE = "(arduino-nano-33-ble)"
Signature · 1 line
2.35.1