Hi,
I updated the package for something that works for me: https://github.com/nim65s/aur-nrf5x-command-line-tools/commit/d17f2fc7c2c22aa2a3851fbbd6ff4a08b6a51061
take what you want :)
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, nRF53 and nRF91 Series devices |
Upstream URL: | https://www.nordicsemi.com/Software-and-Tools/Development-Tools/nRF-Command-Line-Tools |
Keywords: | mergehex nordic nrfjprog pynrfjprog |
Licenses: | custom |
Conflicts: | python-pynrfjprog, python-pynrfjprog-git |
Provides: | mergehex, nrfjprog, python-pynrfjprog |
Submitter: | Limoto |
Maintainer: | pinsl (casparfriedrich) |
Last Packager: | pinsl |
Votes: | 19 |
Popularity: | 0.000145 |
First Submitted: | 2016-02-13 22:31 (UTC) |
Last Updated: | 2025-01-02 14:39 (UTC) |
« First ‹ Previous 1 2 3 4
Hi,
I updated the package for something that works for me: https://github.com/nim65s/aur-nrf5x-command-line-tools/commit/d17f2fc7c2c22aa2a3851fbbd6ff4a08b6a51061
take what you want :)
There is in fact a problem. I'm currently fixing it. Sorry for the inconvenience :/
Hi,
I just tried to install this but nrfjprog and mergehex do not seem to be installed. I have the following files in my installation folders (/opt/nrfjprog and /opt/mergehex):
-rw-r--r-- 1 root root 29M Jun 27 15:02 JLink_Linux_V644e_x86_64.deb
-rw-r--r-- 1 root root 29M Jun 27 15:02 JLink_Linux_V644e_x86_64.tgz
-rw-r--r-- 1 root root 59M Jun 27 15:02 nRF5x-Command-Line-Tools_10_1_1_Linux-x86-64.tar
-rw-r--r-- 1 root root 671K Jun 27 15:02 nRF-Command-Line-Tools_10_1_1_Linux-amd64.deb
-rw-r--r-- 1 root root 1.3M Jun 27 15:02 nRF-Command-Line-Tools_10_1_1_Linux-amd64.tar.gz
-rw-r--r-- 1 root root 722 Jun 27 15:02 README.txt
I had to additionally unpack the amd64.tar.gz files, are you sure the PKGbuild is up to date? Seems to be the same issue as marza had (some comments below)
Fixed thanx!
Thanx I'll look into it ASAP!
Hey, I think Nordic changed their download URLs along with releasing version 10.1.1. I managed to hack this to work for me by editing the PKBUILD to use new URLs, pkgver & md5. I also had to manually unpack a tarball inside the new tarball before the installation worked, don't know enough about the build system to do that automatically... Got the new urls here if needed:
source_i686=("nRF5x-Command-Line-Tools_${pkgver//./_}_Linux-i386.tar::https://www.nordicsemi.com/-/media/Software-and-other-downloads/Desktop-software/nRF5-command-line-tools/sw/Versions-10-x-x/nRFCommandLineTools1011Linuxi386tar.gz")
source_x86_64=("nRF5x-Command-Line-Tools_${pkgver//./_}_Linux-x86-64.tar::https://www.nordicsemi.com/-/media/Software-and-other-downloads/Desktop-software/nRF5-command-line-tools/sw/Versions-10-x-x/nRFCommandLineTools1011Linuxamd64tar.gz")
Link to the tools: https://www.nordicsemi.com/Software-and-Tools/Development-Tools/nRF5-Command-Line-Tools/Download#infotabs
So basically I ran this (after modifying PKGBUILD):
mkpkg -sri (fails after download)
cd src && tar -xvf nRF-Command-Line-Tools_10_1_1_Linux-amd64.tar.gz && cd ..
makepkg -sri (now it works)
Hope that helps in upgrading the package :) I can upload my edited PKBUILD if needed, but I only made changes to the x64 related lines.
Edit: Fixed some linebreaks
Pinned Comments
pinsl commented on 2025-01-09 13:15 (UTC) (edited on 2025-01-09 14:42 (UTC) by pinsl)
Nordic is in the process of replacing the nRF Command Line Tools with nRF Util.
nRF Util can be found here: https://aur.archlinux.org/packages/nrfutil