By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,173 Members | 796 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,173 IT Pros & Developers. It's quick & easy.

Python for embedded devices?

P: n/a
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
Share this Question
Share on Google+
3 Replies


P: n/a
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

P: n/a
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

P: n/a
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.