I am working with an ARM Cortex M3 on which I need to port Python
(without operating system). What would be my best approach? I just
need the core Python and basic I/O.
Justin Drake, 04.03.2012 11:58:
The "without operating system" bit should prove problematic. Can't you just
install Linux on it?
Stefan
How much time are you willing to budget to this? Porting something to
bare metal is not a small task. It's probably only worth it if you're
doing it for academic purposes. I expect for anything real-world it'd
be faster to do whatever it is you want to do using something that
already runs on the bare metal. (e.g. http://armpit.sourceforge.net/
for Scheme).
There used to be Flux OSKit ( http://www.cs.utah.edu/flux/oskit/ ) for
porting languages to bare metal, but it doesn't support ARM and it's
been dead a while. If you're really set on this, I'd try to see if
there's something similar out there, somewhere. 'cause writing an OS
from scratch would suck.
-- Devin
The python-on-a-chip project (p14p) ( http://code.google.com/p/python-on-a-chip/ )
might be something worth looking into.
Thanks,
Duane
Sounds like the JVM law suites in ANDROINDS did stimulate a lot jobs
to use other VM-BYTECODE based programming languages.
I suggest that one can use tiny linux or MU-linux which is even smaller than Linux and then install a slimmer customized python not the same as the fatter one used in PC.
You might check out pymite. http://wiki.python.org/moin/PyMite Oh, but
I'm now realizing that's part of the python on a chip project, so in a way
it's already been mentioned.
Anyway, PyMite, I gather, is a tiny python for microcontrollers.