Message ID | 20220223143045.227246-1-stefan@datenfreihafen.org |
---|---|
State | New |
Headers | show |
Series | [meta-zephyr] zephyr-openthread-rcp: add recipe for OpenThread radio co-processor sample | expand |
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)"