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
2ad9aa01e7
commit
f51047bafb
|
@ -178,6 +178,12 @@ do_deploy() {
|
|||
echo "dtoverlay=dwc2,dr_mode=peripheral" >> ${DEPLOYDIR}/bcm2835-bootfiles/config.txt
|
||||
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
|
||||
echo "${RPI_EXTRA_CONFIG}" >> ${DEPLOYDIR}/bcm2835-bootfiles/config.txt
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user