Package Details: nrf5x-command-line-tools 10.14.0-0

Git Clone URL: https://aur.archlinux.org/nrf5x-command-line-tools.git (read-only, click to copy)
Package Base: nrf5x-command-line-tools
Description: Tools for programming Nordic nRF51, nRF52 and nRF91 MCU using J-Link
Upstream URL: https://www.nordicsemi.com/Software-and-Tools/Development-Tools/nRF-Command-Line-Tools
Licenses: custom
Conflicts: nrfjprog
Provides: nrfjprog
Submitter: Limoto
Maintainer: pjvds
Last Packager: pjvds
Votes: 16
Popularity: 0.27
First Submitted: 2016-02-13 22:31
Last Updated: 2021-09-11 08:41

Latest Comments

1 2 3 Next › Last »

pinsl commented on 2021-09-11 13:41

Hmm it now creates two empty folders in /opt. Would you consider adding me as a co-maintainer?

pjvds commented on 2021-09-11 08:42

@pins thanks for the patch! Applied and it is working again.

pinsl commented on 2021-09-10 09:40

The PKGBUILD does not work. It seems like the archives structure was changed significantly in 10.14.0.

I got it working with this patch:

diff --git a/PKGBUILD b/PKGBUILD
index c9a87f3..12dc823 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -17,18 +17,16 @@ source_x86_64=("https://www.nordicsemi.com/-/media/Software-and-other-downloads/
 md5sums_x86_64=('8a049bacc67519561b77e014b652d5df')

 package() {
-    cd ${srcdir}/nRF-Command-Line-Tools_${pkgver}_Linux64
-    tar zxf "nRF-Command-Line-Tools_${pkgver}_Linux-amd64.tar.gz"
-    tar xf "nRF-Command-Line-Tools_${pkgver}.tar"
+    cd ${srcdir}/nRF-Command-Line-Tools_${pkgver//./_}_Linux64
+    tar zxf "nrf-command-line-tools-${pkgver}_Linux-amd64.tar.gz"

     # Install nrfjprog and mergehex
-    install -dm755 "${pkgdir}/opt/nrfjprog" "${pkgdir}/opt/mergehex"
+    install -dm755 "${pkgdir}/opt/${pkgname}"
     install -dm755 "${pkgdir}/usr/bin" "${pkgdir}/usr/share/licenses/${pkgname}"

-    cp -r --preserve=mode nrfjprog/* "${pkgdir}/opt/nrfjprog"
-    cp --preserve=mode mergehex/* "${pkgdir}/opt/mergehex"
-    cp --preserve=mode nrfjprog/LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+    cp -r --preserve=mode nrf-command-line-tools/* "${pkgdir}/opt/${pkgname}"
+    cp --preserve=mode nrf-command-line-tools/LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"

-    ln -s "/opt/nrfjprog/nrfjprog" "${pkgdir}/usr/bin"
-    ln -s "/opt/mergehex/mergehex" "${pkgdir}/usr/bin"
+    ln -s "/opt/${pkgname}/bin/nrfjprog" "${pkgdir}/usr/bin"
+    ln -s "/opt/${pkgname}/bin/mergehex" "${pkgdir}/usr/bin"
 }

AlexisPolti commented on 2021-07-23 12:28

@marza : Thanks to YOU to have taken the time to thank me :-) People often take others' free work for granted.

Do not hesitate to adopt the package. The updates are not so frequent. The only downside is that, unlike Segger (cf. jlink-* packages that I maintain), Nordic change their URL and directory structure at each release. So instead of taking 1mn to make a new release as for Segger's tools, it takes around 10mn. But that would be great of you !

marza commented on 2021-07-23 12:10

Thank you very much for the maintenance while it lasted :)

While I can't promise anything, I do use the nrf tools on an irregular basis, so I might take a stab at it the next time I need it.

AlexisPolti commented on 2021-07-22 10:36

Sorry, i don't use this tool anymore and don't have time to maintain this package anymore as Nordic keeps changing their URLs, files' and directory' names... So I disown it, feel free to take it back!

AlexisPolti commented on 2021-06-07 17:06

I didn't packahe Python bindings. As I don't have any real interest in this package anymore, if someone wants to take over its maintenance, you're welcome!

AlexisPolti commented on 2021-02-03 18:36

Sadly, not everyone is like you. As a maintainer yourself, you know what I'm talking about. Happy to meet someone who is polite and helps! For the record, I forgot to mention your name in the PKGBUILD, it's now corrected :)

Thanx a lot and I mean it! :-)

CvR_XX commented on 2021-02-03 17:55

No worries, always happy to help keeping the aur up to date!

AlexisPolti commented on 2021-02-03 16:36

Thanx a lot, fixed! :-)