diff mbox series

[meta-zephyr] zephyr-openthread-rcp: Support nrf52840-mdk-usb-dongle machine

Message ID 20220928130901.1414286-1-philippe.coval@astrolabe.coop
State New
Headers show
Series [meta-zephyr] zephyr-openthread-rcp: Support nrf52840-mdk-usb-dongle machine | expand

Commit Message

philippe.coval@astrolabe.coop Sept. 28, 2022, 1:09 p.m. UTC
From: Philippe Coval <philippe.coval@astrolabe.coop>

This makerdiary board can be a fallback option for Oniro's gateway-blueprint
I've been tested it myself along my single arduino-nano node

Origin: https://gitlab.eclipse.org/eclipse/oniro-core/meta-zephyr/-/merge_requests/22
Relate-to: https://gitlab.eclipse.org/eclipse/oniro-blueprints/transparent-gateway/meta-oniro-blueprints-gateway/-/issues/6
Relate-to: https://gitlab.eclipse.org/pcoval/oniro-presentations/-/wikis/openthread
Forwarded: https://lists.yoctoproject.org/g/yocto/search?q=posterid:6590488
Signed-off-by: Philippe Coval <philippe.coval@astrolabe.coop>
Signed-off-by: Philippe Coval <philippe.coval.ext@huawei.com>
---
 .../recipes-kernel/zephyr-kernel/zephyr-openthread-rcp.bb       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Jon Mason Sept. 29, 2022, 2:53 p.m. UTC | #1
On Wed, Sep 28, 2022 at 03:09:01PM +0200, philippe.coval@astrolabe.coop wrote:
> From: Philippe Coval <philippe.coval@astrolabe.coop>
> 
> This makerdiary board can be a fallback option for Oniro's gateway-blueprint
> I've been tested it myself along my single arduino-nano node
> 
> Origin: https://gitlab.eclipse.org/eclipse/oniro-core/meta-zephyr/-/merge_requests/22
> Relate-to: https://gitlab.eclipse.org/eclipse/oniro-blueprints/transparent-gateway/meta-oniro-blueprints-gateway/-/issues/6
> Relate-to: https://gitlab.eclipse.org/pcoval/oniro-presentations/-/wikis/openthread
> Forwarded: https://lists.yoctoproject.org/g/yocto/search?q=posterid:6590488
> Signed-off-by: Philippe Coval <philippe.coval@astrolabe.coop>
> Signed-off-by: Philippe Coval <philippe.coval.ext@huawei.com>

We probably need to add "zephyr-openthread-rcp" to the yml file as
well (to verify it compiles as part of CI).  Since it is missing for
nrf52840dk-nrf52840 too, I'll do a quick patch to add this for both
and send it out.

That being said, CI isn't verify valid for this since it's not really
compiling it.  However, nothing else breaks :)

Verified in a batch CI job.  See https://gitlab.com/jonmason00/meta-zephyr/-/pipelines/654231304

Tested-by: Jon Mason <jon.mason@arm.com>


> ---
>  .../recipes-kernel/zephyr-kernel/zephyr-openthread-rcp.bb       | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> 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
> index 1b19122..d745e85 100644
> --- a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-openthread-rcp.bb
> +++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-openthread-rcp.bb
> @@ -7,4 +7,4 @@ EXTRA_OECMAKE += "-DCONF_FILE="prj.conf overlay-rcp.conf overlay-usb-nrf-br.conf
>  # 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|nrf52840dk-nrf52840)"
> +COMPATIBLE_MACHINE = "(arduino-nano-33-ble|nrf52840dk-nrf52840|nrf52840-mdk-usb-dongle)"
> -- 
> 2.34.1
> 
>
diff mbox series

Patch

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
index 1b19122..d745e85 100644
--- a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-openthread-rcp.bb
+++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-openthread-rcp.bb
@@ -7,4 +7,4 @@  EXTRA_OECMAKE += "-DCONF_FILE="prj.conf overlay-rcp.conf overlay-usb-nrf-br.conf
 # 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|nrf52840dk-nrf52840)"
+COMPATIBLE_MACHINE = "(arduino-nano-33-ble|nrf52840dk-nrf52840|nrf52840-mdk-usb-dongle)"