forked from M-Labs/artiq-zynq
ARTIQ Zynq-based core device support
Sebastien Bourdeauducq
ed21457f28
* based on https://github.com/jethrogb/rust-core_io but could not get the packaging scripts to work and the repos is unmaintained anyway, so just copied the result * more features and more up-to-date * compatible with the fatfs crate |
||
---|---|---|
examples | ||
openocd | ||
src | ||
.gitignore | ||
channel-rust-nightly.toml | ||
default.nix | ||
fsbl.elf | ||
fsbl.nix | ||
gnutoolchain.nix | ||
local_run.sh | ||
mkbootimage.nix | ||
README.md | ||
remote_run.sh | ||
rustPlatform.nix | ||
shell.nix |
Configure Nix channels:
nix-channel --add https://nixbld.m-labs.hk/channel/custom/artiq/fast-beta/artiq-fast
nix-channel --update
Pure build with Nix:
nix-build -A zc706-jtag
./remote_run.sh
Impure incremental build:
nix-shell
cd src
./zc706.py -g ../build/gateware # build gateware
make # build firmware
cd ..
./remote_run.sh -i
The impure build process can also be used on non-Nix systems.