moninj: add fastino support

This commit is contained in:
Simon Renblad 2024-07-16 13:14:36 +08:00 committed by Sébastien Bourdeauducq
parent bd3bcbce64
commit ee3d93ce6a
1 changed files with 6 additions and 0 deletions

View File

@ -416,6 +416,12 @@ def setup_from_ddb(ddb):
widget = _WidgetDesc((k, channel), comment, _DACWidget,
(spi_channel, channel, k, vref, offset_dacs))
description.add(widget)
elif (v["module"] == "artiq.coredevice.fastino" and v["class"] == "Fastino"):
bus_channel = v["arguments"]["channel"]
for channel in range(0, 32):
widget = _WidgetDesc((k, channel), comment, _DACWidget,
(bus_channel, channel, k, 5, 8192))
description.add(widget)
elif v["type"] == "controller" and k == "core_moninj":
mi_addr = v["host"]
mi_port = v.get("port_proxy", 1383)