README: update to cargo-xbuild

This commit is contained in:
Astro 2019-08-08 18:19:47 +02:00
parent b7690c9702
commit 80e808208e

View File

@ -1,7 +1,7 @@
# Build # Build
```shell ```shell
nix-shell --command "cargo build --release" nix-shell --command "cargo xbuild --release"
``` ```
# Debug # Debug
@ -39,13 +39,13 @@ Proceed using gdb with `load`, `c`
### Running on the ZC706 ### Running on the ZC706
```shell ```shell
nix-shell --command "cargo build --release" nix-shell --command "cargo xbuild --release"
openocd -f openocd/zc706.cfg openocd -f openocd/zc706.cfg
``` ```
### Running on the Cora Z7-10 ### Running on the Cora Z7-10
```shell ```shell
nix-shell --command "cargo build --release --no-default-features --features=target_cora_z7_10" nix-shell --command "cargo xbuild --release --no-default-features --features=target_cora_z7_10"
openocd -f openocd/cora-z7-10.cfg openocd -f openocd/cora-z7-10.cfg
``` ```