Remove wiringpi and use already included libgpiod (#59)

This commit is contained in:
Shantur Rathore 2021-08-25 15:37:27 +01:00 committed by GitHub
parent 9aadb78ebc
commit 9b4622b498
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View File

@ -65,7 +65,6 @@ depends=(
openssl openssl
platformio platformio
avrdude-svn avrdude-svn
wiringpi
make make
patch patch
sudo sudo

View File

@ -16,8 +16,8 @@ upload:
bash -ex -c " \ bash -ex -c " \
current=`cat .current`; \ current=`cat .current`; \
if [ '$($@_CURRENT)' == 'spi' ] || [ '$($@_CURRENT)' == 'aum' ]; then \ if [ '$($@_CURRENT)' == 'spi' ] || [ '$($@_CURRENT)' == 'aum' ]; then \
gpio -g write 25 1; \ gpioset 0 25=1; \
gpio -g write 25 0; \ gpioset 0 25=0; \
fi \ fi \
" "
platformio run --environment '$($@_CURRENT)' --target upload platformio run --environment '$($@_CURRENT)' --target upload