From c57a7295d721e70107e6f70223e54ef02f5a973b Mon Sep 17 00:00:00 2001 From: Theodor Gherzan Date: Thu, 21 Apr 2016 20:42:37 +0100 Subject: rpi-config: Add UART enabler Signed-off-by: Theodor Gherzan Signed-off-by: Andrei Gherzan --- recipes-bsp/bootfiles/rpi-config_git.bb | 6 ++++++ 1 file changed, 6 insertions(+) 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() { echo "# Enable PITFT28r display" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt echo "dtoverlay=pitft28-resistive,rotate=90,speed=32000000,txbuflen=32768" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt fi + + # UART support + if [ "${ENABLE_UART}" = "1" ]; then + echo "# Enable UART" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt + echo "enable_uart=1" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt + fi } addtask deploy before do_package after do_install -- cgit v1.2.3-54-g00ecf