diff --git a/benchkit/helpers/flasher/openocd.py b/benchkit/helpers/flasher/openocd.py index 6c6da155..c9a228b0 100644 --- a/benchkit/helpers/flasher/openocd.py +++ b/benchkit/helpers/flasher/openocd.py @@ -70,7 +70,7 @@ def platform(self) -> Platform: def flash( self, bin: pathlib.Path, - addr: str, + addr: str = "", ) -> None: """ Flash the firmware onto the board via OpenOCD. @@ -91,7 +91,7 @@ def reset(self) -> None: Reset the board via OpenOCD. """ self.platform.comm.shell( - command=(f"{self.__cmd_prefix} " '-c "init" ' '-c "reset" ' '-c "exit"'), + command=f"{self.__cmd_prefix} " '-c "init" ' '-c "reset" ' '-c "exit"', print_output=False, print_input=True, )