Porting Python to an embedded system

前端 未结 6 1940
渐次进展
渐次进展 2021-02-05 05:28

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.

6条回答
  •  Happy的楠姐
    2021-02-05 05:49

    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.

提交回复
热议问题