From: Theodor Gherzan <[email protected]>
Signed-off-by: Theodor Gherzan <[email protected]>
---
recipes-bsp/bootfiles/rpi-config_git.bb | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/recipes-bsp/bootfiles/rpi-config_git.bb
b/recipes-bsp/bootfiles/rpi-config_git.bb
index 2941982..0fbb17e 100644
--- a/recipes-bsp/bootfiles/rpi-config_git.bb
+++ b/recipes-bsp/bootfiles/rpi-config_git.bb
@@ -95,6 +95,11 @@ do_deploy() {
if [ "${PITFT28r}" = "1" ]; then
echo "# Enable PITFT28r display"
>>${DEPLOYDIR}/bcm2835-bootfiles/config.txt
echo
"dtoverlay=pitft28-resistive,rotate=90,speed=32000000,txbuflen=32768"
>>${DEPLOYDIR}/bcm2835-bootfiles/config.txt
+
+ # 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
}
--
2.1.4
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto