kdschlosser / lvgl_micropython

LVGL module for MicroPython
MIT License
42 stars 11 forks source link

ESP32 compilation error #68

Open ikkesia opened 4 days ago

ikkesia commented 4 days ago

python make.py esp32 clean submodules mpy_cross BOARD=ESP32_GENERIC DISPLAY=ili9341 INDEV=xpt2046

/Users/tbe/esp/lvgl_micropython/lib/micropython/ports/esp32/machine_hw_spi.c: In function 'machine_hw_spi_bus_initilize':
/Users/tbe/esp/lvgl_micropython/lib/micropython/ports/esp32/machine_hw_spi.c:465:9: error: 'self' undeclared (first use in this function)
465 |     if (self->host == SPI2_HOST) {
|         ^~~~
/Users/tbe/esp/lvgl_micropython/lib/micropython/ports/esp32/machine_hw_spi.c:465:9: note: each undeclared identifier is reported only once for each function it appears in
[1295/1890] Building C object esp-idf/main_esp32/CMakeFiles/__idf_main_esp32.dir/Users/tbe/esp/lvgl_micropython/lib/micropython/lib/littlefs/lfs2.c.obj
ninja: build stopped: subcommand failed.
kdschlosser commented 3 days ago

Please read.. https://github.com/kdschlosser/lvgl_micropython/discussions/69