forked from M-Labs/nac3
create gateware folder
This commit is contained in:
parent
7aec419ed6
commit
e3ff21b1b5
@ -17,8 +17,8 @@ Impure incremental build:
|
||||
```shell
|
||||
nix-shell
|
||||
cd src
|
||||
./zc706.py -g ../build/gateware # build gateware
|
||||
make # build firmware
|
||||
gateware/zc706.py -g ../build/gateware # build gateware
|
||||
make # build firmware
|
||||
cd ..
|
||||
./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
|
||||
cp build/top.bit $out
|
||||
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
|
||||
|
||||
|
||||
../build/pl.rs: zc706.py
|
||||
../build/pl.rs: gateware/zc706.py
|
||||
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)
|
||||
XBUILD_SYSROOT_PATH=`pwd`/../build/sysroot cargo xbuild --release -p runtime --target-dir ../build/firmware
|
||||
|
Loading…
Reference in New Issue
Block a user