Skip to content

Commit 445f0f5

Browse files
cr1901sbourdeauducq
authored andcommittedJun 28, 2015
Remove self.programmer references in Mercury, as mercury programmer is not implemented.
1 parent 3ea7ef8 commit 445f0f5

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed
 

Diff for: ‎mibuild/platforms/mercury.py

+1-9
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ class Platform(XilinxPlatform):
125125
default_clk_name = "clk50"
126126
default_clk_period = 20
127127

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

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

0 commit comments

Comments
 (0)