Package Details: zephyr-sdk 0.14.1-1

Git Clone URL: https://aur.archlinux.org/zephyr-sdk.git (read-only, click to copy)
Package Base: zephyr-sdk
Description: SDK for Zephyr real-time operating system
Upstream URL: https://www.zephyrproject.org/
Licenses: Apache
Submitter: alexei
Maintainer: alexei (ogden)
Last Packager: ogden
Votes: 8
Popularity: 0.24
First Submitted: 2018-07-11 22:57 (UTC)
Last Updated: 2022-04-13 17:11 (UTC)

Latest Comments

dp7hgh7 commented on 2022-01-22 08:14 (UTC)

The following patch should do the trick. I could also co-maintain if necessary.

From 657cac9681292e6f9a0ae7a16f0815d1a7e7f166 Mon Sep 17 00:00:00 2001
From: Caspar Friedrich <c.s.w.friedrich@gmail.com>
Date: Sat, 22 Jan 2022 09:12:10 +0100
Subject: [PATCH] 0.13.2

Signed-off-by: Caspar Friedrich <c.s.w.friedrich@gmail.com>
---
 .SRCINFO | 7 +++----
 PKGBUILD | 4 ++--
 2 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/.SRCINFO b/.SRCINFO
index 86b12f8..479624d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
 pkgbase = zephyr-sdk
    pkgdesc = SDK for Zephyr real-time operating system
-   pkgver = 0.13.1
+   pkgver = 0.13.2
    pkgrel = 1
    url = https://www.zephyrproject.org/
    install = zephyr-sdk.install
@@ -46,10 +46,9 @@ pkgbase = zephyr-sdk
    depends = cmake>=3.8.2
    optdepends = pyocd: programming and debugging ARM MCUs
    options = !strip
-   source = https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.13.1/zephyr-sdk-0.13.1-linux-x86_64-setup.run
+   source = https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.13.2/zephyr-sdk-0.13.2-linux-x86_64-setup.run
    source = zephyrrc
-   sha256sums = 682c6ad29f736ff7af0d029b03277f2a08617edb37903f74996f12ad08fe6b91
+   sha256sums = 334dd3bfb3ca69659b381ae2012a2188a414a6c86dec75e3eec3b0b33e11ac1e
    sha256sums = 7a1257272c64bdec281283d391e3149cece065935c9e8394d6bece32d0f6fc05

 pkgname = zephyr-sdk
-
diff --git a/PKGBUILD b/PKGBUILD
index f3a0240..6d0bc83 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Alexei Colin <ac@alexeicolin.com>

 pkgname=zephyr-sdk
-pkgver=0.13.1
+pkgver=0.13.2
 pkgrel=1
 pkgdesc="SDK for Zephyr real-time operating system"
 arch=('x86_64')
@@ -160,5 +160,5 @@ package ()

 # More info: https://docs.zephyrproject.org/latest/getting_started/index.html

