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

APIs that didnt port well to multi-ness #2

Open
guruofquality opened this issue Jun 12, 2016 · 1 comment
Open

APIs that didnt port well to multi-ness #2

guruofquality opened this issue Jun 12, 2016 · 1 comment
Labels

Comments

@guruofquality
Copy link
Contributor

  • channel api -
    • frontend mapping - made the format a comma separated list. Not so bad, and this probably works for anyone using it - probably ok
  • clock api -
    • clock rate api - sets the same rate to all devices -- probably ok
    • clock source api - no way to set source differently on different devices. A possible workaround might be to use comma separation like the frontend mapping.
  • time api -
    • time source api - no way to set source differently on different devices. A possible workaround might be to use comma separation like the frontend mapping.
  • register api -
    • read/write register does not specify a device -- this call is deprecated and has been replaced by a named version which will support multiple devices -- probably ok
  • i2c and spi api - does not specify a specific bank, this api does not support multiple banks, let alone multiple devices. Probably needs named banks just like uarts, gpio, and the new register api
@guruofquality
Copy link
Contributor Author

Created csv parser to use comma separate string for time and clock source as well as frontend mappings, this covers most important aspects of the multi-wrapper because we do need the time and clock part supported. HW interface wrappers probably dont matter here, but we can bank-ify them in the future API.

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

No branches or pull requests

1 participant