forked from M-Labs/artiq-zynq
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
3 years ago | |
---|---|---|
examples | 3 years ago | |
openocd | 3 years ago | |
src | 3 years ago | |
.gitignore | 3 years ago | |
README.md | 3 years ago | |
channel-rust-nightly.toml | 3 years ago | |
default.nix | 3 years ago | |
fsbl.elf | 3 years ago | |
fsbl.nix | 3 years ago | |
gnutoolchain.nix | 3 years ago | |
mkbootimage.nix | 3 years ago | |
remote_run.sh | 3 years ago | |
rustPlatform.nix | 3 years ago | |
shell.nix | 3 years ago |
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
make # build firmware
cd ..
./remote_run.sh -i
The impure build process can also be used on non-Nix systems.