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

Compiler warnings/errors on alignment of structs #25

Open
erlingrj opened this issue Oct 1, 2024 · 0 comments
Open

Compiler warnings/errors on alignment of structs #25

erlingrj opened this issue Oct 1, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@erlingrj
Copy link
Collaborator

erlingrj commented Oct 1, 2024

When compiling for embedded (RIOT and Zephyr), the compilers complain about our casting from one pointer type to another. This was solved by adding __attribute__(aligned(32)) on some of the structs. This wastes memory and I believe it should not be necessary. But this should be explored further

@erlingrj erlingrj added the enhancement New feature or request label Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant