Skip to content

Intended way of including python libraries (frozen) in the build... #9381

Discussion options

You must be logged in to vote

Are the manifest files used for this?

Yes. The idea is that you can write your own manifest.py (which lives outside the main repo, in your own repo ideally) and then pass that to the build with make BOARD=... FROZEN_MANIFEST=...path....

Your custom manifest is free to use any of the base ones by include()-ing the port or board manifests.

The next step up is to define your own custom board definition (which sounds like might be useful to you if you're building a custom board) which lets you configure much more (via a custom mpconfigboard.cmake and mpconfigboard.h). These also can live in your own repo. See https://github.com/micropython/micropython-example-boards

(This is a bit of an FAQ…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@puppet13th
Comment options

Answer selected by synco
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants