Skip to content

Commit

Permalink
rename linien.bin to gateware.bin
Browse files Browse the repository at this point in the history
  • Loading branch information
bleykauf committed Jul 12, 2023
1 parent ea4c3c7 commit 2a66178
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion gateware/build_fpga_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ fi

export PATH=$VIVADOPATH:$PATH

rm linien-server/linien_server/linien.bin -f
rm linien-server/linien_server/gateware.bin -f
# run with -m option to avoid errors related to relative imports without breaking pytest
python3 -m gateware.fpga_image_helper
2 changes: 1 addition & 1 deletion gateware/fpga_image_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,6 @@ def py_csrmap(it, fil):
platform.build(root, build_name="top", build_dir=build_dir)
bit2bin(
build_dir / "top.bit",
REPO_ROOT_DIR / "linien-server" / "linien_server" / "linien.bin",
REPO_ROOT_DIR / "linien-server" / "linien_server" / "gateware.bin",
flip=True,
)
2 changes: 1 addition & 1 deletion linien-server/linien_server/acquisition.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ def exposed_continue_acquisition(self, uuid: Optional[float]) -> None:


def flash_fpga():
filepath = Path(__file__).resolve().parent / "linien.bin"
filepath = Path(__file__).resolve().parent / "gateware.bin"

# On redpitaya os < 2, flashing fpga works by copying the bit file /dev/xdevcfg. On
# recent versions, there is a dedicated command for this
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion linien-server/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
],
package_data={
"": [
"linien.bin",
"gateware.bin",
"linien_start_server.sh",
"linien_stop_server.sh",
"linien_install_requirements.sh",
Expand Down

0 comments on commit 2a66178

Please sign in to comment.