Skip to content

forward attributes through singleton!() #521

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

Closed
jordens opened this issue Apr 2, 2024 · 0 comments · Fixed by #522
Closed

forward attributes through singleton!() #521

jordens opened this issue Apr 2, 2024 · 0 comments · Fixed by #522

Comments

@jordens
Copy link
Contributor

jordens commented Apr 2, 2024

Especially for DMA buffers correct placement in dedicated linker section and memories is crucial (e.g. ethernet dma descriptor rings). It would be great if singleton!() would support attaching attributes.

jordens added a commit to quartiq/cortex-m that referenced this issue Apr 2, 2024
This only works in the long form with a named variable because of
constraints on where the `vis` metavariable can be used.

close rust-embedded#521
jordens added a commit to quartiq/cortex-m that referenced this issue Apr 2, 2024
This only works in the long form with a named variable because of
constraints on where the `vis` metavariable can be used.

close rust-embedded#521
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

Successfully merging a pull request may close this issue.

1 participant