forked from M-Labs/nac3
1
0
Fork 0
New ARTIQ compiler, third iteration
Go to file
Sebastien Bourdeauducq e6028ec091 update cargosha256 2020-07-02 21:41:35 +08:00
examples Added artiq exception example 2020-07-02 10:13:47 +08:00
openocd add run scripts 2020-04-11 21:12:16 +08:00
src Backtrace: panic handler with proper backtrace. 2020-07-02 13:12:12 +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 cargosha256 2020-07-02 21:41:35 +08:00
fsbl.nix FSBL: changed to self-built FSBL (#13) 2020-06-17 16:19:59 +08:00
fsbl.patch FSBL: changed to self-built FSBL (#13) 2020-06-17 16:19:59 +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 back llvm_9 2020-06-28 18:12:27 +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.