mirror of https://github.com/m-labs/artiq.git
kasli_generic: do not attempt to use SFP LED for RTIO on 2.0+
This commit is contained in:
parent
85b5a04acf
commit
2d1f1fff7f
|
@ -153,6 +153,7 @@ class GenericStandalone(StandaloneBase):
|
||||||
|
|
||||||
self.rtio_channels = []
|
self.rtio_channels = []
|
||||||
add_peripherals(self, description["peripherals"])
|
add_peripherals(self, description["peripherals"])
|
||||||
|
if hw_rev in ("v1.0", "v1.1"):
|
||||||
for i in (1, 2):
|
for i in (1, 2):
|
||||||
print("SFP LED at RTIO channel 0x{:06x}".format(len(self.rtio_channels)))
|
print("SFP LED at RTIO channel 0x{:06x}".format(len(self.rtio_channels)))
|
||||||
sfp_ctl = self.platform.request("sfp_ctl", i)
|
sfp_ctl = self.platform.request("sfp_ctl", i)
|
||||||
|
|
Loading…
Reference in New Issue