Open gautam-dev-maker opened 2 years ago
@Jamm02 @ChinmayLonkar @Sidshx has anyone been assigned to take up this task? or should I assign one for this?
Picked up the task. @Premraj02 will be accompanying me.
@Sidshx any updates on the issue?
Started referring resources on u8g2 and lvgl library and getting acquainted with the Wall-E codebase. Will be sharing an implemented work update soon.
@Sidshx updates?
@Sidshx updates?
Imported and implemented the lvgl library, along with lvgl driver support for the esp-32. Configuration and hardware testing to be done at SRA tomorrow. Working with @Ayush-Kaura
Share results of application of the firmware
Basic Hello World Code is flashed from examples of lvgl on esp32
Bar for LSA Reading
Sample Image Display
the logo can still be made a bit smaller to fit in OLED
@Ayush-Kaura With next update also issue the draft PR for review.
Using LVGL v8.3, master branch had some api changes Files Modified: lv_conf.h for setting lvgl related options inside LVGL folder, lvgl_helpers.c driver for ssd1306, oled.c and main.c inside src, CMakeLists Link will open draft pr after some of below work done: https://github.com/Ayush-Kaura/sra-board-component/tree/lvgl_port
To-Do
Using LVGL v8.3, master branch had some api changes Files Modified: lv_conf.h for setting lvgl related options inside LVGL folder, lvgl_helpers.c driver for ssd1306, oled.c and main.c inside src, CMakeLists Link will open draft pr after some of below work done: https://github.com/Ayush-Kaura/sra-board-component/tree/lvgl_port
To-Do
- [ ] lvgl requires functions like lv_task_handler, lv_tick_inc
- [ ] overall functions structure in oled.c (function parameters to be passed)
- [ ] i2cdevlib for mpu and lvgl
We are already using i2devlib. Just check the source code. :)
@Ayush-Kaura I don't see the code used to display all these things in the fork.
We are already using i2devlib. Just check the source code. :)
Sorry I meant using the same for lvgl driver as done for u8g2 previously, so that we can use both mpu and oled together.
@Ayush-Kaura I don't see the code used to display all these things in the fork.
Added, https://github.com/Ayush-Kaura/sra-board-component/blob/lvgl_port/src/oled.c
We are already using i2devlib. Just check the source code. :)
Sorry I meant using the same for lvgl driver as done for u8g2 previously, so that we can use both mpu and oled together.
@Ayush-Kaura I don't see the code used to display all these things in the fork.
Added, https://github.com/Ayush-Kaura/sra-board-component/blob/lvgl_port/src/oled.c
Also include the updated examples/oled source.
Also include the updated examples/oled source.
https://github.com/Ayush-Kaura/sra-board-component/blob/lvgl_port/examples/oled/main/main.c
As discussed do the following changes:
GLOB
in CMakeLists.txt to add source files of LVGL instead of manually adding name of all filesi2c_dev_lib
and test with MPU6050 and OLED both together
lvgl library seems more industry standard than u8g2 library. So we should rewrite all our OLED wrappers in lvgl library.