forked from M-Labs/zynq-rs
1
0
Fork 0
Bare-metal Rust on Zynq-7000
Go to file
Sebastien Bourdeauducq 4e18368aaf remove obsolete build.sh 2020-09-09 15:03:17 +08:00
.cargo cargo: remove unmaintained runner 2020-09-09 15:01:39 +08:00
experiments fix some compilation warnings 2020-09-06 00:17:59 +08:00
libasync libasync/executor: reduced reallocation for vector 2020-09-07 16:13:51 +08:00
libboard_zynq more cpu options 2020-09-07 16:13:51 +08:00
libcortex_a9 more cpu options 2020-09-07 16:13:51 +08:00
libregister finished register definitions 2020-05-01 15:38:07 +08:00
libsupport_zynq CPU options for better performance 2020-09-04 16:38:48 +08:00
openocd openocd: remove ps7_init on Cora Z7 2020-09-09 15:00:09 +08:00
.gitignore remove zc706.elf from gitignore 2020-01-16 02:13:11 +08:00
Cargo.lock Updated cargo dependencies 2020-08-20 13:01:49 +08:00
Cargo.toml cargo: remove unmaintained dev profile 2020-09-09 15:01:03 +08:00
README.md remove outdated/unmaintained files 2020-09-09 14:57:03 +08:00
armv7-none-eabihf.json define custom target, use with cargo-xbuild 2019-08-06 22:03:04 +02:00
channel-rust-nightly.toml Cargo.lock: fix 2020-04-25 02:03:57 +02:00
default.nix Updated cargo dependencies 2020-08-20 13:01:49 +08:00
remote_run.sh add remote run script 2020-06-04 19:57:52 +08:00
shell.nix Updated build instruction. 2020-08-05 17:08:24 +08:00

README.md

Build

nix-shell --command "cargo xbuild --release -p experiments"

Currently the ELF output is placed at target/armv7-none-eabihf/release/experiments

Debug

Running on the ZC706

nix-shell --command "cargo xbuild --release -p experiments"
cd openocd
openocd -f zc706.cfg

Running on the Cora Z7-10

nix-shell --command "cd experiments && cargo xbuild --release --no-default-features --features=target_cora_z7_10"
cd openocd
openocd -f cora-z7-10.cfg

Loading a bitstream into volatile memory

openocd -f zc706.cfg -c "pld load 0 blinker_migen.bit; exit"