README: fix formatting

This commit is contained in:
Sebastien Bourdeauducq 2020-05-01 10:09:31 +08:00
parent 90a19f9986
commit a2ea0fbc9f

View File

@ -1,23 +1,26 @@
Configure Nix channels: Configure Nix channels:
``
```shell
nix-channel --add https://nixbld.m-labs.hk/channel/custom/artiq/fast-beta/artiq-fast nix-channel --add https://nixbld.m-labs.hk/channel/custom/artiq/fast-beta/artiq-fast
nix-channel --update nix-channel --update
`` ```
Pure build with Nix: Pure build with Nix:
``
```shell
nix-build -A zc706-jtag nix-build -A zc706-jtag
./remote_run.sh ./remote_run.sh
`` ```
Impure incremental build: Impure incremental build:
``
```shell
nix-shell nix-shell
cd src cd src
./zc706.py -g # build gateware ./zc706.py -g # build gateware
make # build firmware make # build firmware
cd .. cd ..
./remote_run.sh -i ./remote_run.sh -i
`` ```
The impure build process can also be used on non-Nix systems. The impure build process can also be used on non-Nix systems.