mirror of
https://github.com/litex-hub/litex-boards.git
synced 2025-01-03 03:43:36 -05:00
targets/digilent_arty: Cosmetic cleanup.
This commit is contained in:
parent
6548dec149
commit
6314b34dbe
1 changed files with 6 additions and 4 deletions
|
@ -139,15 +139,17 @@ class BaseSoC(SoCCore):
|
|||
# Buttons ----------------------------------------------------------------------------------
|
||||
if with_buttons:
|
||||
self.submodules.buttons = GPIOIn(
|
||||
pads=platform.request_all("user_btn"),
|
||||
with_irq=self.irq.enabled)
|
||||
pads = platform.request_all("user_btn"),
|
||||
with_irq = self.irq.enabled
|
||||
)
|
||||
|
||||
# GPIOs ------------------------------------------------------------------------------------
|
||||
if with_pmod_gpio:
|
||||
platform.add_extension(digilent_arty.raw_pmod_io("pmoda"))
|
||||
self.submodules.gpio = GPIOTristate(
|
||||
platform.request("pmoda"),
|
||||
with_irq=self.irq.enabled)
|
||||
pads = platform.request("pmoda"),
|
||||
with_irq = self.irq.enabled
|
||||
)
|
||||
|
||||
# Build --------------------------------------------------------------------------------------------
|
||||
|
||||
|
|
Loading…
Reference in a new issue