-
-
Notifications
You must be signed in to change notification settings - Fork 55
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
Additional platforms: autodetect, Sunton-8048S070, Lilygo T-Display S3, M5Stack Core2 and CoreS3 plus some more #45
base: master
Are you sure you want to change the base?
Conversation
tested with glass version followed https://github.com/Ozhvankov/ESP32-TUX support for HMI 3248S035
for CONFIG_TUX_DEVICE_LILYGO_T_DISPLAY_S3_CAP
interestingly the change makes no difference for idf5.1.1 but is required for the platformio build to succeed
this board needs some fiddling with Kconfig parameters see these threads: https://forum.lvgl.io/t/display-glitching-while-connecting-to-wifi-esp32s3-8048s043/12075/38 https://espressif-docs.readthedocs-hosted.com/projects/esp-faq/en/latest/software-framework/peripherals/lcd.html#why-do-i-get-drift-overall-drift-of-the-display-when-driving-an-rgb-lcd-screen
this - among others - covers the M5Stack cores3
using TFT_WIDTH/TFT_HEIGHT conflicts with autodetect
… and Lilygo T-Display S3
Looks interesting. I am aware of LovyanGFX autodetect. Had a plan to rewrite the project with few other things in mind. Got busy after that. |
resolutions: I decided to take a break from Arduino hell and used your project as a nontrivial ESP-IDF learning example, and for exploring LovyanGFX I'm looking forward to the lv_observer pattern, that should simplfiy things significantly if you want to take the PR further - I'm on board we can also leave the PR as an inspiration for latecomers |
Thanks for the update. I saw you have started playing with lv_observer pattern. Once that's done, I also have to update the web installer. Not sure you got a chance to check the web installer. |
Hi Sukesh, so I'll not be going for an observer rewrite - to the contrary I'd be curious how you go about it as there are next to no examples ATM go for a develop branch and I'll keep an eye & comment I think one of the more interesting aspects of lv_observer is that you can factor out instantiable components whose only link to the rest of the code are subjects one such candidate would be the battery icon I'm doing one here (singleton) for my learning curve: https://github.com/mhaberler/arduino3-playground/blob/lvgl8-observer/test-ui/custom/ui_compass.c - taken from https://github.com/bareboat-necessities/bbn-m5stack-tough/blob/main/bbn_m5tough_active_boat/ui_compass.h |
using LovyanGFX autodetection brings in a whole range of platforms, eg M5Stack Core2 and CoreS3, and probably lots of others
orientation and x/y vs y/x might need some love
upgraded to LovyanGFX/develop and lvgl 8.3.10
I've thrown in a platformio.ini config
tested with IDF 5.1.1
interested?
Michael