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

Adding support for freestanding arm targets (for embedded development) #175

Open
protos-gunzinger opened this issue Apr 22, 2024 · 0 comments

Comments

@protos-gunzinger
Copy link

Hello and first of thank you for this awesome toolchain!

In order to use this zig toolchain approach for embedded development it would be very helpful to be able to target arm-none-eabi, or I guess in zig targets arm-freestanding-eabi.

I see arm has Tier 1 support in the zig ecosystem: https://ziglang.org/download/0.11.0/release-notes.html#Tier-1-Support

I have then downloaded the zig 0.11 toolchain and ensured that the abi and cpus which would be targeted have support via the output of zig targets; support for the abi eabi and the target processors in my case (cortex_m4 and cortex_m7) is present.

I looked through the addition of the wasm target: #165 and the current codebase to see what would need to be done.

Are there any plans to add support for arm and/or freestanding targets?

Are the wrappers strictly necessary or would it be feasible to skip using the wrappers in order to be able to specify more targets such as arm-freestanding-eabi with different values for -mcpu?

Thank you in advance,
Daniel Gunzinger

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

1 participant