radiona/ulx3s: Rename user_button to user_btn (consistency with other boards) and fix ident.

This commit is contained in:
Florent Kermarrec 2022-08-26 22:25:54 +02:00
parent 693cce73bd
commit 74d4a72494

View file

@ -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")),