m5stack / uiflow-micropython

uiflow micropython project
https://uiflow2.m5stack.com
MIT License
58 stars 28 forks source link

Installing third-party libraries with UIFlow IDE #29

Open MaxRondelli opened 2 months ago

MaxRondelli commented 2 months ago

Hi there,

I am using a M5Stack Gray with ESP32 core on flow web IDE. The connection and firmware installation were successful.

Due to the aim of my project, I need some third-party libraries, such as Numpy (which can be ulab for micropython) and TensorFlowLite, to import and interpreter my ML model.

Is there a way of doing that? Is there a way to import the modules necessary?

Thank you for your time.

lbuque commented 1 month ago

@MaxRondelli Dynamic loading of C modules is not supported. All the third-party libraries you mentioned need to compile their C source code into the firmware.