Skip to content

Commit

Permalink
artiq_flash: dont prepend the runtime file with mezzanine board direc…
Browse files Browse the repository at this point in the history
…tory if using -d
  • Loading branch information
fallen committed Aug 27, 2015
1 parent 90ce54d commit 7db0498
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions artiq/frontend/artiq_flash.sh
Expand Up @@ -123,9 +123,13 @@ then
PROXY=bscan_spi_kc705.bit
BIOS_ADDR=0xaf0000
RUNTIME_ADDR=0xb00000
RUNTIME_FILE=${MEZZANINE_BOARD}/runtime.fbi
RUNTIME_FILE=runtime.fbi
FS_ADDR=0xb40000
if [ -z "$BIN_PREFIX" ]; then BIN_PREFIX=$ARTIQ_PREFIX/binaries/kc705; fi
if [ -z "$BIN_PREFIX" ]
then
RUNTIME_FILE=${MEZZANINE_BOARD}/runtime.fbi
BIN_PREFIX=$ARTIQ_PREFIX/binaries/kc705
fi
search_for_proxy $PROXY
elif [ "$BOARD" == "pipistrello" ]
then
Expand Down

0 comments on commit 7db0498

Please sign in to comment.