From: Felix Held Date: Thu, 11 Jan 2018 07:00:59 +0000 (+1100) Subject: fix the unsupported programmer case for kc705 and minispartan6 X-Git-Tag: 24jan2021_ls180~1766^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=23585385c0e9e2d4be604d15e4309dd1f21129c3;p=litex.git fix the unsupported programmer case for kc705 and minispartan6 --- diff --git a/litex/boards/platforms/kc705.py b/litex/boards/platforms/kc705.py index fdac8853..889c5743 100644 --- a/litex/boards/platforms/kc705.py +++ b/litex/boards/platforms/kc705.py @@ -496,7 +496,8 @@ set_property CONFIG_VOLTAGE 2.5 [current_design] elif self.programmer == "impact": return iMPACT() else: - raise ValueError("{} programmer is not supported".format(programmer)) + raise ValueError("{} programmer is not supported".format( + self.programmer)) def do_finalize(self, fragment): XilinxPlatform.do_finalize(self, fragment) diff --git a/litex/boards/platforms/minispartan6.py b/litex/boards/platforms/minispartan6.py index 681786f8..d22e9553 100644 --- a/litex/boards/platforms/minispartan6.py +++ b/litex/boards/platforms/minispartan6.py @@ -123,4 +123,5 @@ class Platform(XilinxPlatform): elif self.programmer == "fpgaprog": return FpgaProg() else: - raise ValueError("{} programmer is not supported".format(programmer)) + raise ValueError("{} programmer is not supported".format( + self.programmer))