From: Scott Murray Date: Wed, 7 Dec 2022 09:16:53 +0000 (+0900) Subject: agl-demo-preload: Enable CAN FD for reference h/w X-Git-Tag: 14.92.0~12 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=d528174323abf33eccb49c16d593fb33c31f9399;p=AGL%2Fmeta-agl-demo.git 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 --- 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)}"