diff options
| -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 2941982..4bc8eb7 100644 --- a/recipes-bsp/bootfiles/rpi-config_git.bb +++ b/recipes-bsp/bootfiles/rpi-config_git.bb | |||
| @@ -96,6 +96,12 @@ do_deploy() { | |||
| 96 | echo "# Enable PITFT28r display" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt | 96 | echo "# Enable PITFT28r display" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt |
| 97 | echo "dtoverlay=pitft28-resistive,rotate=90,speed=32000000,txbuflen=32768" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt | 97 | echo "dtoverlay=pitft28-resistive,rotate=90,speed=32000000,txbuflen=32768" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt |
| 98 | fi | 98 | fi |
| 99 | |||
| 100 | # UART support | ||
| 101 | if [ "${ENABLE_UART}" = "1" ]; then | ||
| 102 | echo "# Enable UART" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt | ||
| 103 | echo "enable_uart=1" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt | ||
| 104 | fi | ||
| 99 | } | 105 | } |
| 100 | 106 | ||
| 101 | addtask deploy before do_package after do_install | 107 | addtask deploy before do_package after do_install |
