From fa045e6fa4febed5a90616ac8d9ce5b6b9507861 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Wed, 16 Jun 2021 11:54:52 +0200 Subject: [PATCH] enclustra_mercury_kx2: Comment user_led2/3 (Conflicting with DRAM pins). --- litex_boards/platforms/enclustra_mercury_kx2.py | 4 ++-- litex_boards/targets/enclustra_mercury_kx2.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/litex_boards/platforms/enclustra_mercury_kx2.py b/litex_boards/platforms/enclustra_mercury_kx2.py index aadf3e2..c10cc3c 100644 --- a/litex_boards/platforms/enclustra_mercury_kx2.py +++ b/litex_boards/platforms/enclustra_mercury_kx2.py @@ -21,8 +21,8 @@ _io = [ # Leds ("user_led", 0, Pins("U9"), IOStandard("LVCMOS15")), ("user_led", 1, Pins("V12"), IOStandard("LVCMOS15")), - ("user_led", 2, Pins("V13"), IOStandard("LVCMOS15")), - ("user_led", 3, Pins("W13"), IOStandard("LVCMOS15")), + #("user_led", 2, Pins("V13"), IOStandard("LVCMOS15")), + #("user_led", 3, Pins("W13"), IOStandard("LVCMOS15")), # Serial ("serial", 0, diff --git a/litex_boards/targets/enclustra_mercury_kx2.py b/litex_boards/targets/enclustra_mercury_kx2.py index bdbb4a3..e9db55b 100755 --- a/litex_boards/targets/enclustra_mercury_kx2.py +++ b/litex_boards/targets/enclustra_mercury_kx2.py @@ -72,7 +72,7 @@ class BaseSoC(SoCCore): # Leds ------------------------------------------------------------------------------------- self.submodules.leds = LedChaser( - pads = Cat(*[platform.request("user_led", i) for i in range(4)]), + pads = platform.request_all("user_led"), sys_clk_freq = sys_clk_freq) # Build --------------------------------------------------------------------------------------------