This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: python?


On Sat, 2003-03-08 at 23:09, Shannon Holland wrote:
> Has anyone looked at porting python to ecos? I'm interested in using it 
> for some quick prototyping, but am not really sure how much work it 
> would be or how viable it would be on my target system (am switching 
> from the at91 to the Sharp LH79520 with 32Mb of ram - mostly for the 
> built-in lcd support).

I have done this in the past (and actually, I'm playing with the
latest Python on eCos at the moment).  It's a non-trivial experience.
As mentioned previously, Python is very file oriented, so you need
a file system of some sort.  It's also not small - the version I've
been experimenting with is pretty big (which means ethernet downloading
is pretty much a necessity):
[gthomas at hermes Python-2.3a2]$ powerpc-eabi-size python 
   text    data     bss     dec     hex filename
1244460 1576988  701564 3523012  35c1c4 python

What sort of "prototyping" did you have in mind?  
What kind of functionality were you expecting to utilize?

BTW - I sent this reply using Python running on an embedded PowerPC
system running eCos :-)

> 
> Now I guess my first problem is getting ecos to run on the sharp chip...

Indeed - start with this :-)

-- 
.--------------------------------------------------------.
|       Mind: Embedded Linux and eCos Development        |
|--------------------------------------------------------|
| Gary Thomas              email:  gary dot thomas at mind dot be   |
| Mind ( http://mind.be )  tel:    +1 (970) 229-1963     |
| gpg: http://www.chez-thomas.org/gary/gpg_key.asc       |
'--------------------------------------------------------'

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]