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

No API for getting a simuart device instance? #348

Open
richardxia opened this issue Oct 2, 2020 · 1 comment
Open

No API for getting a simuart device instance? #348

richardxia opened this issue Oct 2, 2020 · 1 comment

Comments

@richardxia
Copy link
Member

I'm a little unsure about whether a simuart is meant to be an implementation of a uart or if it is meant to be a distinct device type.

If a simuart is meant to be an implementation of a uart, then it it seems that the metal_uart_get_device() function does not search through the __metal_simuart_table for instances of simuarts.

If simuart is meant to be its own device type, then there is no metal_simuart_get_device() function that allows you to query for instances of simuarts.

@nategraff-sifive
Copy link
Contributor

This will be fixed with freedom-metal-next.

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

No branches or pull requests

2 participants