Use sllin0 for agl-service-hvac for m3ulcb demo 05/17805/2
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>
Thu, 8 Nov 2018 05:53:14 +0000 (06:53 +0100)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Mon, 12 Nov 2018 18:15:13 +0000 (18:15 +0000)
The green demo machines use m3+kf and serial lin to communicate with the actuators.
Adapt the recipe.

Change-Id: Ia4afea115f16d633d2eeb16c0c662832f81dc438
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
meta-agl-profile-core/recipes-apis/agl-service-hvac/agl-service-hvac_git.bbappend [new file with mode: 0644]

diff --git a/meta-agl-profile-core/recipes-apis/agl-service-hvac/agl-service-hvac_git.bbappend b/meta-agl-profile-core/recipes-apis/agl-service-hvac/agl-service-hvac_git.bbappend
new file mode 100644 (file)
index 0000000..0817d5e
--- /dev/null
@@ -0,0 +1,5 @@
+# for demo
+PACKAGE_ARCH_m3ulcb = "${MACHINE_ARCH}"
+do_configure_prepend_m3ulcb() {
+sed -i -e "s#vcan0#sllin0#g" ${S}/binding/hvac-demo-binding.c
+}
\ No newline at end of file