Re: [meta-zephyr][PATCH 2/2] nrf52840dk_nrf52840.conf: Add nRF52840 DK support


Naveen Saini
 

So far, MACHINE configurations are named using '-' instead of '_' . Could you use change it ?

Regards,
Naveen

-----Original Message-----
From: yocto@... <yocto@...> On
Behalf Of Wojciech Zmuda
Sent: Tuesday, May 18, 2021 7:28 PM
To: yocto@...
Cc: Wojciech Zmuda <wojciech.zmuda@...>
Subject: [yocto] [meta-zephyr][PATCH 2/2] nrf52840dk_nrf52840.conf: Add
nRF52840 DK support

From: Wojciech Zmuda <wojciech.zmuda@...>

Add support for Nordic Semiconductor nRF52840 Development Kit board.

This is a generic MACHINE over nRF52 SoC family config plus PyOCD flashing
ability.

Signed-off-by: Wojciech Zmuda <wojciech.zmuda@...>
---
conf/machine/nrf52840dk_nrf52840.conf | 8 ++++++++
1 file changed, 8 insertions(+)
create mode 100644 conf/machine/nrf52840dk_nrf52840.conf

diff --git a/conf/machine/nrf52840dk_nrf52840.conf
b/conf/machine/nrf52840dk_nrf52840.conf
new file mode 100644
index 0000000..0aa50e0
--- /dev/null
+++ b/conf/machine/nrf52840dk_nrf52840.conf
@@ -0,0 +1,8 @@
+#@TYPE: Machine
+#@NAME: nrf52840dk_nrf52840
+
+#@DESCRIPTION: Machine configuration for Nordic Semiconductor
nRF52840 Development Kit.
+
+require conf/machine/include/nrf52.inc
+ZEPHYR_INHERIT_CLASSES += "zephyr-flash-pyocd"
+ARCH_nrf52840dk_nrf52840 = "arm"
--
2.25.1

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