-
Notifications
You must be signed in to change notification settings - Fork 201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Impossibility of using spare Urukul alongside with SUServo #2309
Comments
To work around this, you can make a subclass of Of course, we should implement a workaround like that upstream as well (including integration with the JSON machinery which we are not using yet). |
Just posting more detailed workaround.
from artiq.coredevice.urukul import CPLD
class CPLD2(CPLD):
pass
device_db["urukulX_cpld"] = {
"type": "local",
"module": "device_db", # switch module to look for to this device_db file
"class": "CPLD2", # use child class
"arguments": {
.... # remain as it was
}
} For example, if |
Update for those on NixOS with ARTIQ installed as a system package: you'll need to add the target directory with the dummy module to the module search path with either way:
|
@thomasfire please fix things properly instead of piling up workarounds. How many times did I tell you? |
Bug Report
One-Line Summary
Combining Urukul with and without SUServo in the same configuration result in compiler error when trying to use both.
Issue Details
Steps to Reproduce
Expected Behavior
Every part of the code works fine without errors.
Actual (undesired) Behavior
Your System (omit irrelevant parts)
The text was updated successfully, but these errors were encountered: