diff --git a/litex_boards/platforms/lattice_certuspro_nx_evn.py b/litex_boards/platforms/lattice_certuspro_nx_evn.py index 4977ce6..7537ac5 100644 --- a/litex_boards/platforms/lattice_certuspro_nx_evn.py +++ b/litex_boards/platforms/lattice_certuspro_nx_evn.py @@ -136,6 +136,7 @@ class Platform(LatticeNexusPlatform): def __init__(self, device="LFCPNX", toolchain="radiant", **kwargs): assert device in ["LFCPNX"] LatticeNexusPlatform.__init__(self, device + "-100-9LFG672C", _io, _connectors, toolchain=toolchain, **kwargs) + self.add_platform_command("ldc_set_sysconfig {{MASTER_SPI_PORT=SERIAL}}") # Evaluation mode (with free license) self.toolchain.set_prj_strategy_opts({"bit_ip_eval": "true"}) diff --git a/litex_boards/platforms/lattice_certuspro_nx_vvml.py b/litex_boards/platforms/lattice_certuspro_nx_vvml.py index 3c0dd11..a8d236d 100644 --- a/litex_boards/platforms/lattice_certuspro_nx_vvml.py +++ b/litex_boards/platforms/lattice_certuspro_nx_vvml.py @@ -109,6 +109,7 @@ class Platform(LatticeNexusPlatform): def __init__(self, device="LFCPNX", toolchain="radiant", **kwargs): assert device in ["LFCPNX"] LatticeNexusPlatform.__init__(self, device + "-100-9BBG484I", _io, _connectors, toolchain=toolchain, **kwargs) + self.add_platform_command("ldc_set_sysconfig {{MASTER_SPI_PORT=SERIAL}}") # Evaluation mode (with free license) self.toolchain.set_prj_strategy_opts({"bit_ip_eval": "true"}) diff --git a/litex_boards/targets/lattice_certuspro_nx_evn.py b/litex_boards/targets/lattice_certuspro_nx_evn.py index 60fdc1c..454e3b5 100755 --- a/litex_boards/targets/lattice_certuspro_nx_evn.py +++ b/litex_boards/targets/lattice_certuspro_nx_evn.py @@ -60,7 +60,6 @@ class BaseSoC(SoCCore): with_led_chaser = True, **kwargs): platform = lattice_certuspro_nx_evn.Platform(toolchain=toolchain) - platform.add_platform_command("ldc_set_sysconfig {{MASTER_SPI_PORT=SERIAL}}") # CRG -------------------------------------------------------------------------------------- self.crg = _CRG(platform, sys_clk_freq) diff --git a/litex_boards/targets/lattice_certuspro_nx_vvml.py b/litex_boards/targets/lattice_certuspro_nx_vvml.py index 19cda8d..7d85e3c 100755 --- a/litex_boards/targets/lattice_certuspro_nx_vvml.py +++ b/litex_boards/targets/lattice_certuspro_nx_vvml.py @@ -60,7 +60,6 @@ class BaseSoC(SoCCore): with_led_chaser = True, **kwargs): platform = lattice_certuspro_nx_vvml.Platform(toolchain=toolchain) - platform.add_platform_command("ldc_set_sysconfig {{MASTER_SPI_PORT=SERIAL}}") # CRG -------------------------------------------------------------------------------------- self.crg = _CRG(platform, sys_clk_freq)