diff mbox series

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

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

Commit Message

philippe.coval@astrolabe.coop Oct. 7, 2022, 8:56 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.ext@huawei.com>
Tested-by: Jon Mason <jon.mason@arm.com>
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Philippe Coval <philippe.coval@astrolabe.coop>
---
 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

Naveen Saini Oct. 11, 2022, 8:27 a.m. UTC | #1
Hi Philippe,

nrf52840-mdk-usb-dongle board is not supported in Zephyr 3.0 [in Kirkstone]. It's available in Zephyr 3.1 onwards.
https://github.com/zephyrproject-rtos/zephyr/commit/b94fe6315870f938d759076a57cd3311ab0a0c06

Error log:
| -- Board: nrf52840_mdk_usb_dongle
| No board named 'nrf52840_mdk_usb_dongle' found.

Regards,
Naveen

> -----Original Message-----
> From: yocto@lists.yoctoproject.org <yocto@lists.yoctoproject.org> On
> Behalf Of philippe.coval@astrolabe.coop
> Sent: Friday, October 7, 2022 4:57 PM
> To: yocto@lists.yoctoproject.org
> Cc: philippe.coval.pro+meta-zephyr-lists.yoctoproject.org@gmail.com;
> Philippe Coval <philippe.coval@astrolabe.coop>; Philippe Coval
> <philippe.coval.ext@huawei.com>; Jon Mason <jon.mason@arm.com>;
> Saini, Naveen Kumar <naveen.kumar.saini@intel.com>
> Subject: [yocto] [meta-zephyr][kirkstone][PATCH] nrf52840-mdk-usb-
> dongle.conf: Add new machine from makerdiary
> 
> 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.ext@huawei.com>
> Tested-by: Jon Mason <jon.mason@arm.com>
> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
> Signed-off-by: Philippe Coval <philippe.coval@astrolabe.coop>
> ---
>  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"