https://github.com/imyller/meta-micropython
OpenEmbedded layer for MicroPython
https://github.com/imyller/meta-micropython
Last synced: 11 months ago
JSON representation
OpenEmbedded layer for MicroPython
- Host: GitHub
- URL: https://github.com/imyller/meta-micropython
- Owner: imyller
- License: mit
- Created: 2016-03-29T20:27:56.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2021-05-08T12:59:19.000Z (about 5 years ago)
- Last Synced: 2023-08-13T08:01:11.595Z (almost 3 years ago)
- Language: BitBake
- Homepage:
- Size: 8.79 KB
- Stars: 6
- Watchers: 1
- Forks: 10
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
meta-micropython
================
OpenEmbedded layer for [MicroPython](https://micropython.org/ "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:
```shell
bitbake micropython
```
### MicroPython as a dependency
Add MicroPython as a dependency in recipe with `RDEPENDS` (for runtime) or `DEPENDS` (for build):
```bitbake
DEPENDS += " micropython"
RDEPENDS_${PN} += " micropython"
```