platforms/gsd_butterstick: Add default programmer to avoid breaking older designs.

This commit is contained in:
Florent Kermarrec 2023-06-14 16:40:35 +02:00
parent 58805f037c
commit 06e8829eb4
1 changed files with 1 additions and 1 deletions

View File

@ -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":