Skip to content

Commit

Permalink
Fix flash target in contrib/Makefile
Browse files Browse the repository at this point in the history
Setting the working directory to a directory that exist.

Previously the working directory was set to /build/hw/application_fpga.
But that path does not exist since hw/application_fpga was mounted to
/build. Thus resulting in an error:
'Error: workdir "/build/hw/application_fpga" does not exist on
container'
  • Loading branch information
agren committed Oct 25, 2024
1 parent c6e8b69 commit a32ecad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ flash:
podman run --rm \
--device /dev/bus/usb/$(lsusb | grep -m 1 1209:8886 | awk '{ printf "%s/%s", $2, substr($4,1,3) }') \
--mount type=bind,source="`pwd`/../hw/application_fpga",target=/build \
-w /build/hw/application_fpga \
-w /build \
-it $(IMAGE) tillitis-iceprog /build/application_fpga.bin


Expand Down

0 comments on commit a32ecad

Please sign in to comment.