Skip to content

Latest commit

 

History

History
54 lines (34 loc) · 967 Bytes

README.md

File metadata and controls

54 lines (34 loc) · 967 Bytes

meta-micropython

OpenEmbedded layer for MicroPython.

MicroPython is a lean and fast implementation of the Python 3 programming language that is optimised to run on embedded systems.

Available versions

MicroPython

  • 1.x

MicroPython-lib

  • 1.x

Available MicroPython core packages

  • micropython
  • micropython-native
  • micropython-lib
  • micropython-lib-native

Installation

Add meta-micropython layer to EXTRALAYERS in conf/bblayers.conf. For example:

```
	EXTRALAYERS +=" \
		${TOPDIR}/sources/meta-micropython \
	"
```

Usage

Building MicroPython Packages

To build latest MicroPython package:

	bitbake micropython

MicroPython as a dependency

Add MicroPython as a dependency in recipe with RDEPENDS (for runtime) or DEPENDS (for build):

	DEPENDS += " micropython"
	RDEPENDS_${PN} += " micropython"