Update install.sh to support Raspberry Pi 5
This commit is contained in:
parent
1ae8b116b0
commit
628af6a43c
1 changed files with 3 additions and 1 deletions
|
@ -188,10 +188,12 @@ sed -i -e 's:#dtparam=i2c_arm=on:dtparam=i2c_arm=on:g' $CONFIG || true
|
|||
grep -q "^dtoverlay=i2s-mmap$" $CONFIG || \
|
||||
echo "dtoverlay=i2s-mmap" >> $CONFIG
|
||||
|
||||
|
||||
grep -q "^dtparam=i2s=on$" $CONFIG || \
|
||||
echo "dtparam=i2s=on" >> $CONFIG
|
||||
|
||||
grep -q "^dtoverlay=seeed-2mic-voicecard$" $CONFIG || \
|
||||
echo "dtoverlay=seeed-2mic-voicecard" >> $CONFIG
|
||||
|
||||
#install config files
|
||||
mkdir /etc/voicecard || true
|
||||
cp *.conf /etc/voicecard
|
||||
|
|
Loading…
Add table
Reference in a new issue