diff --git a/litex_boards/platforms/sipeed_tang_nano.py b/litex_boards/platforms/sipeed_tang_nano.py index 13e9602..364fe45 100644 --- a/litex_boards/platforms/sipeed_tang_nano.py +++ b/litex_boards/platforms/sipeed_tang_nano.py @@ -27,7 +27,7 @@ _io = [ # Buttons. ("user_btn", 0, Pins("15"), IOStandard("LVCMOS33")), - ("user_btn", 0, Pins("14"), IOStandard("LVCMOS33")), + ("user_btn", 1, Pins("14"), IOStandard("LVCMOS33")), # Serial ("serial", 0, @@ -50,6 +50,7 @@ class Platform(GowinPlatform): def __init__(self): GowinPlatform.__init__(self, "GW1N-LV1QN48C6/I5", _io, _connectors, toolchain="gowin", devicename="GW1N-1") self.toolchain.options["use_done_as_gpio"] = 1 + self.toolchain.options["use_reconfign_as_gpio"] = 1 def create_programmer(self): return OpenFPGALoader("tangnano")