I was looking for Python modules for embedded systems, and I have found the following website: http://elk.informatik.fh-augsburg.de/da/da-49/ In the subdirectory http://elk.informatik.fh-augsburg.de/da/da-49/trees/pyap7k/lang/ there is a lot of GPL-ed code which may be used to interface Python to different I/O interfaces in embedded systems. I've managed to succesfully integrate the py-spi module with buildroot and to use it for prototyping of spidev communicating code in my AT91SAM9260 based board. I hope, that the above info may be also useful for someone else... -- Regards, WZab

Python packages for embedded systems
Started by ●November 13, 2010
Reply by ●November 14, 20102010-11-14
My code using the py-spi module mentioned in the previous post is available in alt.sources (subject "Python code for RFM70 transceivers connected as spidev", news:<slrnidvosv.lsa.wzab@wzab.nasz.dom> , or http://groups.google.com/group/alt.sources/msg/d6e0525ca00f9801?dmode=source ) -- HTH & Regards, WZab
Reply by ●November 15, 20102010-11-15
On 11/13/2010 8:08 AM, wzab wrote:> I was looking for Python modules for embedded systems, > and I have found the following website: > http://elk.informatik.fh-augsburg.de/da/da-49/ > In the subdirectory > http://elk.informatik.fh-augsburg.de/da/da-49/trees/pyap7k/lang/ > there is a lot of GPL-ed code which may be used to interface Python > to different I/O interfaces in embedded systems. > I've managed to succesfully integrate the py-spi module with buildroot > and to use it for prototyping of spidev communicating code in my > AT91SAM9260 based board. > > I hope, that the above info may be also useful for someone else...Any kind of benchmarks on that? Memory and/or execution speed? I'm actually quite a fan of Python, and use it for lots of scripting tasks on my multicore, multi-GHz desktop, but it seems like an _enormous_ amount of bloat for an embedded system. Unless, of course, embedded system means multicore, multi-GHz PC104 card. -- Rob Gaddi, Highland Technology Email address is currently out of order
Reply by ●November 16, 20102010-11-16
On 16/11/2010 3:16 AM, Rob Gaddi wrote: .......>> I hope, that the above info may be also useful for someone else... > > Any kind of benchmarks on that? Memory and/or execution speed? I'm actually quite a fan of Python, and use it for lots of scripting tasks on my multicore, multi-GHz desktop, but it seems like an _enormous_ amount of bloat for an embedded system. > > Unless, of course, embedded system means multicore, multi-GHz PC104 card. >Telit GPS/3G modems use Python scripting and it seems to work ok Tom
Reply by ●December 15, 20102010-12-15
On Nov 14, 8:30=A0am, wzab <wza...@gmail.com> wrote:> My code using the py-spi module mentioned in the previous post is > available > in alt.sources (subject "Python code for RFM70 transceivers connected > as spidev", > <news:slrnidvosv.lsa.wzab@wzab.nasz.dom> , > orhttp://groups.google.com/group/alt.sources/msg/d6e0525ca00f9801?dmode..=.> ) > -- > HTH & Regards, > WZabHi wzab, I also have the RFM70. Do you find it weird that the bank1 registers switch from MSB to LSB as the first byte over spi?
