-
Notifications
You must be signed in to change notification settings - Fork 164
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
Update LVGL, fix display drivers and examples #298
Update LVGL, fix display drivers and examples #298
Conversation
b006197
to
e65f338
Compare
Rebased to 14058be |
e65f338
to
1d038ad
Compare
Rebased branch to |
1d038ad
to
47244e0
Compare
Please squash merge this PR |
@kisvegabor , @XuNeo Other topic: |
Thank you yo much for that! It would really help a lot. I'm not sure if you meant like that, but to work more effectively I can grant you write access to both Micropython repos. What do you think? |
Hello! What do you think on my other question/request: merge A 3rd topic would be to have same contributing guidelines for these MicroPython repos just like for LVGL: issue/PR templates and commit message format. |
Write permission granted for both repos! Thank you for your help!
I do agree to merge the
I also agree. I think following LVGL's templates and rules is a good starting point. IMO the READMEs could be clean up as well and move the technical data to MicroPython's docs page. |
greetings! GC9A01 display needs 'swap_rgb565_bytes=True' option for proper color display. |
Fixed in a new commit |
45ef4b2
to
6c5328d
Compare
* fix tests * update LV_GC... defintions * add guard around LV_USE_TINY_TTF in lv_conf.h * update lvgl * fix LV_USE_TINY_TTF redefintion * disable LV_USE_FS_STDIO * fix include path in MP ESP32 port * disable the unused fonts * Use lv_global_t as gc root * Expose mp_lv_roots directly with LV_GLOBAL_CUSTOM * Align lv_conf.h. Fix examples * Bump LVGL submodule Needed for lv_is_initialized fix * update lvgl and the examples * stm32 driver: replace LV_INDEV_STATE_PR/REL with LV_INDEV_STATE_PRESSED/RELEASED * update lvgl and fix png example * follow lvgl changes * esp32 driver: rename disp to display * update lvgl and lv_conf.h * Update LVGL and fix binding for multi-instance and parallel rendering architecture changes * Fix MICROPY_ config overrides * Enable File Explorer widget * Update LVGL * Update lv_conf.h from latest LVGL config template * Fix lv_conf.h macro closing issue * enable lv_observer * follow LVGL changes * follow LVGL changes * update lvgl * update LVGL * update LVGL * update lvgl * update lvgl * update lvgl * refactor(event): add _cb postfix to lv_obj_add_event() * update lvgl * update lvgl * fix lv_conf.h * fix lv_conf.h * update lv_conf.h * remove 'always_zero' from image header Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com> * use MICROPY_LV_USE_LOG to disable logs * udpate lvgl * disable logging for now * enable MONTSERRAT_24 * fix(script): take forwarded declaration into consideration Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com> * fix(script): fix CI break Should not sanitize the decl name that C struct uses. Only sanitize what python will use. Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com> * Update LVGL, fix display drivers and examples (#298) * Update LVGL and fix pixel size detection * Update lv_conf.h * Fix ili9xxx and st7xx color format NATIVE_REVERSED * Fix display drivers * Enable font Dejavu 16 persian hebrew * Enable TinyTTF * Enable IME Pinyin * Enable File Explorer * Fix GC9A01 display driver, and update LVGL config file * Update LVGL * Update ili9xxx, st77xx drivers and examples, remove lv.COLOR_DEPTH (#312) * Update LVGL and display drivers * Update LVGL and display drivers * Update LVGL config: add ThorVG flags * Update LVGL * Fix examples to align to LVGL changes * Fix examples to align to LVGL changes - 2 * Update LVGL config (#319) * fix CI break by disabling LV_USE_LOG Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com> * fix(ci): temporarily disable LOG to make LVGL's CI pass See https://github.com/lvgl/lvgl/actions/runs/7581068036/job/20647980102?pr=5393 * update lvgl * Update LVGL (#321) --------- Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com> Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com> Co-authored-by: Amir Gonnen <amirgonnen@gmail.com> Co-authored-by: embeddedt <42941056+embeddedt@users.noreply.github.com> Co-authored-by: Xu Xingliang <xuxingliang@xiaomi.com>
feat/multi-instance
branch commit #56bf132dlv_conf.h
config file to latest LVGL config changes (based onlv_conf_template.h
)lv.COLOR_DEPTH
instead oflv.color_t.__SIZE__
to detect real pixel sizeNATIVE_REVERSED
, use instead RGB565 swap bytes function (lv_draw_sw_rgb565_swap
)gen_mpy.py
file. Related issue: couple of errors in gen_mpy.py code #251README.md
file: Micropython -> MicroPythonPS:
this PR contains fixed (old) display drivers. I think it will be sufficient till the new display driver approach is finished (see: https://forum.lvgl.io/t/micropython-display-drivers-part-2/14131/9 )