Bare-metal Rust on Zynq-7000
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Sebastien Bourdeauducq 75494421c5 cargo: remove unmaintained runner 1 year ago
.cargo cargo: remove unmaintained runner 1 year ago
experiments fix some compilation warnings 1 year ago
libasync libasync/executor: reduced reallocation for vector 1 year ago
libboard_zynq more cpu options 1 year ago
libcortex_a9 more cpu options 1 year ago
libregister finished register definitions 2 years ago
libsupport_zynq CPU options for better performance 1 year ago
openocd openocd: remove ps7_init on Cora Z7 1 year ago
.gitignore remove zc706.elf from gitignore 2 years ago
Cargo.lock Updated cargo dependencies 1 year ago
Cargo.toml cargo: remove unmaintained dev profile 1 year ago
README.md remove outdated/unmaintained files 1 year ago
armv7-none-eabihf.json define custom target, use with cargo-xbuild 2 years ago
build.sh Update README and build.sh (#59) 1 year ago
channel-rust-nightly.toml Cargo.lock: fix 2 years ago
default.nix Updated cargo dependencies 1 year ago
remote_run.sh add remote run script 2 years ago
shell.nix Updated build instruction. 1 year ago

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"