diff mbox series

[meta-zephyr,PATCHv2] nrf52840-mdk-usb-dongle.conf: Add new machine from makerdiary

Message ID 20220923104509.3428417-1-philippe.coval@astrolabe.coop
State New
Headers show
Series [meta-zephyr,PATCHv2] nrf52840-mdk-usb-dongle.conf: Add new machine from makerdiary | expand

Commit Message

philippe.coval@astrolabe.coop Sept. 23, 2022, 10:45 a.m. UTC
From: Philippe Coval <philippe.coval@astrolabe.coop>

It was tested with zephyr-openthread-rcp
along Oniro's IoT gateway blueprint

For the record deployment was done manually:

- Click on device button
- uf2conv.py "zephyr.hex" -c -f 0xADA52840
- and then copy to mounted "/dev/disk/by-label/MDK-DONGLE"

Support of unfree flashing tools might be added later (once double verified)

Forwarded: https://lists.yoctoproject.org/g/yocto/message/58142
Relate-to: https://gitlab.eclipse.org/eclipse/oniro-blueprints/transparent-gateway/meta-oniro-blueprints-gateway/-/issues/6
Relate-to: https://wiki.makerdiary.com/nrf52840-mdk/zephyr/
Relate-to: https://gitlab.eclipse.org/pcoval/oniro-presentations/-/wikis/openthread
Signed-off-by: Philippe Coval <philippe.coval@astrolabe.coop>
Signed-off-by: Philippe Coval <philippe.coval.ext@huawei.com>
---
 meta-zephyr-bsp/conf/machine/nrf52840-mdk-usb-dongle.conf | 7 +++++++
 1 file changed, 7 insertions(+)
 create mode 100644 meta-zephyr-bsp/conf/machine/nrf52840-mdk-usb-dongle.conf

Comments

Jon Mason Sept. 26, 2022, 6:59 p.m. UTC | #1
On Fri, Sep 23, 2022 at 12:45:09PM +0200, philippe.coval@astrolabe.coop wrote:
> From: Philippe Coval <philippe.coval@astrolabe.coop>
> 
> It was tested with zephyr-openthread-rcp
> along Oniro's IoT gateway blueprint
> 
> For the record deployment was done manually:
> 
> - Click on device button
> - uf2conv.py "zephyr.hex" -c -f 0xADA52840
> - and then copy to mounted "/dev/disk/by-label/MDK-DONGLE"
> 
> Support of unfree flashing tools might be added later (once double verified)
> 
> Forwarded: https://lists.yoctoproject.org/g/yocto/message/58142
> Relate-to: https://gitlab.eclipse.org/eclipse/oniro-blueprints/transparent-gateway/meta-oniro-blueprints-gateway/-/issues/6
> Relate-to: https://wiki.makerdiary.com/nrf52840-mdk/zephyr/
> Relate-to: https://gitlab.eclipse.org/pcoval/oniro-presentations/-/wikis/openthread
> Signed-off-by: Philippe Coval <philippe.coval@astrolabe.coop>
> Signed-off-by: Philippe Coval <philippe.coval.ext@huawei.com>

This needs a Gitlab CI entry to test.  I did a quick one and ran CI on
it here:
https://gitlab.com/jonmason00/meta-zephyr/-/pipelines/651094923

I'll email the patch to add CI shortly.

Thanks,
Jon

> ---
>  meta-zephyr-bsp/conf/machine/nrf52840-mdk-usb-dongle.conf | 7 +++++++
>  1 file changed, 7 insertions(+)
>  create mode 100644 meta-zephyr-bsp/conf/machine/nrf52840-mdk-usb-dongle.conf
> 
> diff --git a/meta-zephyr-bsp/conf/machine/nrf52840-mdk-usb-dongle.conf b/meta-zephyr-bsp/conf/machine/nrf52840-mdk-usb-dongle.conf
> new file mode 100644
> index 0000000..67e407a
> --- /dev/null
> +++ b/meta-zephyr-bsp/conf/machine/nrf52840-mdk-usb-dongle.conf
> @@ -0,0 +1,7 @@
> +#@TYPE: Machine
> +#@NAME: nrf52840-mdk-usb-dongle
> +
> +#@DESCRIPTION: Machine configuration for makerdiary's nrf52840-mdk-usb-dongle
> +
> +require conf/machine/include/nrf52.inc
> +ARCH:nrf52840-mdk-usb-dongle = "arm"
> -- 
> 2.34.1
> 
>
diff mbox series

Patch

diff --git a/meta-zephyr-bsp/conf/machine/nrf52840-mdk-usb-dongle.conf b/meta-zephyr-bsp/conf/machine/nrf52840-mdk-usb-dongle.conf
new file mode 100644
index 0000000..67e407a
--- /dev/null
+++ b/meta-zephyr-bsp/conf/machine/nrf52840-mdk-usb-dongle.conf
@@ -0,0 +1,7 @@ 
+#@TYPE: Machine
+#@NAME: nrf52840-mdk-usb-dongle
+
+#@DESCRIPTION: Machine configuration for makerdiary's nrf52840-mdk-usb-dongle
+
+require conf/machine/include/nrf52.inc
+ARCH:nrf52840-mdk-usb-dongle = "arm"