Open TsXor opened 1 year ago
Just compiled like regular mpy, don't know how it is different in lvgl. This module runs as expected in build without lvgl.
Hi @TsXor !
It's a bit hard for me to say what is the problem by reading your code.
I don't know what you are trying to do, or how you configured / changed / built the project etc.
If I could reproduce your problem on my side maybe I could help.
Please provide:
Hi @TsXor !
It's a bit hard for me to say what is the problem by reading your code. I don't know what you are trying to do, or how you configured / changed / built the project etc. If I could reproduce your problem on my side maybe I could help.
Please provide:
* [**Minimal, Reproducible Example**](https://stackoverflow.com/help/minimal-reproducible-example) for your problem. Please try to remove any line of code that is irrelevant to the problem. * All the details for how you configure and build the project * Step by step all the commands you run until your see this problem
The code I posted is almost reproducible. You just have to compile it as a dynamic module with a proper Makefile
like any of the ones in examples/natmod/
Here is the full thing. Just clone this folder and run make
inside it (you may need to compile mpy-cross
first)
After building it, you just put it in the /lib
folder and import it like:
from bisect import bisect_left
I can almost say that it is mp_obj_subscr
that go wrong.
error:
that line:
bisect.c