v923z / micropython-ulab

a numpy-like fast vector module for micropython, circuitpython, and their derivatives
https://micropython-ulab.readthedocs.io/en/latest
MIT License
432 stars 117 forks source link

Instructions for adding ulab to Lego Spike Prime #523

Closed nw0428 closed 1 year ago

nw0428 commented 2 years ago

I am trying to add ulab to Lego's spike prime product. This should be possible because it uses an STM32F413. Is it possible to compile and add ulab without flashing the entire system?

v923z commented 2 years ago

No, I don't think so. ulab is tightly integrated into the micropython firmware. It is really not like python on a PC, where you can install arbitrary libraries after the fact. I know that there are plans for making micropython more modular in this regard, but I have no idea, where those plans stand.

But why is compilation and flashing a problem?

v923z commented 1 year ago

Since there hasn't been any traffic on this thread for a while, and since this is not really a ulab issue, closing now.