add nrfutil install
This commit is contained in:
parent
eda5934b82
commit
c053f8b0ba
1 changed files with 2 additions and 0 deletions
|
|
@ -142,6 +142,8 @@ fi
|
||||||
|
|
||||||
if [[ $INSTALL_NRF52 == 1 ]]; then
|
if [[ $INSTALL_NRF52 == 1 ]]; then
|
||||||
echo -n "ADAFRUIT NRF5X: "
|
echo -n "ADAFRUIT NRF5X: "
|
||||||
|
sudo apt-get install python3 python3-pip python3-setuptools
|
||||||
|
pip3 install --user adafruit-nrfutil
|
||||||
DEPENDENCY_OUTPUT=$(arduino --install-boards adafruit:nrf52 2>&1)
|
DEPENDENCY_OUTPUT=$(arduino --install-boards adafruit:nrf52 2>&1)
|
||||||
if [ $? -ne 0 ]; then echo -e "\xe2\x9c\x96 OR CACHED"; else echo -e """$GREEN""\xe2\x9c\x93"; fi
|
if [ $? -ne 0 ]; then echo -e "\xe2\x9c\x96 OR CACHED"; else echo -e """$GREEN""\xe2\x9c\x93"; fi
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue