local_run: fix artiq_netbook invokation

This commit is contained in:
Sebastien Bourdeauducq 2022-01-27 18:58:26 +08:00
parent 6f5ba46e89
commit f83ab5a662

View File

@ -52,10 +52,10 @@ if [ $impure -eq 1 ]; then
if [ $load_bitstream -eq 1 ]; then if [ $load_bitstream -eq 1 ]; then
load_bitstream_cmd="-g $build_dir/gateware/top.bit" load_bitstream_cmd="-g $build_dir/gateware/top.bit"
fi fi
artiq_netboot $load_bitstream_cmd -f $build_dir/$fwtype.bin -b $board_host artiq_netboot $load_bitstream_cmd -f $build_dir/$fw_type.bin -b $board_host
else else
if [ $load_bitstream -eq 1 ]; then if [ $load_bitstream -eq 1 ]; then
load_bitstream_cmd="-g $result_dir/top.bit" load_bitstream_cmd="-g $result_dir/top.bit"
fi fi
artiq_netboot $load_bitstream_cmd -f $result_dir/$fwtype.bin -b $board_host artiq_netboot $load_bitstream_cmd -f $result_dir/$fw_type.bin -b $board_host
fi fi