Skip to content
This repository was archived by the owner on Jan 5, 2026. It is now read-only.

Commit 607baf2

Browse files
committed
Output better error message for flash_proxy.
1 parent 5a175ec commit 607baf2

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

migen/build/generic_programmer.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,10 @@ def find_flash_proxy(self):
1818
fullname = os.path.join(fulldir, self.flash_proxy_basename)
1919
if os.path.exists(fullname):
2020
return fullname
21-
raise OSError("Failed to find flash proxy bitstream")
21+
raise OSError(
22+
"Failed to find flash proxy bitstream %s, searched:\n %s\n" % (
23+
self.flash_proxy_basename,
24+
"\n ".join(self.flash_proxy_dirs)))
2225

2326
# must be overloaded by specific programmer
2427
def load_bitstream(self, bitstream_file):

0 commit comments

Comments
 (0)