Skip to content

Commit 7db0498

Browse files
committedAug 27, 2015
artiq_flash: dont prepend the runtime file with mezzanine board directory if using -d
1 parent 90ce54d commit 7db0498

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed
 

Diff for: ‎artiq/frontend/artiq_flash.sh

+6-2
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,13 @@ then
123123
PROXY=bscan_spi_kc705.bit
124124
BIOS_ADDR=0xaf0000
125125
RUNTIME_ADDR=0xb00000
126-
RUNTIME_FILE=${MEZZANINE_BOARD}/runtime.fbi
126+
RUNTIME_FILE=runtime.fbi
127127
FS_ADDR=0xb40000
128-
if [ -z "$BIN_PREFIX" ]; then BIN_PREFIX=$ARTIQ_PREFIX/binaries/kc705; fi
128+
if [ -z "$BIN_PREFIX" ]
129+
then
130+
RUNTIME_FILE=${MEZZANINE_BOARD}/runtime.fbi
131+
BIN_PREFIX=$ARTIQ_PREFIX/binaries/kc705
132+
fi
129133
search_for_proxy $PROXY
130134
elif [ "$BOARD" == "pipistrello" ]
131135
then

0 commit comments

Comments
 (0)
Please sign in to comment.