[meta-zephyr][PATCH] frdm-kw41z.conf: Add new machine from NXP


philippe.coval@astrolabe.coop
 

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

It was tested using zephyr-blinky and deployed manually using:

udisksctl mount -b "/dev/disk/by-label'FRDM-KW41ZJ"

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@...>
---
.gitlab-ci.yml | 3 +++
ci/frdm-kw41z.yml | 6 ++++++
meta-zephyr-bsp/conf/machine/frdm-kw41z.conf | 11 +++++++++++
3 files changed, 20 insertions(+)
create mode 100644 ci/frdm-kw41z.yml
create mode 100755 meta-zephyr-bsp/conf/machine/frdm-kw41z.conf

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c185477..5752254 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -71,6 +71,9 @@ machine-coverage:
arduino-nano-33-ble:
extends: .build
=20
+frdm-kw41z:
+ extends: .build
+
intel-x86-64:
extends: .build
=20
diff --git a/ci/frdm-kw41z.yml b/ci/frdm-kw41z.yml
new file mode 100644
index 0000000..cb1ce1f
--- /dev/null
+++ b/ci/frdm-kw41z.yml
@@ -0,0 +1,6 @@
+header:
+ version: 11
+ includes:
+ - ci/base.yml
+
+machine: frdm-kw41z
diff --git a/meta-zephyr-bsp/conf/machine/frdm-kw41z.conf b/meta-zephyr-b=
sp/conf/machine/frdm-kw41z.conf
new file mode 100755
index 0000000..464e83a
--- /dev/null
+++ b/meta-zephyr-bsp/conf/machine/frdm-kw41z.conf
@@ -0,0 +1,11 @@
+#@TYPE: Machine
+#@NAME: frdm-kw41z
+#@DESCRIPTION: Machine configuration for frdm-kw41z=20
+#
+# This file was generated using generate-zephyr-machines
+
+require conf/machine/include/arm/armv6m/tune-cortexm0plus.inc
+
+ARCH:frdm-kw41z =3D "arm"
+
+DEFAULTUNE ?=3D "cortexm0plus"
--=20
2.34.1


Jon Mason
 

On Wed, Sep 28, 2022 at 02:27:26PM +0200, philippe.coval@... wrote:
From: Philippe Coval <philippe.coval@...>

It was tested using zephyr-blinky and deployed manually using:

udisksctl mount -b "/dev/disk/by-label'FRDM-KW41ZJ"

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@...>
Verified in a batch CI job. See https://gitlab.com/jonmason00/meta-zephyr/-/pipelines/654231304

Tested-by: Jon Mason <jon.mason@...>

---
.gitlab-ci.yml | 3 +++
ci/frdm-kw41z.yml | 6 ++++++
meta-zephyr-bsp/conf/machine/frdm-kw41z.conf | 11 +++++++++++
3 files changed, 20 insertions(+)
create mode 100644 ci/frdm-kw41z.yml
create mode 100755 meta-zephyr-bsp/conf/machine/frdm-kw41z.conf

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c185477..5752254 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -71,6 +71,9 @@ machine-coverage:
arduino-nano-33-ble:
extends: .build

+frdm-kw41z:
+ extends: .build
+
intel-x86-64:
extends: .build

diff --git a/ci/frdm-kw41z.yml b/ci/frdm-kw41z.yml
new file mode 100644
index 0000000..cb1ce1f
--- /dev/null
+++ b/ci/frdm-kw41z.yml
@@ -0,0 +1,6 @@
+header:
+ version: 11
+ includes:
+ - ci/base.yml
+
+machine: frdm-kw41z
diff --git a/meta-zephyr-bsp/conf/machine/frdm-kw41z.conf b/meta-zephyr-bsp/conf/machine/frdm-kw41z.conf
new file mode 100755
index 0000000..464e83a
--- /dev/null
+++ b/meta-zephyr-bsp/conf/machine/frdm-kw41z.conf
@@ -0,0 +1,11 @@
+#@TYPE: Machine
+#@NAME: frdm-kw41z
+#@DESCRIPTION: Machine configuration for frdm-kw41z
+#
+# This file was generated using generate-zephyr-machines
+
+require conf/machine/include/arm/armv6m/tune-cortexm0plus.inc
+
+ARCH:frdm-kw41z = "arm"
+
+DEFAULTUNE ?= "cortexm0plus"
--
2.34.1