Update update add WiringPi install

beta-extra
Alan Johnston 1 year ago committed by GitHub
parent f0a5fe45c4
commit 97fa157b05
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -18,7 +18,7 @@ if [ "$1" = "u" ]; then
sudo apt-get update && sudo apt-get dist-upgrade -y sudo apt-get update && sudo apt-get dist-upgrade -y
sudo apt-get install -y wiringpi git libasound2-dev i2c-tools build-essential libgd-dev libmagic-dev python3-pip minicom sudo apt-get install -y git libasound2-dev i2c-tools build-essential libgd-dev libmagic-dev python3-pip minicom
fi fi
@ -171,6 +171,27 @@ else
cd cd
fi fi
if [ ! -d "/home/pi/WiringPi" ]; then
cd
git clone https://github.com/PinkFreud/WiringPi
cd WiringPi
./build debian
sudo dpkg -i debian-template/wiringpi-2.61-1.deb
cd
cd CubeSatSim
make debug
FLAG=1
cd
fi
cd /home/pi/pi-power-button cd /home/pi/pi-power-button
git checkout reboot-mode-change-beta > .updated_b git checkout reboot-mode-change-beta > .updated_b

Loading…
Cancel
Save

Powered by TurnKey Linux.