diff mbox series

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

Message ID 20220928122726.1374956-1-philippe.coval@astrolabe.coop
State New
Headers show
Series [meta-zephyr] frdm-kw41z.conf: Add new machine from NXP | expand

Commit Message

philippe.coval@astrolabe.coop Sept. 28, 2022, 12:27 p.m. UTC
From: Philippe Coval <philippe.coval@astrolabe.coop>

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@astrolabe.coop>
---
 .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

Comments

Jon Mason Sept. 29, 2022, 2:48 p.m. UTC | #1
On Wed, Sep 28, 2022 at 02:27:26PM +0200, philippe.coval@astrolabe.coop wrote:
> From: Philippe Coval <philippe.coval@astrolabe.coop>
> 
> 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@astrolabe.coop>

Verified in a batch CI job.  See https://gitlab.com/jonmason00/meta-zephyr/-/pipelines/654231304

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

> ---
>  .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
> 
>
diff mbox series

Patch

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"