summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2022-12-07 18:16:53 +0900
committerScott Murray <scott.murray@konsulko.com>2022-12-10 07:48:14 +0000
commitd528174323abf33eccb49c16d593fb33c31f9399 (patch)
treec357d863e8273cfc902ff87c5238b2c942a0804c /conf
parent1512bba4f2839e9b4b4748a6b29d35b29d5d65b5 (diff)
agl-demo-preload: Enable CAN FD for reference h/w
Define CANBUS_NETWORK_CONFIG to select the CAN FD configuration if building with the agl-refhw-h3 feature. Bug-AGL: SPEC-4633 Change-Id: Ie414fb800c4721f4b38ee6a11d9f3f856376d124 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Diffstat (limited to 'conf')
-rw-r--r--conf/include/agl-demo-preload.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/conf/include/agl-demo-preload.inc b/conf/include/agl-demo-preload.inc
index b6ae2ae2e..23f600cf7 100644
--- a/conf/include/agl-demo-preload.inc
+++ b/conf/include/agl-demo-preload.inc
@@ -1 +1,4 @@
AGL_FEATURES:append = " agl-demo-preload"
+
+# Demo uses AGL reference hardware, which is CAN FD
+CANBUS_NETWORK_CONFIG = "${@bb.utils.contains('AGL_FEATURES', 'agl-refhw-h3', 'canbus-can-fd.network', 'canbus-can.network', d)}"