forked from M-Labs/nac3
1
0
Fork 0
New ARTIQ compiler, third iteration
Go to file
Sebastien Bourdeauducq 7c6f57540e prevent cargo xbuild from creating sysroot in source tree. Closes #6 2020-05-09 13:21:55 +08:00
examples make LED channels output-only 2020-04-26 11:51:06 +08:00
openocd add run scripts 2020-04-11 21:12:16 +08:00
src prevent cargo xbuild from creating sysroot in source tree. Closes #6 2020-05-09 13:21:55 +08:00
.gitignore move build artifacts out of tree 2020-05-07 13:52:40 +08:00
README.md move build artifacts out of tree 2020-05-07 13:52:40 +08:00
channel-rust-nightly.toml shell.nix: use local channel-rust-nightly.toml 2020-04-11 19:01:42 +08:00
default.nix move build artifacts out of tree 2020-05-07 13:52:40 +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
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 Antmicro Zynq mkbootimage utility 2020-05-01 10:51:13 +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-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.