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

Aligned grants #89

Open
Fabien-Chouteau opened this issue Apr 14, 2021 · 1 comment
Open

Aligned grants #89

Fabien-Chouteau opened this issue Apr 14, 2021 · 1 comment

Comments

@Fabien-Chouteau
Copy link

Hello here,

I was trying to use my SPARK implementation of bbqueue in a USB stack but I realized that it would not work with the internal DMA of the USB Device controller (samd51) because the addresses have to be 4 bytes aligned.

I think it should be possible to add alignment constraints to the framed implementation buy adding padding header length, I'd like to have your opinion on this.

@jamesmunns
Copy link
Owner

Hi Fabien, That sounds reasonable, and I agree using the "framed" construction (or at least a similar approach) would be the most reasonable way to achieve this.

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