From 74d4a724943e66972c626f536ba089395061a314 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Fri, 26 Aug 2022 22:25:54 +0200 Subject: [PATCH] radiona/ulx3s: Rename user_button to user_btn (consistency with other boards) and fix ident. --- litex_boards/platforms/radiona_ulx3s.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/litex_boards/platforms/radiona_ulx3s.py b/litex_boards/platforms/radiona_ulx3s.py index 9f4f4ac..79155a6 100644 --- a/litex_boards/platforms/radiona_ulx3s.py +++ b/litex_boards/platforms/radiona_ulx3s.py @@ -16,13 +16,13 @@ _io_common = [ ("rst", 0, Pins("R1"), IOStandard("LVCMOS33")), # Buttons - ("user_button", 0, Pins("D6"), IOStandard("LVCMOS33"), Misc("PULLMODE=UP")), # PWR - ("user_button", 1, Pins("R1"), IOStandard("LVCMOS33"), Misc("PULLMODE=DOWN")), # F1 - ("user_button", 2, Pins("T1"), IOStandard("LVCMOS33"), Misc("PULLMODE=DOWN")), # F2 - ("user_button", 3, Pins("R18"), IOStandard("LVCMOS33"), Misc("PULLMODE=DOWN")), # UP - ("user_button", 4, Pins("V1"), IOStandard("LVCMOS33"), Misc("PULLMODE=DOWN")), # DOWN - ("user_button", 5, Pins("U1"), IOStandard("LVCMOS33"), Misc("PULLMODE=DOWN")), # LEFT - ("user_button", 6, Pins("H16"), IOStandard("LVCMOS33"), Misc("PULLMODE=DOWN")), # RIGHT + ("user_btn", 0, Pins( "D6"), IOStandard("LVCMOS33"), Misc("PULLMODE=DOWN")), # PWR + ("user_btn", 1, Pins( "R1"), IOStandard("LVCMOS33"), Misc("PULLMODE=DOWN")), # F1 + ("user_btn", 2, Pins( "T1"), IOStandard("LVCMOS33"), Misc("PULLMODE=DOWN")), # F2 + ("user_btn", 3, Pins("R18"), IOStandard("LVCMOS33"), Misc("PULLMODE=DOWN")), # UP + ("user_btn", 4, Pins( "V1"), IOStandard("LVCMOS33"), Misc("PULLMODE=DOWN")), # DOWN + ("user_btn", 5, Pins( "U1"), IOStandard("LVCMOS33"), Misc("PULLMODE=DOWN")), # LEFT + ("user_btn", 6, Pins("H16"), IOStandard("LVCMOS33"), Misc("PULLMODE=DOWN")), # RIGHT # Leds ("user_led", 0, Pins("B2"), IOStandard("LVCMOS33")),