MicroPython (GRPL-uPython) is a rewrite of the Python 3.4 programming language tailored for STM32 devices. It offers on-chip compiler, virtual machine and runtime to enable the rapid prototyping of applications. Extension modules provide direct access to the peripherals of the STM32 device. Custom components written in C or C++ can easily be integrated.
The pyboard reference development board is a small form-factor electronic circuit board based on a STM32F405 running MicroPython on the bare metal. The STM32 peripherals are exposed via a set of Python functions and classes.
Several STM32 Nucleo boards and STM32 Discovery kits are supported by MicroPython.
The high-level scripting language allows quick prototyping on MicroPython-based STM32 boards. RAM usage (especially the heap) is minimized. Migration from dynamic scripts is first enabled to pre-compiled bytecode and further to frozen bytecode where execution happens from flash. Computationally expensive application components can be migrated to C or C++ called from the Python code for performance optimization.
MicroPython is as compatible as possible with standard Python so that code and knowledge transfer from a desktop-based to an MCU-based embedded system is made easy.
MicroPython is supplied by a third party not affiliated to ST. For complete and latest information, refer to the third party website http://micropython.org/stm32/.
Key Features
Part Number | Manufacturer | Description |
---|---|---|
32F411EDISCOVERY | ST | Discovery kit with STM32F411VE MCU |
32F429IDISCOVERY | ST | Discovery kit with STM32F429ZI MCU * New order code |
32F746GDISCOVERY | ST | Discovery kit with STM32F746NG MCU |
32L476GDISCOVERY | ST | Discovery kit with STM32L476VG MCU |
NUCLEO-F401RE | ST | STM32 Nucleo-64 development board with STM32F401RE MCU, supports Arduino and ST morpho connectivity |
NUCLEO-F411RE | ST | STM32 Nucleo-64 development board with STM32F411RE MCU, supports Arduino and ST morpho connectivity |
STM32F4DISCOVERY | ST | Discovery kit with STM32F407VG MCU * New order code |
Part Number | Software Version | Supplier |
---|---|---|
GRPL-uPython | George Robotics Pty Ltd |