2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-19 08:26:30 +08:00
artiq/conda/artiq-kasli-opticlock/build.sh
whitequark 61c64a76be gateware: use a per-variant subfolder in --output-dir. (fixes #912)
This commit also adds support for --variant and --args
to artiq-devtool.
2018-02-06 08:19:01 +00:00

10 lines
340 B
Bash

#!/bin/bash
SOC_PREFIX=$SP_DIR/artiq/binaries/kasli-opticlock
mkdir -p $SOC_PREFIX
V=1 $PYTHON -m artiq.gateware.targets.kasli -V opticlock
cp artiq_kasli/opticlock/gateware/top.bit $SOC_PREFIX
cp artiq_kasli/opticlock/software/bootloader/bootloader.bin $SOC_PREFIX
cp artiq_kasli/opticlock/software/runtime/runtime.{elf,fbi} $SOC_PREFIX