-
Notifications
You must be signed in to change notification settings - Fork 23
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
Can port to ARM? #14
Comments
Yeah its a work in progress for BBC Micro:bit (which is based on ARM Cortex-M0)! |
The mentionned port is in progress on #25 |
Hi there, OMicroB seems to be my last hope in trying to cross-compile OCaml code to their bare-metal architecture... Thanks in advance! |
Hi @Naereen, this is an interesting questions. However, this might not give you exactly what you're looking for: from looking at the discuss post, it seems that you want an embedded interpreter à-la MicroPython. OMicroB is not that, its a runtime environment for OCaml bytecode (embedded in the program). To get what you want, you would need to add a parser and compiler for OCaml expressions, and connect the virtual machine to its output. Since the OCaml compiler is itself written in OCaml, you could probably execute it (or a simplified version of it) using OMicroB. Then, the remaining question is "is 256kb of RAM enough to run the OCaml compiler in OMicroB" ? Since 256kb is way more than what we had to work with until now, I would say this is worth a try. Overall, I think this would require a bit of effort, but would be quite a fun project, which I would like to participate in, so let me know if you want to go further with it :) |
Hi @Vertmo and thanks for your quick reply. |
No description provided.
The text was updated successfully, but these errors were encountered: