forked from PAWPAW-Mirror/lib_xua
Add simple runner script for DFU host app
This script performs the environment setup before executing the DFU app.
This commit is contained in:
9
module_dfu/host/xmos_dfu_osx/run_xmosdfu.sh
Executable file
9
module_dfu/host/xmos_dfu_osx/run_xmosdfu.sh
Executable 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
|
||||
Reference in New Issue
Block a user