forked from M-Labs/nac3
1
0
Fork 0
New ARTIQ compiler, third iteration
Go to file
Sebastien Bourdeauducq d65df2f454 rpc: revert to libio
* Recursive async fns in Rust are a mess and not usable.
* When doing ARTIQ async RPCs, it is simpler to encode the buffer on the kernel CPU and pass that to the comms CPU,
  instead of tracking when kernel CPU memory with the RPC values can be freed.
2020-06-03 11:17:49 +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 rpc: revert to libio 2020-06-03 11:17:49 +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 build for NIST variants 2020-05-14 15:30:50 +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.