471,337 Members | 1,162 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,337 software developers and data experts.

Python for embedded devices?

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

Nov 19 '07 #1
3 1733
On 2007-11-19, Malte Forkel <ma**********@berlin.dewrote:
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.ph...0.N2.LilDeEmPy
http://mail.python.org/pipermail/pyt...st/000157.html

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

--
Grant Edwards grante Yow! What a COINCIDENCE!
at I'm an authorized "SNOOTS
visi.com OF THE STARS" dealer!!
Nov 19 '07 #2
On 19 Nov, 18:17, Malte Forkel <malte.for...@berlin.dewrote:
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
Nov 19 '07 #3
Malte Forkel <ma**********@berlin.dewrites:
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.
Nov 20 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by John Benson | last post: by
12 posts views Thread by Brandon | last post: by
217 posts views Thread by gyromagnetic | last post: by
34 posts views Thread by Ville Voipio | last post: by
30 posts views Thread by Stuart Turner | last post: by
reply views Thread by Nick White [MSFT] | last post: by
4 posts views Thread by Gerardo Herzig | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.