[breaking-change] mercury: update leftover user_btn resources.
[nmigen-boards.git] / nmigen_boards / mercury.py
index 85bfb1db81f9a0cbafceb0193dc7a19846d0f6c1..5daf8020b06c896e3581ebecf0c834f8b9b37c81 100644 (file)
@@ -34,7 +34,7 @@ class MercuryPlatform(XilinxSpartan3APlatform):
         Resource("clk50", 0, Pins("P43", dir="i"),
                  Attrs(IOSTANDARD="LVCMOS33"), Clock(50e6)),
 
-        Resource("user_btn", 0, Pins("P41", dir="i"),
+        Resource("button", 0, Pins("P41", dir="i"),
                  Attrs(IOSTANDARD="LVTTL")),
 
         # The serial interface and flash memory have a shared SPI bus.