Has anyone ported Python or PyMite on the Maple?
If so, any info. is appreciated.
Python on the Maple
(9 posts) (5 voices)-
Posted 5 years ago #
-
Hi andy!
We hacked around with this a bit, i'll ask okie if he ever had any success. I think the available memory is smaller than the recommended minimum, but it should be possible to get /something/ to run.
We've mostly punted on getting interactive environments running until we have the Maple Native, which will have a lot more RAM. We're very confident that both PyMite and eLua will run great on the Maple Native and we should write up HOWTOs for those languages. I'm pretty sure we can even get some flavor of embedded linux running, though a smaller RTOS would probably make more sense. First steps first though, we need to finish prototyping and get libmaple ported!
Posted 5 years ago # -
Quote: "I think the available memory is smaller than the recommended minimum"
PyMite is a flyweight Python interpreter written from scratch to execute on 8-bit and larger microcontrollers with resources as limited as 64 KiB of program memory (flash) and 4 KiB of RAM.
The Maple has 100K Flash and 17K RAM?
Posted 5 years ago # -
Its true, that sounds doable! I think there is also "python on a chip" which supports stm32, These two projects might be derived from one another. Python on Maple would also be very impressive. Weve been toying with the idea of building a python shield for maple, just for fun. Its a screen + keyboard jack + python interpreter. We already have the screen drivers and character map rendering from another project.
Posted 5 years ago # -
According to this, PyMite has turned into python-on-a-chip:
http://pymite.python-hosting.com/They are both lead by D W Hall.
We are interested in python-on-a-chip. It is one of the reasons we are interested in STM32F, and LPC17xx. I am busy doing stuff for an event in September, but may be interested in working on it. I think it's mainly building Python bindings to maple device libraries. If the mechanism described in the Python 2009 flashtalk is as straightforward as it looked, that should be very doable.
Posted 5 years ago # -
We might be interested in a 'dumb terminal' shield, with a screen and keyboard jack.
We might be even more interested in a bluetooth shield, or WiFi shield, if we can use a mobile phone or netbook as a terminal screen and keyboard.
I think the school kids I work with would be 'buzzed' if a mobile phone could act as a terminal. It might be funny to see what predictive text made of Python :-)
Posted 5 years ago # -
GB, I like your thinking! We've talked about a sort of terminal with a screen and a keypad/keyboard jack with a text editor and the Python interpreter since it was cold outside. Back then, the chip on Maple had the largest memory of what was available in that package and python-on-a-chip was too large to run on it. Now it looks like we're set to go. Using a phone as the screen/keyboard interface to the terminal would indeed be hot.
Posted 5 years ago # -
Friday silliness:
If the bluetooth shield could support *TWO* bluetooth connections, from two different mobile phones, then the kids could practice pair-programming! They'd have to agree on who can type as their would be two keyboards. They wouldn't even have to sit next to each other, they could chat over the phone, so they could practice pair-programming on the bus home, or even in lessons (only the ones where this was allowed, of course :-). They could break out from one python-on-a-chip collaboration and join another with a different friend whenever they wanted. Maybe it might be feasible to have voice-synthesisers on the phones, so the phones terminal app could read out the text for folks who may have difficulty seeing the screen.
So pair-programming in a mobile, distributed, collaborative, ad-hoc, social-networking, assistive environment, using inter-personal skills and empowerment through explotation of peer-group structures, and enhanced physical attributes, to resolve transient dead-lock. Bingo!!Posted 5 years ago # -
oh boy. Do i really want to support that? no. no i dont.
Posted 5 years ago #
Reply
You must log in to post.