From 0884a0e3473051c0cd5192260115e2aece7fc89c Mon Sep 17 00:00:00 2001
From: Alessandro Pecugi <alessandro.pecugi@seco.com>
Date: Thu, 5 Oct 2023 11:52:59 +0000
Subject: [PATCH] [RPI][UART] enable UART by default

Enable UART by default for raspberryPi.
With this variable set, meta-raspberrypi will add enable_uart=1 to config.txt and set
the correct tty in the kernel cmdline args
---
 conf/layer.conf | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/conf/layer.conf b/conf/layer.conf
index 0a61c68..0eba1dd 100644
--- a/conf/layer.conf
+++ b/conf/layer.conf
@@ -26,6 +26,8 @@ display_auto_detect=1\n\
 arm_boost=1\n\
 "
 
+ENABLE_UART = "1"
+
 # when building edgehog-things, lirc package is not built therefore the bbappend contained in meta-raspberrypi causes an error
 BBMASK:rpi += " \
     /dynamic-layers/meta-python/recipes-connectivity/lirc/ \
-- 
GitLab