Add simple runner script for DFU host app

This script performs the environment setup before executing the DFU app.
This commit is contained in:
Sam Chesney
2017-09-08 16:17:02 +01:00
parent 2b8ebe649d
commit 9061166ca9

View File

@@ -0,0 +1,9 @@
#! /bin/bash
#find out were we are running from so we only exec this program
PROGDIR=`dirname $0`
#setup environment
export DYLD_LIBRARY_PATH=$PROGDIR:$DYLD_LIBRARY_PATH
$PROGDIR/xmosdfu $1 $2 $3