You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I could patch this (not sure if it worth, because it can vary from system to system?), anyway the linux2 folder would be missing along with the link, and i have no idea where in the toolchain install process this can be done... at least the main.py could check file existing before path rely?
The text was updated successfully, but these errors were encountered:
I think clearer instructions in the Linux section at https://learn.adafruit.com/bluefruit-nrf52-feather-learning-guide/arduino-bsp-setup would suffice here, particularly the line about "Add pip3 installation dir to your PATH if it is not added already. Make sure adafruit-nrfutil can be executed in terminal by running..."
For the neophyte, going from "Add pip3 installation dir to your PATH" to the real work required - for example, in Ubuntu 18.04.3 I edited my ~/.profile file and added:
# add pip3 site packages folder to PATH for adafruit-nrfutil PATH="$PATH:$HOME/.local/bin"
#26
Have same problem on linux (ubuntu 18.04), on the script it seems that other OS rely on the tool being on path...
from this PR: #27
on
~/.platformio/platforms/nordicnrf52/builder/main.py
would serve both systems "macos" and "linux2"
os_platform="linux2"
created
linux2
folder on~.platformio/packages/framework-arduinoadafruitnrf52/tools/adafruit-nrfutil
linked
adafruit-nrfutil
to~/.local/bin/adafruit-nrfutil
ln ~/.local/bin/adafruit-nrfutil
that is the correct path on my system when following install procedures from https://github.com/adafruit/Adafruit_nRF52_nrfutil
pip3 install --user adafruit-nrfutil
I could patch this (not sure if it worth, because it can vary from system to system?), anyway the
linux2
folder would be missing along with the link, and i have no idea where in the toolchain install process this can be done... at least the main.py could check file existing before path rely?The text was updated successfully, but these errors were encountered: