Skip to content

Commit 5fc5d0b

Browse files
committedAug 21, 2015
artiq_flash: replace wrong wording 'carrier' with 'mezzanine'
1 parent d4f42e3 commit 5fc5d0b

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed
 

Diff for: ‎artiq/frontend/artiq_flash.sh

+11-11
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ ARTIQ_PREFIX=$(python3 -c "import artiq; print(artiq.__path__[0])")
99

1010
# Default is kc705
1111
BOARD=kc705
12-
# Default carrier board is nist_qc1
13-
CARRIER_BOARD=nist_qc1
12+
# Default mezzanine board is nist_qc1
13+
MEZZANINE_BOARD=nist_qc1
1414

15-
while getopts "bBrht:d:f:" opt
15+
while getopts "bBrht:d:f:m:" opt
1616
do
1717
case $opt in
1818
b)
@@ -55,15 +55,15 @@ do
5555
exit 1
5656
fi
5757
;;
58-
c)
58+
m)
5959
if [ "$OPTARG" == "nist_qc1" ]
6060
then
61-
CARRIER_BOARD=nist_qc1
61+
MEZZANINE_BOARD=nist_qc1
6262
elif [ "$OPTARG" == "nist_qc2" ]
6363
then
64-
CARRIER_BOARD=nist_qc2
64+
MEZZANINE_BOARD=nist_qc2
6565
else
66-
echo "KC705 carrier board is either nist_qc1 or nist_qc2"
66+
echo "KC705 mezzanine board is either nist_qc1 or nist_qc2"
6767
exit 1
6868
fi
6969
;;
@@ -72,13 +72,13 @@ do
7272
echo ""
7373
echo "To flash everything, do not use any of the -b|-B|-r option."
7474
echo ""
75-
echo "usage: $0 [-b] [-B] [-r] [-h] [-c nist_qc1|nist_qc2] [-t kc705|pipistrello] [-d path] [-f path]"
75+
echo "usage: $0 [-b] [-B] [-r] [-h] [-m nist_qc1|nist_qc2] [-t kc705|pipistrello] [-d path] [-f path]"
7676
echo "-b Flash bitstream"
7777
echo "-B Flash BIOS"
7878
echo "-r Flash ARTIQ runtime"
7979
echo "-h Show this help message"
8080
echo "-t Target (kc705, pipistrello, default is: kc705)"
81-
echo "-c Carrier board (nist_qc1, nist_qc2, default is: nist_qc1)"
81+
echo "-m Mezzanine board (nist_qc1, nist_qc2, default is: nist_qc1)"
8282
echo "-f Flash storage image generated with artiq_mkfs"
8383
echo "-d Directory containing the binaries to be flashed"
8484
exit 1
@@ -118,12 +118,12 @@ fi
118118
if [ "$BOARD" == "kc705" ]
119119
then
120120
UDEV_RULES=99-kc705.rules
121-
BITSTREAM=artiq_kc705-${CARRIER_BOARD}-kc705.bit
121+
BITSTREAM=artiq_kc705-${MEZZANINE_BOARD}-kc705.bit
122122
CABLE=jtaghs1_fast
123123
PROXY=bscan_spi_kc705.bit
124124
BIOS_ADDR=0xaf0000
125125
RUNTIME_ADDR=0xb00000
126-
RUNTIME_FILENAME=runtime_${CARRIER_BOARD}.fbi
126+
RUNTIME_FILENAME=runtime_${MEZZANINE_BOARD}.fbi
127127
FS_ADDR=0xb40000
128128
if [ -z "$BIN_PREFIX" ]; then BIN_PREFIX=$ARTIQ_PREFIX/binaries/kc705; fi
129129
search_for_proxy $PROXY

0 commit comments

Comments
 (0)
Please sign in to comment.