forked from M-Labs/nac3
Sebastien Bourdeauducq
d65df2f454
* 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. |
||
---|---|---|
examples | ||
openocd | ||
src | ||
.gitignore | ||
README.md | ||
channel-rust-nightly.toml | ||
default.nix | ||
fsbl.elf | ||
fsbl.nix | ||
gnutoolchain.nix | ||
mkbootimage.nix | ||
remote_run.sh | ||
rustPlatform.nix | ||
shell.nix |
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.