From 602966ea9205b5bc2c29946952afb54b7fdbcf47 Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Wed, 6 Jan 2021 18:35:50 -0500 Subject: Add dev-mapping-ci recipe Add a dev-mapping-ci recipe that installs a CI specific version of /etc/dev-mapping.conf for the agl-service-can-low-level binding. Additionally, the dev-mapping-demo recipe files have been moved to recipes-config/dev-mapping so all the dev-mapping* recipes are in the same place, and the now required "j1939" bus mapping has been added to the various dev-mapping files. To enable use of the new recipe, a definition of the variable PREFERRED_RPROVIDER_virtual/low-can-dev-mapping has been added to the agl-demo feature definition that enables it based on the AGLCI DISTRO_FEATURE. This is intended to replace the definition in poky-agl.conf, which will be removed in subsequent cleanup. Bug-AGL: SPEC-3756 Signed-off-by: Scott Murray Change-Id: Ieb80a7f4b76ddd7851acca521dea1a8dd104cf86 --- recipes-config/dev-mapping/dev-mapping-ci/dev-mapping.conf.ci | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 recipes-config/dev-mapping/dev-mapping-ci/dev-mapping.conf.ci (limited to 'recipes-config/dev-mapping/dev-mapping-ci/dev-mapping.conf.ci') diff --git a/recipes-config/dev-mapping/dev-mapping-ci/dev-mapping.conf.ci b/recipes-config/dev-mapping/dev-mapping-ci/dev-mapping.conf.ci new file mode 100644 index 00000000..bd5c2135 --- /dev/null +++ b/recipes-config/dev-mapping/dev-mapping-ci/dev-mapping.conf.ci @@ -0,0 +1,7 @@ +; Default CAN device mapping +; Format has to follow ini rules key="value", notice " around value. + +[CANbus-mapping] +hs="vcan0" +ls="vcan0" +j1939="vcan0" -- cgit 1.2.3-korg