-sha256sums=('682c6ad29f736ff7af0d029b03277f2a08617edb37903f74996f12ad08fe6b91'
+sha256sums=('334dd3bfb3ca69659b381ae2012a2188a414a6c86dec75e3eec3b0b33e11ac1e'
             '7a1257272c64bdec281283d391e3149cece065935c9e8394d6bece32d0f6fc05')
-- 
2.34.1


tsangares commented on 2022-01-12 03:53 (UTC)

Nevermind, I restarted and now every works great! Thank you

tsangares commented on 2022-01-11 05:56 (UTC)

@ogden @duyanh-y4n I am also getting

FATAL ERROR: one or more Python dependencies were missing; see the getting started guide for details on how to fix

I installed jlink and nrf5x-command-line-tools along with zephyr-sdk zephyr python-west.

ogden commented on 2021-11-12 09:47 (UTC) (edited on 2021-11-12 09:52 (UTC) by ogden)

@duyanh-y4n jlink is a runner same as nrfjprog: these are very much dependent on the board you are flashing and might not be applicable to everyone. For jlink please install jlink from aur and if you need nrfjprog see nrf5x-command-line-tools from aur. Hope this helps.

alexei commented on 2021-11-12 05:30 (UTC)

@ogden: added you as co-maint. Thanks a lot.

ogden commented on 2021-11-12 00:36 (UTC) (edited on 2021-11-12 00:38 (UTC) by ogden)

I'm more than happy to help maintain this package. I use zephyr quite frequently and have a need for this. Let me know and thanks for all your contributions thus far.

duyanh-y4n commented on 2021-10-25 14:24 (UTC) (edited on 2021-10-27 07:36 (UTC) by duyanh-y4n)

Please also update and sync this package with the newest python-west package. At this point, west v0.11 is unusable with zephyr SDK 0.11 as there are some missing python dependencies. Maybe set back python-west = 0.10.1 if you can't update this package anytime soon. Thank you :)

-- west flash: using runner jlink
FATAL ERROR: one or more Python dependencies were missing; see the getting started guide for details on how to fix

dp7hgh7 commented on 2021-09-26 19:44 (UTC) (edited on 2021-10-04 21:48 (UTC) by dp7hgh7)

From 10739568214075999ab973df3f0db5817ec31128 Mon Sep 17 00:00:00 2001
From: Caspar Friedrich <c.s.w.friedrich@gmail.com>
Date: Mon, 4 Oct 2021 23:46:57 +0200
Subject: [PATCH] 0.13.1

Signed-off-by: Caspar Friedrich <c.s.w.friedrich@gmail.com>
---
 .SRCINFO | 7 +++----
 PKGBUILD | 6 +++---
 2 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/.SRCINFO b/.SRCINFO
index 17ac791..52c0320 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
 pkgbase = zephyr-sdk
    pkgdesc = SDK for Zephyr real-time operating system
-   pkgver = 0.12.4
+   pkgver = 0.13.1
    pkgrel = 1
    url = https://www.zephyrproject.org/
    install = zephyr-sdk.install
@@ -46,10 +46,9 @@ pkgbase = zephyr-sdk
    depends = cmake>=3.8.2
    optdepends = pyocd: programming and debugging ARM MCUs
    options = !strip
-   source = https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.12.4/zephyr-sdk-0.12.4-x86_64-linux-setup.run
+   source = https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.13.1/zephyr-sdk-0.13.1-linux-x86_64-setup.run
    source = zephyrrc
-   sha256sums = 5382df7c47b63b4a259004270f27211d20de1a612c25fde5c97af6864383879c
+   sha256sums = 682c6ad29f736ff7af0d029b03277f2a08617edb37903f74996f12ad08fe6b91
    sha256sums = 7a1257272c64bdec281283d391e3149cece065935c9e8394d6bece32d0f6fc05

 pkgname = zephyr-sdk
-
diff --git a/PKGBUILD b/PKGBUILD
index 7f3bb7f..04929b8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Alexei Colin <ac@alexeicolin.com>

 pkgname=zephyr-sdk
-pkgver=0.12.4
+pkgver=0.13.1
 pkgrel=1
 pkgdesc="SDK for Zephyr real-time operating system"
 arch=('x86_64')
@@ -27,7 +27,7 @@ depends=('python-breathe>=4.9.1' 'python-docutils>=0.14'
          'doxygen' 'dfu-util' 'dtc' 'cmake>=3.8.2')
 optdepends=('pyocd: programming and debugging ARM MCUs')
 makedepends=('patchelf')
-_installer=zephyr-sdk-${pkgver}-x86_64-linux-setup.run
+_installer=zephyr-sdk-${pkgver}-linux-x86_64-setup.run
 source=("https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v${pkgver}/${_installer}"
         "zephyrrc"
 )
@@ -160,5 +160,5 @@ package ()

 # More info: https://docs.zephyrproject.org/latest/getting_started/index.html

-sha256sums=('5382df7c47b63b4a259004270f27211d20de1a612c25fde5c97af6864383879c'
+sha256sums=('682c6ad29f736ff7af0d029b03277f2a08617edb37903f74996f12ad08fe6b91'
             '7a1257272c64bdec281283d391e3149cece065935c9e8394d6bece32d0f6fc05')
-- 
2.33.0

tsangares commented on 2021-09-23 00:40 (UTC)

needs to be version 0.13

pjvds commented on 2021-09-10 07:32 (UTC)

Here is at patch for 0.13.0:

diff --git a/.SRCINFO b/.SRCINFO
index 17ac791..9d91396 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
 pkgbase = zephyr-sdk
    pkgdesc = SDK for Zephyr real-time operating system
-   pkgver = 0.12.4
+   pkgver = 0.13.0
    pkgrel = 1
    url = https://www.zephyrproject.org/
    install = zephyr-sdk.install
@@ -46,10 +46,9 @@ pkgbase = zephyr-sdk
    depends = cmake>=3.8.2
    optdepends = pyocd: programming and debugging ARM MCUs
    options = !strip
-   source = https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.12.4/zephyr-sdk-0.12.4-x86_64-linux-setup.run
+   source = https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.13.0/zephyr-sdk-0.13.0-linux-x86_64-setup.run
    source = zephyrrc
-   sha256sums = 5382df7c47b63b4a259004270f27211d20de1a612c25fde5c97af6864383879c
+   sha256sums = 722701b7de290994e98fa57ee67a88cf046418bfc24a37ee4e74e1102880038e
    sha256sums = 7a1257272c64bdec281283d391e3149cece065935c9e8394d6bece32d0f6fc05

 pkgname = zephyr-sdk
-
diff --git a/PKGBUILD b/PKGBUILD
index 7f3bb7f..8b39cd8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Alexei Colin <ac@alexeicolin.com>

 pkgname=zephyr-sdk
-pkgver=0.12.4
+pkgver=0.13.0
 pkgrel=1
 pkgdesc="SDK for Zephyr real-time operating system"
 arch=('x86_64')
@@ -27,7 +27,7 @@ depends=('python-breathe>=4.9.1' 'python-docutils>=0.14'
          'doxygen' 'dfu-util' 'dtc' 'cmake>=3.8.2')
 optdepends=('pyocd: programming and debugging ARM MCUs')
 makedepends=('patchelf')
-_installer=zephyr-sdk-${pkgver}-x86_64-linux-setup.run
+_installer=zephyr-sdk-${pkgver}-linux-x86_64-setup.run
 source=("https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v${pkgver}/${_installer}"
         "zephyrrc"
 )
@@ -160,5 +160,5 @@ package ()

 # More info: https://docs.zephyrproject.org/latest/getting_started/index.html

-sha256sums=('5382df7c47b63b4a259004270f27211d20de1a612c25fde5c97af6864383879c'
+sha256sums=('722701b7de290994e98fa57ee67a88cf046418bfc24a37ee4e74e1102880038e'
             '7a1257272c64bdec281283d391e3149cece065935c9e8394d6bece32d0f6fc05')

Kamilcuk commented on 2021-01-24 18:32 (UTC)

Thanks! :)

alexei commented on 2021-01-24 18:11 (UTC)

@Kamilcuk, @anon: removed python-mock, thanks.

Kamilcuk commented on 2020-09-06 09:36 (UTC)

Please remove python-mock dependency

commented on 2020-07-19 22:00 (UTC)

python-mock >=4.0.1 is not available on the AUR because it has been merged into the Python standard lib since Python 3.3. Please remove this uneccessary dependency. "mock is now part of the Python standard library, available as unittest.mock in Python 3.3 onwards." source: https://pypi.org/project/mock/

commented on 2020-07-17 23:22 (UTC)

11.4 is now out and python-milksnake is an unsupported dependency for a long time now. It has been at least 3 months since this package was last updated. I had issues getting this SDK to build last year and I was hoping time would help but maybe not. @alexei, are you going to fix these issues?

alexei commented on 2019-06-29 22:40 (UTC)

@jowlo: I saw the relocation problem at time of last update, and I thought I fixed it in the PKGBUILD, but my fix had a bug. I fixed that bug; should work now.

jowlo commented on 2019-06-20 16:44 (UTC)

I encountered an hard to track error when building a Zephyr application using this package built via pakku, as the dtc interpreter is still set to the temporary build dir. CMake however complains about the dtc version.

$file /opt/zephyr-sdk/sysroots/x86_64-pokysdk-linux/usr/bin/dtc /opt/zephyr-sdk/sysroots/x86_64-pokysdk-linux/usr/bin/dtc: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /tmp/pakku-jowlo/zephyr-sdk/pkg/zephyr-sdk/opt/zephyr-sdk/sysroots/x86_64-pokysdk-linux/lib/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=9a0e353686d13fed7e6496f553c3838571239bd2, stripped

It can however be fixed using patchelf (available in AUR): $patchelf --set-interpreter /usr/lib64/ld-linux-x86-64.so.2 /opt/zephyr-sdk/sysroots/x86_64-pokysdk-linux/usr/bin/dtc

alexei commented on 2019-03-27 05:48 (UTC) (edited on 2019-08-31 16:01 (UTC) by alexei)

Note that Zephyr Kernel releases v1.13.0 (Sept 9, 2018) and v1.14 (April 16, 2019) are not buildable with SDK 0.10.1 to 0.10.3 (due to change to shipping CrossTool toolchains instead of Yocto toolchains). To use this SDK version, get the latest Zephyr Kernel from the git master.