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

Any plans to support 32bit ARM targets #58

Open
klvnptr opened this issue Jan 3, 2023 · 5 comments
Open

Any plans to support 32bit ARM targets #58

klvnptr opened this issue Jan 3, 2023 · 5 comments

Comments

@klvnptr
Copy link

klvnptr commented Jan 3, 2023

Hey. Awesome project. Quick question: Do you have any plans to support 32bit targets? Would be awesome to use bflat with low-cost MCUs. Thanks. Peter

@voronoipotato
Copy link

voronoipotato commented Jan 3, 2023

If that's out of reach I wonder if a LLVM target would get you there.

@klvnptr
Copy link
Author

klvnptr commented Jan 3, 2023

thanks for the feedback @voronoipotato LLVM target would be the best, so ppl could cross-compile to any targets. maybe there is a plan for LLVM IR target ? :)

@voronoipotato
Copy link

@MichalStrehovsky
Copy link
Member

ARM32 should be doable, it used to work with NativeAOT but might have bitrotted a bit. dotnet/runtime#69739 (comment) mentions adding this upstream; I don't think there's a dedicated issue.

Once upstream has it, I can pick that up here. Otherwise extending architecture reach beyond what NativeAOT supports is out of scope for bflat. I don't have the kind of time for it (bflat is a side project that I spent ~2 hours a week on for a couple months and I don't plan to increase the commitment beyond that - just keep up with upstream and sometimes add something interesting with a good bang for the buck).

@snikeguo
Copy link

I have ported clrGC to STM32.
It is very difficult to port native aot runtime to STM32.
I implemented “ Try Catch" in bare metal.
image

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

4 participants