README: fix openocd not finding files

This commit is contained in:
Sebastien Bourdeauducq 2019-08-20 13:45:50 +08:00
parent 4c62ce0dad
commit 6771531255

View File

@ -40,12 +40,14 @@ Proceed using gdb with `load`, `c`
```shell ```shell
nix-shell --command "cargo xbuild --release" nix-shell --command "cargo xbuild --release"
openocd -f openocd/zc706.cfg cd openocd
openocd -f zc706.cfg
``` ```
### Running on the Cora Z7-10 ### Running on the Cora Z7-10
```shell ```shell
nix-shell --command "cargo xbuild --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 cd openocd
openocd -f cora-z7-10.cfg
``` ```