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


Jon Mason
 

On Wed, Sep 28, 2022 at 03:09:01PM +0200, philippe.coval@... wrote:
From: Philippe Coval <philippe.coval@...>

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@...>
Signed-off-by: Philippe Coval <philippe.coval.ext@...>
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@...>


---
.../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


philippe.coval@astrolabe.coop
 

From: Philippe Coval <philippe.coval@...>

This makerdiary board can be a fallback option for Oniro's gateway-bluepr=
int
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/transparen=
t-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=3Dposterid:659=
0488
Signed-off-by: Philippe Coval <philippe.coval@...>
Signed-off-by: Philippe Coval <philippe.coval.ext@...>
---
.../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-openthr=
ead-rcp.bb b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-openthr=
ead-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 +=3D "-DCONF_FILE=3D"prj.conf overlay-rcp.c=
onf overlay-usb-nrf-br.conf
# 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|nrf52840dk-nrf52840)"
+COMPATIBLE_MACHINE =3D "(arduino-nano-33-ble|nrf52840dk-nrf52840|nrf5284=
0-mdk-usb-dongle)"
--=20
2.34.1