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-07 18:16:53 +0900
commit4b16d60916bb9ac1335318228e03ff53997da531 (patch)
treec45c7c18558043f6185ee1896944f774744157d8 /conf
parent556025462dcf6d648149260dcfa141f13229e4d3 (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)}"