mirror of
git://git.yoctoproject.org/meta-raspberrypi.git
synced 2025-07-19 21:09:03 +02:00
rpi-config: load at86rf233 overlay
Controlled with ENABLED_AT86RF variable Signed-off-by: Anton Gerasimov <tossel@gmail.com>
This commit is contained in:
parent
a15dbd32c6
commit
42de47506a
|
@ -178,6 +178,12 @@ do_deploy() {
|
||||||
echo "dtoverlay=dwc2,dr_mode=peripheral" >> ${DEPLOYDIR}/bcm2835-bootfiles/config.txt
|
echo "dtoverlay=dwc2,dr_mode=peripheral" >> ${DEPLOYDIR}/bcm2835-bootfiles/config.txt
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# AT86RF23X support
|
||||||
|
if [ "${ENABLE_AT86RF}" = "1" ]; then
|
||||||
|
echo "# Enable AT86RF23X" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt
|
||||||
|
echo "dtoverlay=at86rf233,speed=3000000" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt
|
||||||
|
fi
|
||||||
|
|
||||||
# Append extra config if the user has provided any
|
# Append extra config if the user has provided any
|
||||||
echo "${RPI_EXTRA_CONFIG}" >> ${DEPLOYDIR}/bcm2835-bootfiles/config.txt
|
echo "${RPI_EXTRA_CONFIG}" >> ${DEPLOYDIR}/bcm2835-bootfiles/config.txt
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user