Re: Python for Embedded Devices?

Do you have a question? Post it now! No Registration Necessary

Translate This Thread From English to

Threaded View
Quoted text here. Click to load it


And no.  Yes, Python is certainly feasible for current
cellular telephones.  I don't see it poised for explo-
sive growth there, but neither for technical defects
nor because of any lack of good wishes on my part.  
'Twould thrill me to write more Python on embedded

The one point I'd emphasize when thinking about this
is that "embedded devices" covers a wide range, as I
believe you already know.  Some developers commonly
work with hardware that's far, far more constrained
than are cellular telephones; others, who also program
embedded devices, can't be distinguished from vanilla
Linux coders.


Re: Python for Embedded Devices? (Cameron Laird) wrote in message

Quoted text here. Click to load it

I am one such developer who works with very small systems: 8-bit
micros with under 128K flash and 4K RAM. I am keenly interested in
Python or some other similar langauge that would run on such hardware.
'C' is the usual language for such environments, but I believe that,
in many cases, using a dynamic and 'object-able' language would reduce
development time and improve product quality significantly.

I've looked at Io, Lua, PyMite and Pippy, to name a few, and none are
quite appropriate. Io is perhaps the closest match, if it were
stripped down a lot.

I have been tinkering around with some ideas to make a new language to
fit the environment I deal with. This is slow work, as I haven't a lot
of time to spend on it, and I am not a language design expert, but I'm
having fun with it!

Re: Python for Embedded Devices?
Hello Phil,

Quoted text here. Click to load it
Have you looked at tinyscheme? It a full scheme interpreter in one C file.

Quoted text here. Click to load it
Maybe you can work with Fredrik Lundh on Pytte ( )


Re: Python for Embedded Devices?
Hash: SHA1

Quoted text here. Click to load it

( )

Thanks for this link. There's nothing to download there, unfortunately. :^(

Something else that's interesting for embedded devices is an environment for
working in Python and generating the RTOS:

"WhatOS is a free open source embedded system development solution. It
provides a complete set of tools for creating high-quality, reliable embedded
systems. These include: a real-time operating system (RTOS) generator, a
simulator for testing and debugging generated systems, and tools for
interacting with systems remotely after they have been embedded."

- --
Nicola Larosa -

"I am afraid that if the United States had to live by the [monetary]
rules that are imposed on, say, Brazil, the USA would become a
developing country in one generation. It's the system that is
currently unstable, unfair and not working." -- Bernard Lietaer

Version: GnuPG v1.2.3 (GNU/Linux)


Re: Python for Embedded Devices?
What about cases where the OS shields you from porting issues?

This is a question which interests me at the moment, as I'm
considering some future embedded work.

Python is available as a package for NetBSD. To what extent
does this mean that, if you can install NetBSD, you can run
a Python interpreter? celebrates the fact that it targets
SBCs and some handheld devices.

Has anyone out there any experience of Python on NetBSD on embedded platforms?

Here's hoping,


Re: Python for Embedded Devices?
Quoted text here. Click to load it
I'm quite confident that a good NetBSD installation will be
able to run (core) Python nicely.  Was that your question?
While I haven't used NetBSD myself on any interesting hard-
ware, all my experience tells me the combination will be


Re: Python for Embedded Devices?
Quoted text here. Click to load it

Would you be willing to spend a sentence or two describing what basic
problems you feel each of those has for your application?


Site Timeline