diff options
| author | Anton Gerasimov <tossel@gmail.com> | 2018-06-02 13:17:50 +0200 |
|---|---|---|
| committer | Andrei Gherzan <andrei@gherzan.com> | 2018-09-06 20:00:49 +0100 |
| commit | 42de47506a4204843611d38949a14135655acb57 (patch) | |
| tree | bf881cae7e8b08b85b853e967996f6e3c62f898e /recipes-bsp/bootfiles/rpi-config_git.bb | |
| parent | a15dbd32c68a3da857942482707662ec3cc6be45 (diff) | |
| download | meta-raspberrypi-42de47506a4204843611d38949a14135655acb57.tar.gz | |
rpi-config: load at86rf233 overlay
Controlled with ENABLED_AT86RF variable
Signed-off-by: Anton Gerasimov <tossel@gmail.com>
Diffstat (limited to 'recipes-bsp/bootfiles/rpi-config_git.bb')
| -rw-r--r-- | recipes-bsp/bootfiles/rpi-config_git.bb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/recipes-bsp/bootfiles/rpi-config_git.bb b/recipes-bsp/bootfiles/rpi-config_git.bb index 0b93208..6924d1f 100644 --- a/recipes-bsp/bootfiles/rpi-config_git.bb +++ b/recipes-bsp/bootfiles/rpi-config_git.bb | |||
| @@ -178,6 +178,12 @@ do_deploy() { | |||
| 178 | echo "dtoverlay=dwc2,dr_mode=peripheral" >> ${DEPLOYDIR}/bcm2835-bootfiles/config.txt | 178 | echo "dtoverlay=dwc2,dr_mode=peripheral" >> ${DEPLOYDIR}/bcm2835-bootfiles/config.txt |
| 179 | fi | 179 | fi |
| 180 | 180 | ||
| 181 | # AT86RF23X support | ||
| 182 | if [ "${ENABLE_AT86RF}" = "1" ]; then | ||
| 183 | echo "# Enable AT86RF23X" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt | ||
| 184 | echo "dtoverlay=at86rf233,speed=3000000" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt | ||
| 185 | fi | ||
| 186 | |||
| 181 | # Append extra config if the user has provided any | 187 | # Append extra config if the user has provided any |
| 182 | echo "${RPI_EXTRA_CONFIG}" >> ${DEPLOYDIR}/bcm2835-bootfiles/config.txt | 188 | echo "${RPI_EXTRA_CONFIG}" >> ${DEPLOYDIR}/bcm2835-bootfiles/config.txt |
| 183 | } | 189 | } |
