Python for embedded devices?

M

Malte Forkel

I would like to use Python on a router, an Edimax BR-6104K, running OpenWrt (http://www.openwrt.org). While I probably won't need most of the fancier stuff in Python, serial I/O and threads should be supported.

The router is based on the ADM5120P, has 2MB of flash and 16MB of RAM, so the version of Python 2.5.1 that is part of OpenWrt is probably a litte to big.

Any suggestions?

Thanks in advance,
Malte
 
G

Grant Edwards

I would like to use Python on a router, an Edimax BR-6104K,
running OpenWrt (http://www.openwrt.org). While I probably
won't need most of the fancier stuff in Python, serial I/O and
threads should be supported.

The router is based on the ADM5120P, has 2MB of flash and 16MB
of RAM, so the version of Python 2.5.1 that is part of OpenWrt
is probably a litte to big.

Once upon a time there was a project called "deeply embedded
python" that consisted of a drastically stripped down version
of 1.5.1 that was intended to run on things like old PDAs
running PalmOS. That project has been dormant for quite a
while, but it's the only thing I know of that might be relevant.

http://www.tucs.fi/magazin/output.php?ID=2000.N2.LilDeEmPy
http://mail.python.org/pipermail/python-announce-list/1999-August/000157.html

I'm not sure if those two links refer to the a same project
or not...
 
P

Paul Boddie

I would like to use Python on a router, an Edimax BR-6104K, running OpenWrt (http://www.openwrt.org). While I probably won't need most of the fancier stuff in Python, serial I/O and threads should be supported.

The router is based on the ADM5120P, has 2MB of flash and 16MB of RAM, so the version of Python 2.5.1 that is part of OpenWrt is probably a litte to big.

Any suggestions?

As always, the Python Wiki might offer some suggestions:

http://wiki.python.org/moin/EmbeddedPython

Paul
 
P

Paul Rubin

Malte Forkel said:
I would like to use Python on a router, an Edimax BR-6104K, running
OpenWrt (http://www.openwrt.org). While I probably won't need most
of the fancier stuff in Python, serial I/O and threads should be
supported.

I think I'd look for a smaller language like Hedgehog Lisp, or maybe
Lua, assuming you're trying to just do simple scripting.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top