diff options
| author | Anton Gerasimov <tossel@gmail.com> | 2018-06-02 13:17:50 +0200 |
|---|---|---|
| committer | Andrei Gherzan <andrei@gherzan.com> | 2018-06-04 16:00:39 +0100 |
| commit | f51047bafbc7dd33ba0066bf482a2ebbaa006faa (patch) | |
| tree | ea63d36cfde91043e34acdce068b90d9c90b72aa | |
| parent | 2ad9aa01e7f342ca31831b0f57f4bb6e74d891c6 (diff) | |
| download | meta-raspberrypi-f51047bafbc7dd33ba0066bf482a2ebbaa006faa.tar.gz | |
rpi-config: load at86rf233 overlay
Controlled with ENABLED_AT86RF variable
Signed-off-by: Anton Gerasimov <tossel@gmail.com>
| -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 | } |
