From 59f8e2629f4295e89197a9d475241e87f0b9749b Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Mon, 6 Jun 2022 20:02:33 -0400 Subject: kuksa-dbc-feeder-sllin: add recipe Add kuksa-dbc-feeder-sllin recipe to install systemd unit and configuration file to run a second copy of the KUKSA.val DBC feeder against the demo setup's sllin0 interface. The systemd unit will bring up the sllin0 interface by a call to the can-dev-helper.sh script if run on hardware that lacks the LIN adapter. Additionally, the DBC feeder mapping configuration has been updated with the mappings for the steering wheel LIN events, and kuksa-dbc-feeder-sllin has been added to the agl-demo-preload packagegroup for the full AGL demo setup. Bug-AGL: SPEC-4405 Signed-off-by: Scott Murray Change-Id: I360bdf050f75b6a505b5c1748c6216972d5723c1 --- recipes-connectivity/kuksa-val/can-dev-helper/can-dev-helper.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'recipes-connectivity/kuksa-val/can-dev-helper') diff --git a/recipes-connectivity/kuksa-val/can-dev-helper/can-dev-helper.sh b/recipes-connectivity/kuksa-val/can-dev-helper/can-dev-helper.sh index de9894d76..69dc62831 100644 --- a/recipes-connectivity/kuksa-val/can-dev-helper/can-dev-helper.sh +++ b/recipes-connectivity/kuksa-val/can-dev-helper/can-dev-helper.sh @@ -15,6 +15,9 @@ vcan_up() { } CONF=/etc/kuksa-dbc-feeder/config.ini +if [ $# -gt 0 ]; then + CONF=$1 +fi if [ ! -f $CONF ]; then exit 0 -- cgit 1.2.3-korg