forked from M-Labs/artiq-zynq
create gateware folder
This commit is contained in:
parent
7aec419ed6
commit
e3ff21b1b5
@ -17,7 +17,7 @@ Impure incremental build:
|
|||||||
```shell
|
```shell
|
||||||
nix-shell
|
nix-shell
|
||||||
cd src
|
cd src
|
||||||
./zc706.py -g ../build/gateware # build gateware
|
gateware/zc706.py -g ../build/gateware # build gateware
|
||||||
make # build firmware
|
make # build firmware
|
||||||
cd ..
|
cd ..
|
||||||
./remote_run.sh -i
|
./remote_run.sh -i
|
||||||
|
@ -48,7 +48,7 @@ let
|
|||||||
];
|
];
|
||||||
}
|
}
|
||||||
''
|
''
|
||||||
python ${./src/zc706.py} -g build -V ${variant}
|
python ${./src/gateware/zc706.py} -g build -V ${variant}
|
||||||
mkdir -p $out $out/nix-support
|
mkdir -p $out $out/nix-support
|
||||||
cp build/top.bit $out
|
cp build/top.bit $out
|
||||||
echo file binary-dist $out/top.bit >> $out/nix-support/hydra-build-products
|
echo file binary-dist $out/top.bit >> $out/nix-support/hydra-build-products
|
||||||
|
@ -5,9 +5,9 @@ all: ../build/firmware/armv7-none-eabihf/release/szl
|
|||||||
.PHONY: all
|
.PHONY: all
|
||||||
|
|
||||||
|
|
||||||
../build/pl.rs: zc706.py
|
../build/pl.rs: gateware/zc706.py
|
||||||
mkdir -p ../build
|
mkdir -p ../build
|
||||||
python zc706.py -r ../build/pl.rs -V $(VARIANT)
|
python gateware/zc706.py -r ../build/pl.rs -V $(VARIANT)
|
||||||
|
|
||||||
../build/firmware/armv7-none-eabihf/release/runtime: ../build/pl.rs $(shell find . -path ./szl -prune -o -print)
|
../build/firmware/armv7-none-eabihf/release/runtime: ../build/pl.rs $(shell find . -path ./szl -prune -o -print)
|
||||||
XBUILD_SYSROOT_PATH=`pwd`/../build/sysroot cargo xbuild --release -p runtime --target-dir ../build/firmware
|
XBUILD_SYSROOT_PATH=`pwd`/../build/sysroot cargo xbuild --release -p runtime --target-dir ../build/firmware
|
||||||
|
Loading…
Reference in New Issue
Block a user