From 06e8829eb4231583cb926ee4054a57b116a5f9df Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Wed, 14 Jun 2023 16:40:35 +0200 Subject: [PATCH] platforms/gsd_butterstick: Add default programmer to avoid breaking older designs. --- litex_boards/platforms/gsd_butterstick.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litex_boards/platforms/gsd_butterstick.py b/litex_boards/platforms/gsd_butterstick.py index 9f4a677..ac35749 100644 --- a/litex_boards/platforms/gsd_butterstick.py +++ b/litex_boards/platforms/gsd_butterstick.py @@ -233,7 +233,7 @@ class Platform(LatticeECP5Platform): connectors = {"1.0": _connectors_r1_0}[revision] LatticeECP5Platform.__init__(self, f"LFE5UM5G-{device}-8BG381C", io, connectors, toolchain=toolchain, **kwargs) - def create_programmer(self, programmer): + def create_programmer(self, programmer="jtag"): if programmer == "jtag": return OpenOCDJTAGProgrammer("openocd_butterstick.cfg") elif programmer == "dfu":