From a2ea0fbc9f94ca19bf8724a08448fcec3d685c5f Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Fri, 1 May 2020 10:09:31 +0800 Subject: [PATCH] README: fix formatting --- README.md | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index d627fc57..da9bb587 100644 --- a/README.md +++ b/README.md @@ -1,23 +1,26 @@ Configure Nix channels: -`` + +```shell nix-channel --add https://nixbld.m-labs.hk/channel/custom/artiq/fast-beta/artiq-fast nix-channel --update -`` +``` Pure build with Nix: -`` + +```shell nix-build -A zc706-jtag ./remote_run.sh -`` +``` Impure incremental build: -`` + +```shell nix-shell cd src ./zc706.py -g # build gateware make # build firmware cd .. ./remote_run.sh -i -`` +``` The impure build process can also be used on non-Nix systems.