MicroPython for LEON

MicroPython is a lean and efficient implementation of the Python 3 programming language that includes a small subset of the Python standard library and is optimised to run on microcontrollers and in constrained environments. One of its aims is to bring the Python high-level scripting language to low-level and embedded control systems. It was developed from scratch by Damien George (using crowd-funding) and is available under the MIT Open Source license.

MicroPython has been ported to LEON on top of RTEMS 4.8. The following aspects have been taken into account for the porting activity: optimization of resources, deterministic and bounded use of resources, interface with the Operating System, interface with C code, and concurrency and multitasking. The supported Python version is 3.4 and the number of language features is very high (most of the language, classes, exceptions, etc.). The port to RTEMS includes a Python rtems module which gives access to commonly used RTEMS services such as message queues and semaphores.

At today this is a prototype activity. No official validation has been performed. Use under your own risk.

Updated on: 09/01/2017
Created on: 27/07/2016
Owner: George Robotics LTD
Tags: Python LEON


Add a comment

Contact Project Owner