You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Good evening,
Similar to some other issues reported and feedback regarding PlatformIO - I would absolutely prefer to use this IDE over Arduino, but for now, I'm trying to get your example demos to compile and display. I am not new to LVGL, but am new to this specific display and I have trouble getting it to compile and initialize LVGL. Once that occurs, I will be completely fine as I can create the LVGL objects/screens/etc and handle the gesture events, etc. I've always struggled to get the initial source code set up for new devices/displays.
I created a new sketch in ArduinoIDE and saved it. I used your example code from the readme.
I then went to the library manager and added the waveshare_ST7262_LVGL inch which under 'more info' links back here - https://github.com/iamfaraz/Waveshare_ST7262_LVGL . This seemed to install all necessary dependencies as you have that in your library.json file.
I navigated to my documents/arduino/libraries and copied the LVGL directories of demo and example from their current structure to the ./src directory per your instructions.
Restarted ArduinoIDE to be safe.
From your example code on the readme, I then uncommented out the "#include <examples/lv_examples.h>" and attempted to compile.
The code is massive in comparison to other devices I have dealt with. Even with commenting out the example and demo includes, it's 60% of 8Mb. Any idea how to reduce that? I would love to be able to simply load the necessary drivers for the display and touch chips and then initialize the LVGL library.
I also put in a pull request to correct the ESP_IO_EXPANDER_I2C_CH422G_ADDRESS - please accept
The text was updated successfully, but these errors were encountered:
Good evening,
Similar to some other issues reported and feedback regarding PlatformIO - I would absolutely prefer to use this IDE over Arduino, but for now, I'm trying to get your example demos to compile and display. I am not new to LVGL, but am new to this specific display and I have trouble getting it to compile and initialize LVGL. Once that occurs, I will be completely fine as I can create the LVGL objects/screens/etc and handle the gesture events, etc. I've always struggled to get the initial source code set up for new devices/displays.
The code is massive in comparison to other devices I have dealt with. Even with commenting out the example and demo includes, it's 60% of 8Mb. Any idea how to reduce that? I would love to be able to simply load the necessary drivers for the display and touch chips and then initialize the LVGL library.
I also put in a pull request to correct the ESP_IO_EXPANDER_I2C_CH422G_ADDRESS - please accept
The text was updated successfully, but these errors were encountered: