From f46ef03f426b387388d287e9678d86bb6e212f41 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Tue, 18 Jun 2024 15:35:27 +0200 Subject: [PATCH] build/openfpgaloader: print command before executing it to ease debugging/manual tests. --- litex/build/openfpgaloader.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/litex/build/openfpgaloader.py b/litex/build/openfpgaloader.py index 8b41d3093..431035559 100644 --- a/litex/build/openfpgaloader.py +++ b/litex/build/openfpgaloader.py @@ -41,6 +41,7 @@ class OpenFPGALoader(GenericProgrammer): cmd = self.cmd + ["--bitstream", bitstream_file] # Execute command. + print(" ".join(cmd)) self.call(cmd) def flash(self, address, data_file, external=False, unprotect_flash=False, verify=False, **kwargs): @@ -72,6 +73,7 @@ class OpenFPGALoader(GenericProgrammer): # Execute Command. try: + print(" ".join(cmd)) self.call(cmd) except OSError as e: print(' '.join(cmd))