forked from M-Labs/nac3
1
0
Fork 0
New ARTIQ compiler, third iteration
Go to file
Sebastien Bourdeauducq da6bda9a06 add config skeleton 2020-06-13 16:44:54 +08:00
examples add Mandelbrot example 2020-06-07 15:13:31 +08:00
openocd add run scripts 2020-04-11 21:12:16 +08:00
src add config skeleton 2020-06-13 16:44:54 +08:00
.gitignore move build artifacts out of tree 2020-05-07 13:52:40 +08:00
README.md README: update Nix build command 2020-06-10 17:31:46 +08:00
channel-rust-nightly.toml shell.nix: use local channel-rust-nightly.toml 2020-04-11 19:01:42 +08:00
default.nix update dependencies and add fatfs 2020-06-11 17:36:23 +08:00
fsbl.elf work around boot.bin/fsbl problems 2020-05-06 17:38:01 +08:00
fsbl.nix build FSBL 2020-05-06 16:02:44 +08:00
gnutoolchain.nix build FSBL 2020-05-06 16:02:44 +08:00
local_run.sh add local run script 2020-06-05 11:46:11 +08:00
mkbootimage.nix add Antmicro Zynq mkbootimage utility 2020-05-01 10:51:13 +08:00
remote_run.sh move build artifacts out of tree 2020-05-07 13:52:40 +08:00
rustPlatform.nix pure Nix build system 2020-04-30 21:04:28 +08:00
shell.nix add local run script 2020-06-05 11:46:11 +08:00

README.md

Configure Nix channels:

nix-channel --add https://nixbld.m-labs.hk/channel/custom/artiq/fast-beta/artiq-fast
nix-channel --update

Pure build with Nix:

nix-build -A zc706-simple-jtag  # or zc706-nist_qc2-jtag or zc706-nist_clock-jtag
./remote_run.sh

Impure incremental build:

nix-shell
cd src
./zc706.py -g ../build/gateware  # build gateware
make                             # build firmware
cd ..
./remote_run.sh -i

The impure build process can also be used on non-Nix systems.