Skip to content

Commit

Permalink
Remove self.programmer references in Mercury, as mercury programmer i…
Browse files Browse the repository at this point in the history
…s not implemented.
cr1901 authored and sbourdeauducq committed Jun 28, 2015
1 parent 3ea7ef8 commit 445f0f5
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions mibuild/platforms/mercury.py
Original file line number Diff line number Diff line change
@@ -125,7 +125,7 @@ class Platform(XilinxPlatform):
default_clk_name = "clk50"
default_clk_period = 20

def __init__(self, device="xc3s200a-4-vq100", programmer="xc3sprog"):
def __init__(self, device="xc3s200a-4-vq100"):
XilinxPlatform.__init__(self, device, _io, _connectors)
# Small device- optimize for AREA instead of SPEED (LM32 runs at about
# 60-65MHz in AREA configuration).
@@ -136,11 +136,3 @@ def __init__(self, device="xc3s200a-4-vq100", programmer="xc3sprog"):

def create_programmer(self):
raise NotImplementedError
# Not actually supported right now- add FT245RL support to xc3sprog.
# Alternatively, use the JTAG pins instead of USB with another
# supported programmer.
if self.programmer == "xc3sprog":
return XC3SProg("mercury", "bscan_spi_mercury.bit")
else:
raise ValueError("""{} programmer is not
supported""".format(programmer))

0 comments on commit 445f0f5

Please sign in to comment.