Skip to content
Torwag edited this page Dec 30, 2013 · 26 revisions

Welcome to the micropython wiki!

Introduction

This is the Micro Python project, which puts an implementation of Python 3.x on a microcontroller. The project also includes a small microcontroller board based around the STM32F405RG.

###What is Micro Python

The Kickstarter board

The board relies on a 32 bit ARM Cortex M4 CPU (STM32F405RG, DSP with FPU,1 Mbyte Flash, 168 MHz). Technical data on the chip can be found here: STMicroelectronics website and the datasheet can be found here: datasheet

###Other hardware targets Future releases of micropython will support other microcontrollers and microcontroller families as well as dedicated third-party boards.

###The pyb module This module allows access to the internal peripherals of the microcontroller chip. Initially, the 405RG chip noted above will be supported. Support for different microcontrollers are will be added in future releases. More information on the exposed functionality can be found here: pyb module

Current Limitations

Not the entire set of standard python libraries is supported. This is simply due to the inapplicability of a module for an embedded controller. High memory consumption (e.g. sqlite3) or a total lack of a certain required hardware feature (e.g. multiprocessing) are reasons that some modules can not be implemented for microcontrollers. Nevertheless the full list list of standard python libraries can be found here: Python 3.3 standard lib

Modules which will (at the moment) NOT be covered in micropython are:

  • dbm
  • sqlite3
  • threading
  • multiprocessing

Clone this wiki locally