Open PALcod3 opened 2 years ago
You can write the Interface Flags into /boot/config.txt. Initially the newly written image has this written inside the config.txt:
#dtparam=i2c_arm=on #dtparam=i2s=on #dtparam=spi=on
So you have to check if it is written like above, or like #dtparam=spi=off or like dtparam=spi=off then change it to
#dtparam=spi=off
dtparam=spi=off
dtparam=i2c_arm=on dtparam=i2s=on dtparam=spi=on
If it is already like this, then do nothing.
But this has to be written as an ansible task
You can write the Interface Flags into /boot/config.txt. Initially the newly written image has this written inside the config.txt:
So you have to check if it is written like above, or like
#dtparam=spi=off
or likedtparam=spi=off
then change it toIf it is already like this, then do nothing.
But this has to be written as an ansible task