nac3/README.md

27 lines
466 B
Markdown
Raw Normal View History

Configure Nix channels:
2020-05-01 10:09:31 +08:00
```shell
nix-channel --add https://nixbld.m-labs.hk/channel/custom/artiq/fast-beta/artiq-fast
nix-channel --update
2020-05-01 10:09:31 +08:00
```
Pure build with Nix:
2020-05-01 10:09:31 +08:00
```shell
nix-build -A zc706-jtag
./remote_run.sh
2020-05-01 10:09:31 +08:00
```
Impure incremental build:
2020-05-01 10:09:31 +08:00
```shell
nix-shell
cd src
2020-05-07 13:52:40 +08:00
./zc706.py -g ../build/gateware # build gateware
make # build firmware
cd ..
./remote_run.sh -i
2020-05-01 10:09:31 +08:00
```
The impure build process can also be used on non-Nix systems.