GithubHelp home page GithubHelp logo

ILI9488 build error about lv_port_esp32 HOT 2 CLOSED

lvgl avatar lvgl commented on May 29, 2024
ILI9488 build error

from lv_port_esp32.

Comments (2)

persello avatar persello commented on May 29, 2024 1

It works, thanks!
image

from lv_port_esp32.

C47D avatar C47D commented on May 29, 2024

Thanks for the report @persello I will take a look at it.

I think the reason of the error is as you said the CONFIG_LVGL_DISPLAY_ORIENTATION_* option, it is not defined for the ILI9488 display

https://github.com/littlevgl/lv_port_esp32/blob/d124fe22a99580c47b7e45f449faf028390d4353/components/lvgl_esp32_drivers/lvgl_tft/Kconfig#L172-L186

So on the sh1107_set_px_cb function the byte_index and bit_index variables are not initialized nor assigned with a value because neither of the CONFIG_LVGL_DISPLAY_ORIENTATION_* symbols are defined, them are getting used later without a value assigned to them, that's the compilation error.

https://github.com/littlevgl/lv_port_esp32/blob/d124fe22a99580c47b7e45f449faf028390d4353/components/lvgl_esp32_drivers/lvgl_tft/sh1107.c#L116-L141

Could you please pull the fix_ili9488_orientation branch and test if it works for you?

Regards

from lv_port_esp32.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.