add nrfutil install

This commit is contained in:
ladyada 2019-10-06 22:55:56 -04:00
parent eda5934b82
commit c053f8b0ba

View file

@ -142,6 +142,8 @@ fi
if [[ $INSTALL_NRF52 == 1 ]]; then
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)
if [ $? -ne 0 ]; then echo -e "\xe2\x9c\x96 OR CACHED"; else echo -e """$GREEN""\xe2\x9c\x93"; fi
fi