There are two steps:
- Make FT81x compile and link in lv_micropython esp32 port.
You can either change esp32 Makefile to include the driver sources, or just copy them somewhere under lvgl/src/ directory. - Register
FT81x_init
andFT81x_flush
as Micropython functions. The quickest way would be to includeFT81x.h
inlvgl.h
or one of its included headers (such aslv_conf.h
).
That would make them available under the lvgl module.
How far did you get?