Porting Pyro to micropython
Frédéric <[email protected]> Mon, 17 Feb 2014 12:59:23 +0100
| Newsgroups | gmane.comp.python.pyro |
|---|---|
| Message-ID | <[email protected]> |
Hi there,
Some years ago (back to 2003), I started a software based on Pyro to
control a big instrument, in a french research institute (ILL¹).
This software is split in 3 parts: a Pyro server is running on an embedded
system (VME card running linux), where we wrote some low-level task to
drive the instrument. On a desktop computer, we wrote another Pyro server,
which is itself a client of the embedded Pyro server; this second server
implements high level tasks, and is itself used by clients which send
commands, and receive results. These clients are mainly console oriented,
based on ipython.
This software is still running fine for all these years, almost 24/7/365:
Pyro was a really good choice :o)
I recently discovered a great project: micropython². It is a python
interpreter for micro-controller (stm32f4xx). This project is amazing! I
ordered 4 boards (not yet delivered, as Damien, the developer, is still
working on it), and I will use them to replace my Arduino boards ;o)
So, why not porting Pyro to micropython? This would be great to be able to
write low-level code on the pyboard, which has limited ressources, and is
more I/O oriented, and then have a higher-level code running on a
desktop-like computer. Mostly what we did to drive our intruments ;o)
The question is: can Pyro run on micropython? I don't think it is possible
to port the complete server code, but having some basic Pyro core running
should be great, even if we don't maintain compatibility with official
Pyro project ; some fork would be OK too.
What do you think? I already have a non-official board running micropython
(STM32F4-Discovery), so I can start making some tests. Where should I
start? Which part of the code should I dig into?
Thanks for you help,
¹ http://www.ill.eu
² http://www.micropython.org
PS: as micropython implements python3 language, I guess it is better to
use Pyro4.
--
Frédéric
------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience. Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
Pyro-core mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyro-core