How to run lvgl/micropython on RPI Zero - Driver missing?

Description

Im trying to use lvgl as my gui for shpi(~wall mount rpi zero with a display)
The Display driver or parts of it seem to be missing (lv.disp_buf_init() does not exist)
Shouldn’t there already be sdl drivers available (for the simulator eg)?
What am i missing?

What MCU/Processor/Board and compiler are you using?

Raspberry pi Zero/W

What do you want to achieve?

Draw anything to connected display

What have you tried so far?

Compiled lvgl as described on github.com/lvgl/lv_micropython

Code to reproduce

import SDL
SDL.init()
disp_buf1 = lv.disp_buf_t()
buf1_1 = bytearray(480*10)
lv.disp_buf_init(disp_buf1,buf1_1, None, len(buf1_1)//4)```

File "test.py", line 11, in <module>
AttributeError: 'module' object has no attribute 'disp_buf_init'

One of the changes on version 7 is moving global functions into their respective structs.

In this case, try

disp_buf1.init(buf1_1, None, len(buf1_1)//4)

Thx!
If somebody else finds this post: use examples directly from the source (those are already updated)

I’ve updated the example code in the README.