-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Hi. This is a fascinating project, great job!
The announcement video mentioned that right now one needs to rebuild entire MicroPython to use this module, which can be a bit tedious/tricky.
As you may be aware, MicroPython has support for building modules that can be packed into .mpy files and installed at runtime using mip install.
https://docs.micropython.org/en/latest/develop/natmod.html
This would make it considerably easier for people to get started. The support has improved a lot over the last year, though it still has some rough edges. More projects using this functionality would help further improve this unique and very nice feature of MicroPython.
To be applicable in practice it would probably be necessary to split into multiple independent modules, so that people can install and load only what they need.
It is possible to support both styles of building with the same code. I do this in emlearn-micropython, a Machine Learning package for MicroPython. Example: https://github.com/emlearn/emlearn-micropython/blob/master/src/emlearn_iir/iir_filter.c