From b804285f623db2c1e53271cb169687529e9f2b69 Mon Sep 17 00:00:00 2001 From: Evan Lojewski Date: Mon, 8 Feb 2021 22:38:35 -0700 Subject: [PATCH] kestrel: Allow the LPC clock mirror to be disabled in the platform file. --- litex_boards/targets/versa_ecp5.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/litex_boards/targets/versa_ecp5.py b/litex_boards/targets/versa_ecp5.py index 2cf0379..b43bacb 100755 --- a/litex_boards/targets/versa_ecp5.py +++ b/litex_boards/targets/versa_ecp5.py @@ -185,7 +185,10 @@ class BaseSoC(SoCCore): # Debug pad locator debug2_pads = platform.request("debug_port_2") - lpc_debug_mirror_clock_pad = platform.request("lpc_debug_mirror_clock") + try: + lpc_debug_mirror_clock_pad = platform.request("lpc_debug_mirror_clock") + except: + lpc_debug_mirror_clock_pad = Signal() # Host SPI Flash (Tercel core) ------------------------------------------------------------- if with_hostspiflash: -- 2.30.2