mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-24 10:54:02 +08:00
61c64a76be
This commit also adds support for --variant and --args to artiq-devtool.
14 lines
467 B
Bash
14 lines
467 B
Bash
#!/bin/bash
|
|
|
|
RTM_PREFIX=$SP_DIR/artiq/binaries/sayma_rtm
|
|
|
|
SOC_PREFIX=$SP_DIR/artiq/binaries/sayma-standalone
|
|
mkdir -p $SOC_PREFIX
|
|
|
|
$PYTHON -m artiq.gateware.targets.sayma_amc -V standalone \
|
|
--rtm-csr-csv $RTM_PREFIX/rtm_csr.csv
|
|
cp artiq_sayma/standalone/gateware/top.bit $SOC_PREFIX
|
|
cp artiq_sayma/standalone/software/bootloader/bootloader.bin $SOC_PREFIX
|
|
cp artiq_sayma/standalone/software/runtime/runtime.{elf,fbi} $SOC_PREFIX
|
|
cp $RTM_PREFIX/rtm.bit $SOC_PREFIX
|