mentby.com
Blog | Jobs | Help | Signup | Login

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 Sun, 04 Mar 2012 03:02:41 -0800

Justin Drake, 04.03.2012 11:58:

The "without operating system" bit should prove problematic. Can't you just
install Linux on it?

Stefan


Stefan Behnel Sun, 04 Mar 2012 05:04:25 -0800

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


Devin Jeanpierre Sun, 04 Mar 2012 05:44:04 -0800

The python-on-a-chip project (p14p) ( http://code.google.com/p/python-on-a-chip/ )
might be something worth looking into.

Thanks,
Duane


TheSeeker Sun, 04 Mar 2012 05:59:41 -0800

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.


88888 Dihedral Sun, 04 Mar 2012 18:17:49 -0800

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.


Dan Stromberg Sun, 04 Mar 2012 18:24:38 -0800



Related Topics

Post a Comment