Skip to content
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

Decouple pin direction overrides, XDRs, etc from request() #458

Open
whitequark opened this issue Jul 31, 2020 · 0 comments
Open

Decouple pin direction overrides, XDRs, etc from request() #458

whitequark opened this issue Jul 31, 2020 · 0 comments

Comments

@whitequark
Copy link
Member

whitequark commented Jul 31, 2020

Right now, platform.request() must include every parameter with which the IO buffers will be instantiated. This is unfortunate, because the act of calling platform.request() with a specific name is firmly in the domain of user code, but everything else is just as firmly in the domain of library (peripheral) code.

@jeanthom has hit this in Gram (#413). @ktemkin also hit this in LUNA. It is certain that most advanced peripherals (XDR>0, anything with IOB instances) will also hit this. We should do something about it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant