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

toolchain: Add assembly-side counterpart of __aligned #85758

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hIAhmad
Copy link
Contributor

@hIAhmad hIAhmad commented Feb 13, 2025

Zephyr toolchain abstraction provides a macro __aligned(x) to add specified alignment, in bytes, to a chosen symbol for C/C++ source files but there is no portable counterpart available for symbols defined in assembly source files. This change-set adds a new macro BALIGN(x) for this purpose.

@zephyrbot zephyrbot added the area: Toolchains Toolchains label Feb 13, 2025
@hIAhmad hIAhmad force-pushed the portable_balign branch 2 times, most recently from 1d5070c to 4260068 Compare February 14, 2025 00:50
Zephyr toolchain abstraction provides a macro __aligned(x) to add specified
alignment, in bytes, to a chosen symbol for C/C++ source files but there is
no portable counterpart available for symbols defined in assembly source
files. This change-set adds a new macro BALIGN(x) for this purpose.

Signed-off-by: Irfan Ahmad <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants