Python – Porting Python to an embedded system

embeddedpython

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.

Best Answer

Golly, that's kind of a tall order. There are so many services of a kernel that Python depends upon, and that you'd have to provide yourself. I'd think you'd be far better off looking for a lightweight OS -- maybe Minix 3? -- to put on your embedded processor.

Failing that, I'd be horribly tempted to think about hand-translating to C and building the essentials on that.