sukesh-ak / ESP32-TUX

ESP32-TUX - ESP32 / ESP32-XX Touch UX Template using LVGL to get you started
https://tux.sukesh.me
MIT License
237 stars 56 forks source link

Undefined reference to demo in app_main #52

Closed Ciberfete closed 9 months ago

Ciberfete commented 9 months ago

Hello, and thanks for the repository. Going through the code I tried to comment and compile the code without the user interface to understand the most of it.

While all my tests for LovyanGFX worked with no issues, I cannot yet make a simple test for lvgl within the project.

  1. I imported the necessary files such as "lv_demos.h" or "lv_examples.h" to 'main.hpp', 'main. cpp' and 'helper_display.hpp'.
  2. I modified the lv_conf.h from the main and just in case from the components/lvgl to allow the use and build of examples and demos.

I'm testing using:

WT32-SC013.5 and SC01 Plus 3.5. IDF v5.1.2

Is there any reason why I can't test lvgl demos and examples in this project?

Thanks in advance

sukesh-ak commented 9 months ago

If you are looking to test lvgl there are several samples on my repo already https://github.com/sukesh-ak?tab=repositories&q=lvgl&type=&language=&sort=

ESP32-TUX is made as a template, not sure what you are trying to do. Though copy pasting should work if you understand the flow.

You can also check my gist for easy samples here https://gist.github.com/sukesh-ak