create gateware folder

core0-buffer
parent 7aec419ed6
commit e3ff21b1b5
  1. 4
      README.md
  2. 2
      default.nix
  3. 4
      src/Makefile
  4. 0
      src/gateware/zc706.py

@ -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…
Cancel
Save