summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYan <yanxk.fnst@fujitsu.com>2023-10-24 09:10:50 +0800
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2023-10-24 09:08:27 +0000
commit68ca7f2f0ee0065eed55665b13234d81cfd26087 (patch)
tree60bd0312b3d8b91308ea3f2af512469def57bd1b
parent0afcc8915999c48f2f8886887b2e9c33138f55fd (diff)
agl-wireless-monitor: include CH341 driver
CH341 driver is required for the demo for UART communications. Bug-AGL: SPEC-4838 Signed-off-by: Yan <yanxk.fnst@fujitsu.com> Change-Id: I9d1baf6a9463f07631e6737b2b9cdd2c4abe0ee9
-rw-r--r--meta-agl-wireless-monitor/recipes-kernel/linux/files/ch341.cfg1
-rw-r--r--meta-agl-wireless-monitor/recipes-kernel/linux/linux-raspberrypi_5.15.bbappend5
2 files changed, 6 insertions, 0 deletions
diff --git a/meta-agl-wireless-monitor/recipes-kernel/linux/files/ch341.cfg b/meta-agl-wireless-monitor/recipes-kernel/linux/files/ch341.cfg
new file mode 100644
index 00000000..02e6f957
--- /dev/null
+++ b/meta-agl-wireless-monitor/recipes-kernel/linux/files/ch341.cfg
@@ -0,0 +1 @@
+CONFIG_USB_SERIAL_CH341=y
diff --git a/meta-agl-wireless-monitor/recipes-kernel/linux/linux-raspberrypi_5.15.bbappend b/meta-agl-wireless-monitor/recipes-kernel/linux/linux-raspberrypi_5.15.bbappend
new file mode 100644
index 00000000..95287c66
--- /dev/null
+++ b/meta-agl-wireless-monitor/recipes-kernel/linux/linux-raspberrypi_5.15.bbappend
@@ -0,0 +1,5 @@
+FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
+
+SRC_URI += " \
+ file://ch341.cfg \
+ "