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


Naveen Saini
 

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

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

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@...>
Tested-by: Jon Mason <jon.mason@...>
Signed-off-by: Naveen Saini <naveen.kumar.saini@...>
Signed-off-by: Philippe Coval <philippe.coval@...>
---
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

Join yocto@lists.yoctoproject.org to automatically receive all group messages.