The Micro Python project

details

The Micro Python project

upython-with-micro

 

This is the Micro Python project, which aims to put an implementation of Python 3.x on a micro-controller.

Micro Python implements the entire Python 3.4 syntax (including exceptions, “with”, “yield from”, etc.). The following core datatypes are provided: str (no Unicode support yet), bytes, bytearray, tuple, list, dict, set, array.array, collections.namedtuple, classes and instances. Builtin modules include sys, time, and struct. Note that only subset of Python 3.4 functionality implemented for the data types and modules.

Major components in this repository:

– py/ — the core Python implementation, including compiler and runtime.
– unix/ — a version of Micro Python that runs on Unix.
– stmhal/ — a version of Micro Python that runs on the Micro Python board
with an STM32F405RG (using ST’s Cube HAL drivers).
– teensy/ — a version of Micro Python that runs on the Teensy 3.1
(preliminary but functional).

Additional components:
– bare-arm/ — a bare minimum version of Micro Python for ARM MCUs. Start
with this if you want to port Micro Python to another microcontroller.
– unix-cpy/ — a version of Micro Python that outputs bytecode (for testing).
– tests/ — test framework and test scripts.
– tools/ — various tools, including the pyboard.py module.
– examples/ — a few example Python scripts.

“make” is used to build the components, or “gmake” on BSD-based systems.
You will also need bash and Python (at least 2.7 or 3.3).

 

SOURCE: Githhub

 

The Micro Python project

upython-with-micro

 

This is the Micro Python project, which aims to put an implementation of Python 3.x on a micro-controller.

Micro Python implements the entire Python 3.4 syntax (including exceptions, “with”, “yield from”, etc.). The following core datatypes are provided: str (no Unicode support yet), bytes, bytearray, tuple, list, dict, set, array.array, collections.namedtuple, classes and instances. Builtin modules include sys, time, and struct. Note that only subset of Python 3.4 functionality implemented for the data types and modules.

Major components in this repository:

– py/ — the core Python implementation, including compiler and runtime.
– unix/ — a version of Micro Python that runs on Unix.
– stmhal/ — a version of Micro Python that runs on the Micro Python board
with an STM32F405RG (using ST’s Cube HAL drivers).
– teensy/ — a version of Micro Python that runs on the Teensy 3.1
(preliminary but functional).

Additional components:
– bare-arm/ — a bare minimum version of Micro Python for ARM MCUs. Start
with this if you want to port Micro Python to another microcontroller.
– unix-cpy/ — a version of Micro Python that outputs bytecode (for testing).
– tests/ — test framework and test scripts.
– tools/ — various tools, including the pyboard.py module.
– examples/ — a few example Python scripts.

“make” is used to build the components, or “gmake” on BSD-based systems.
You will also need bash and Python (at least 2.7 or 3.3).

 

SOURCE: Githhub

 

COMMENTS

Please Login to comment
  Subscribe  
Notify of