Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop branch is broken? disp_driver_init is not called anywhere? #179

Open
richardclli opened this issue Feb 9, 2022 · 3 comments
Open

Comments

@richardclli
Copy link

Seems the develop branch is not working now. Need any help to speed up coding? I can offer some help. Need to know what should I do next.

@richardclli richardclli changed the title Develop branch is broken? disp_driver_init is not used anywhere? Develop branch is broken? disp_driver_init is not called anywhere? Feb 9, 2022
@C47D
Copy link
Collaborator

C47D commented Feb 9, 2022

See fc81c6d, in devel you need to call the display driver init yourself, and pass a pointer to the registered lv_disp_drv_t

@richardclli
Copy link
Author

I noticed this already, the README mentioned the need to call lvgl_interface_init for spi/i2c init and lvgl_display_gpios_init for gpio init, but not mentioned anything about disp_driver_init and cannot found anything in the examples as well. I managed to call disp_driver_init in my main.c, and finally got the LCD to show something.

@arktrin
Copy link
Contributor

arktrin commented Feb 10, 2022

cannot found anything in the examples

You may try to find working examples here: https://github.com/lvgl/lv_port_esp32/tree/feat/new_driver_test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants