projects
/
EVA-2020-02-2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
b17f34b
)
Enable i2c and SPI
author
Phil Howard
<phil@gadgetoid.com>
Thu, 13 Jun 2019 09:33:21 +0000
(10:33 +0100)
committer
Phil Howard
<phil@gadgetoid.com>
Thu, 13 Jun 2019 09:33:21 +0000
(10:33 +0100)
install.sh
patch
|
blob
|
blame
|
history
diff --git
a/install.sh
b/install.sh
index c1d36d64258eb5bc535aad03197dd8c640edba52..1136de8635d553ae7c586aedcb2ba1ac25845a1c 100755
(executable)
--- a/
install.sh
+++ b/
install.sh
@@
-27,6
+27,10
@@
cd ..
printf "Backing up $CONFIG\n"
cp $CONFIG "config.preinstall-$DATESTAMP.txt"
printf "Backing up $CONFIG\n"
cp $CONFIG "config.preinstall-$DATESTAMP.txt"
+printf "Setting up i2c and SPI..\n"
+raspi-config nonint do_spi 0
+raspi-config nonint do_i2c 0
+
printf "Setting up serial for PMS5003..\n"
# Disable serial terminal over /dev/ttyAMA0
raspi-config nonint do_serial 1
printf "Setting up serial for PMS5003..\n"
# Disable serial terminal over /dev/ttyAMA0
raspi-config nonint do_serial 1