aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Schmidt <stefan.schmidt@huawei.com>2022-02-23 15:30:45 +0100
committerNaveen Saini <naveen.kumar.saini@intel.com>2022-02-28 20:30:57 +0800
commit423fd741d4f2bd320e775da1409847020a84c67f (patch)
tree4b7d9b4d74ca952442fe146b89eddd57899fca26
parent005557e6d48d7512e8bbb6e067b9169468a24df0 (diff)
downloadmeta-zephyr-423fd741d4f2bd320e775da1409847020a84c67f.tar.gz
meta-zephyr-423fd741d4f2bd320e775da1409847020a84c67f.tar.bz2
meta-zephyr-423fd741d4f2bd320e775da1409847020a84c67f.zip
zephyr-openthread-rcp: add recipe for OpenThread radio co-processor sample
This builds the sample for the radio co-processor firmware with a specific set of overlays to work over USB transport. Signed-off-by: Stefan Schmidt <stefan.schmidt@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
-rw-r--r--meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-openthread-rcp.bb10
1 files changed, 10 insertions, 0 deletions
diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-openthread-rcp.bb b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-openthread-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 = "${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)"