lvgl / lv_binding_micropython

LVGL binding for MicroPython
MIT License
237 stars 156 forks source link

lv_binding_micropython unix port error #287

Closed Pallasmanul closed 11 months ago

Pallasmanul commented 11 months ago

introduce the problem

I build unix port the master branch micropython and run a script , the error is lvgl module has no function sdl_windows_create(). this function lv_sdl_window_create can found in lvgl/src/dev/lv_sdl_window.c , and it build . but it not generated by gen_mpy.py the sdl_windows_create() can't found in lvgl_globals_table

Some Picture

屏幕截图 2023-07-31 145746 屏幕截图 2023-07-31 145016 屏幕截图 2023-07-31 145112 屏幕截图 2023-07-31 145135

Suggested solution

I guess it is the gen_mpy.py not identify the lvgl/src/dev/*.c file , so it not generate in lv_mpy.c .