diff --git a/litex_boards/targets/camlink_4k.py b/litex_boards/targets/camlink_4k.py index 6bcee443..12233f58 100755 --- a/litex_boards/targets/camlink_4k.py +++ b/litex_boards/targets/camlink_4k.py @@ -104,10 +104,11 @@ class BaseSoC(SoCCore): ) # Leds ------------------------------------------------------------------------------------- - self.submodules.leds = LedChaser( - pads = platform.request_all("user_led"), - sys_clk_freq = sys_clk_freq) - self.add_csr("leds") + if platform.lookup_request("serial", loose=True) is None: # Disable leds when serial is used. + self.submodules.leds = LedChaser( + pads = platform.request_all("user_led"), + sys_clk_freq = sys_clk_freq) + self.add_csr("leds") # Build --------------------------------------------------------------------------------------------